/** # __----~~~~~~~~~~~------___ # . . ~~//====...... __--~ ~~ # -. \_|// |||\\ ~~~~~~::::... /~ # ___-==_ _-~o~ \/ ||| \\ _/~~- # __---~~~.==~||\=_ -_--~/_-~|- |\\ \\ _/~ # _-~~ .=~ | \\-_ '-~7 /- / || \ / # .~ .~ | \\ -_ / /- / || \ / # / ____ / | \\ ~-_/ /|- _/ .|| \ / # |~~ ~~|--~~~~--_ \ ~==-/ | \~--===~~ .\ # ' ~-| /| |-~\~~ __--~~ # |-~~-_/ | | ~\_ _-~ /\ # / \ \__ \/~ \__ # _--~ _/ | .-~~____--~-/ ~~==. # ((->/~ '.|||' -_| ~~-/ , . _|| # -_ ~\ ~~---l__i__i__i--~~_/ # _-~-__ ~) \--______________--~~ # //.-~~~-~_--~- |-------~~~~~~~~ # //.-~~~--\ # 神兽保佑 # 永无BUG! */ package com.nanjing.water.service.convert; import com.nanjing.water.entity.request.quartztaskrecord.ReqCreateQuartzTaskRecord; import com.nanjing.water.entity.request.quartztaskrecord.ReqModifyQuartzTaskRecord; import com.nanjing.water.repository.po.QuartzTaskRecordPO; import com.nanjing.water.repository.vo.QuartzTaskRecordVO; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; import java.util.List; /** * 定时任务执行记录 * @author {#=author} * @description 定时任务执行记录 */ @Mapper public interface QuartzTaskRecordConvert { QuartzTaskRecordConvert INSTANCE = Mappers.getMapper(QuartzTaskRecordConvert.class); QuartzTaskRecordPO toCreate(ReqCreateQuartzTaskRecord request); QuartzTaskRecordPO toModify(ReqModifyQuartzTaskRecord request); QuartzTaskRecordVO toVo(QuartzTaskRecordPO item); List toVo(List list); }