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