/** # __----~~~~~~~~~~~------___ # . . ~~//====...... __--~ ~~ # -. \_|// |||\\ ~~~~~~::::... /~ # ___-==_ _-~o~ \/ ||| \\ _/~~- # __---~~~.==~||\=_ -_--~/_-~|- |\\ \\ _/~ # _-~~ .=~ | \\-_ '-~7 /- / || \ / # .~ .~ | \\ -_ / /- / || \ / # / ____ / | \\ ~-_/ /|- _/ .|| \ / # |~~ ~~|--~~~~--_ \ ~==-/ | \~--===~~ .\ # ' ~-| /| |-~\~~ __--~~ # |-~~-_/ | | ~\_ _-~ /\ # / \ \__ \/~ \__ # _--~ _/ | .-~~____--~-/ ~~==. # ((->/~ '.|||' -_| ~~-/ , . _|| # -_ ~\ ~~---l__i__i__i--~~_/ # _-~-__ ~) \--______________--~~ # //.-~~~-~_--~- |-------~~~~~~~~ # //.-~~~--\ # 神兽保佑 # 永无BUG! */ package com.lunhan.xxx.service.convert; import com.lunhan.xxx.entity.request.quartztaskerror.ReqCreateQuartzTaskError; import com.lunhan.xxx.entity.request.quartztaskerror.ReqModifyQuartzTaskError; import com.lunhan.xxx.repository.po.QuartzTaskErrorPO; import com.lunhan.xxx.repository.vo.QuartzTaskErrorVO; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; import java.util.List; /** * 定时任务错误信息 * @author {#=author} * @description 定时任务错误信息 */ @Mapper public interface QuartzTaskErrorConvert { QuartzTaskErrorConvert INSTANCE = Mappers.getMapper(QuartzTaskErrorConvert.class); QuartzTaskErrorPO toCreate(ReqCreateQuartzTaskError request); QuartzTaskErrorPO toModify(ReqModifyQuartzTaskError request); QuartzTaskErrorVO toVo(QuartzTaskErrorPO item); List toVo(List list); }