Browse Source

生成项目交付范围代码调整

linhuili 2 years ago
parent
commit
a926b6b195

+ 3 - 0
dmp-business/dmp-rwd/src/main/java/com/persagy/dmp/rwd/delivery/service/impl/ObjectTypeCollectServiceImpl.java

@@ -296,6 +296,7 @@ public class ObjectTypeCollectServiceImpl extends ServiceImpl<ObjectTypeCollectM
                 log.info("BOSS项目范围交付:交付类型不在BDTP标准交付范围内:{}"+classCode);
                 continue;
             }
+            typeCollect.setGroupCode(deliveryPlan.getGroupCode());
             typeCollect.setProjectId(deliveryPlan.getProjectId());
             typeCollect.setIsDelivery(1);
             content.add(typeCollect);
@@ -327,6 +328,7 @@ public class ObjectTypeCollectServiceImpl extends ServiceImpl<ObjectTypeCollectM
                 continue;
             }
             infoCollectList.forEach(item->{
+                item.setGroupCode(deliveryPlan.getGroupCode());
                 item.setProjectId(deliveryPlan.getProjectId());
                 item.setIsDelivery(true);
                 content.add(item);
@@ -368,6 +370,7 @@ public class ObjectTypeCollectServiceImpl extends ServiceImpl<ObjectTypeCollectM
             relCollect.setSourceTypeCodes(sourceTypeCodes);
             relCollect.setEndTypeCodes(endTypeCodes);
             //设置项目信息
+            relCollect.setGroupCode(relDefineCollectList.get(0).getGroupCode());
             relCollect.setProjectId(relDefineCollectList.get(0).getProjectId());
             result.add(relCollect);
         }

+ 3 - 0
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/dto/DeliveryPlanDTO.java

@@ -12,6 +12,9 @@ import lombok.Data;
 @Data
 public class DeliveryPlanDTO {
 
+    /** 集团编码 */
+    private String groupCode;
+
     /** 项目ID */
     private String projectId;