LLL 1 年之前
父节点
当前提交
9efa60f91a

+ 20 - 0
module_kzks/src/main/java/org/jeecg/modules/projectPushList/convert/ProjectPushListConvert.java

@@ -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);
+}