|
@@ -0,0 +1,20 @@
|
|
|
+package org.jeecg.modules.projectPushList.convert;
|
|
|
+
|
|
|
+import org.jeecg.modules.projectCost.entity.ProjectCost;
|
|
|
+import org.jeecg.modules.projectPushList.entity.ProjectPushList;
|
|
|
+import org.jeecg.modules.projectPushSet.entity.ProjectPushSet;
|
|
|
+import org.mapstruct.Mapper;
|
|
|
+import org.mapstruct.Mapping;
|
|
|
+import org.mapstruct.ReportingPolicy;
|
|
|
+import org.mapstruct.factory.Mappers;
|
|
|
+import org.springframework.util.CollectionUtils;
|
|
|
+
|
|
|
+import java.util.stream.Collectors;
|
|
|
+
|
|
|
+@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE,imports ={ CollectionUtils.class, Collectors.class})
|
|
|
+public interface ProjectPushListConvert {
|
|
|
+
|
|
|
+ ProjectPushListConvert INSTANCE = Mappers.getMapper(ProjectPushListConvert .class);
|
|
|
+
|
|
|
+ ProjectPushList toProjectPushList(String taskno, String taskname,String pushSetId, String pushTo,String content);
|
|
|
+}
|