Переглянути джерело

外部报验功能,构件去重后构件id无法拆分

wangming 1 рік тому
батько
коміт
2fd18c74b9

+ 3 - 3
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxOutsideInspectionItpServiceImpl.java

@@ -62,7 +62,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
             return ;
         }
 
-        String[] structureIds = itpDo.getStructureid().split(",");
+//        String[] structureIds = itpDo.getStructureid().split(",");
 
         List<ZhcxOutsideInspectionItpDo> insertList = new ArrayList<>();
         List<ZhcxOutsideInspectionItpDo> updateList = new ArrayList<>();
@@ -83,7 +83,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
                     itpDo.setStructurename(structurNames[m]);
                     itpDo.setInspectioncontent(inspectionContent);
                     itpDo.setInspectioncode(code);
-                    itpDo.setStructureid(structureIds[m]);
+//                    itpDo.setStructureid(structureIds[m]);
                     updateList.add(itpDo);
                     continue;
                 }
@@ -94,7 +94,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
                 entity.setInspectioncontent(inspectionContent);
                 entity.setId(SecurityUtil.getUUID());
                 entity.setInspectioncode(code);
-                entity.setStructureid(structureIds[m]);
+//                entity.setStructureid(structureIds[m]);
                 insertList.add(entity);
                 newItpIdList.add(entity.getId());