|
@@ -106,7 +106,7 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
zEngineeringInfoBo1.setInferiorSulcus(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.inferiorSulcus.name()));
|
|
zEngineeringInfoBo1.setInferiorSulcus(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.inferiorSulcus.name()));
|
|
zEngineeringInfoBo1.setConstructionRecords(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.constructionRecords.name()));
|
|
zEngineeringInfoBo1.setConstructionRecords(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.constructionRecords.name()));
|
|
zEngineeringInfoBo1.setOnTheDitch(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.onTheDitch.name()));
|
|
zEngineeringInfoBo1.setOnTheDitch(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.onTheDitch.name()));
|
|
- // 市政施工 start
|
|
|
|
|
|
+ // 市政施工-查询 start
|
|
/*
|
|
/*
|
|
// 市政施工-沟上施工 焊接
|
|
// 市政施工-沟上施工 焊接
|
|
welding,
|
|
welding,
|
|
@@ -124,7 +124,30 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
zEngineeringInfoBo1.setPiping(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.piping.name()));
|
|
zEngineeringInfoBo1.setPiping(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.piping.name()));
|
|
zEngineeringInfoBo1.setWarning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.warning.name()));
|
|
zEngineeringInfoBo1.setWarning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.warning.name()));
|
|
zEngineeringInfoBo1.setBackfilling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.backfilling.name()));
|
|
zEngineeringInfoBo1.setBackfilling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.backfilling.name()));
|
|
- // 市政施工 end
|
|
|
|
|
|
+ // 市政施工-查询 end
|
|
|
|
+
|
|
|
|
+ // 带气封堵施工-查询 start
|
|
|
|
+ zEngineeringInfoBo1.setPeSaddleWelding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peSaddleWelding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeAirtightTest(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peAirtightTest.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeHolesOpening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peHolesOpening.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeCleaning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peCleaning.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPePlugging(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.pePlugging.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeCollisionOperating(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peCollisionOperating.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeAirrecovering(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peAirrecovering.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeHomeworkDone(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peHomeworkDone.name()));
|
|
|
|
+
|
|
|
|
+ zEngineeringInfoBo1.setIronPipelineThickness(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironPipelineThickness.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIron4Welding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.iron4Welding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronBypassWelding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironBypassWelding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronHolesOpening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironHolesOpening.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronCleaning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironCleaning.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronNitrogenPurging(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironNitrogenPurging.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronPipelineReplacing(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironPipelineReplacing.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronLowerEndCap(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironLowerEndCap.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronHomeworkDone(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironHomeworkDone.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIron4Aczoiling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.iron4Aczoiling.name()));
|
|
|
|
+ // 市政施工-查询 end
|
|
|
|
+
|
|
// bo.setId(item.getId());
|
|
// bo.setId(item.getId());
|
|
ZEngineeringReviewBo zEngineeringReviewbo = izEngineeringReviewService.query(bo);
|
|
ZEngineeringReviewBo zEngineeringReviewbo = izEngineeringReviewService.query(bo);
|
|
zEngineeringInfoBo1.setzEngineeringReviewBo(zEngineeringReviewbo);
|
|
zEngineeringInfoBo1.setzEngineeringReviewBo(zEngineeringReviewbo);
|
|
@@ -169,6 +192,38 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
zEngineeringInfoBo1.setConstructionRecords(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.constructionRecords.name()));
|
|
zEngineeringInfoBo1.setConstructionRecords(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.constructionRecords.name()));
|
|
zEngineeringInfoBo1.setOnTheDitch(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.onTheDitch.name()));
|
|
zEngineeringInfoBo1.setOnTheDitch(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.onTheDitch.name()));
|
|
// bo.setId(item.getId());
|
|
// bo.setId(item.getId());
|
|
|
|
+ // 批量审核 start
|
|
|
|
+ // 市政施工-查询 start
|
|
|
|
+ zEngineeringInfoBo1.setWelding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.welding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setAczoiling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.aczoiling.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPiping(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.piping.name()));
|
|
|
|
+ zEngineeringInfoBo1.setWarning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.warning.name()));
|
|
|
|
+ zEngineeringInfoBo1.setBackfilling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.backfilling.name()));
|
|
|
|
+ // 市政施工-查询 end
|
|
|
|
+
|
|
|
|
+ // 带气封堵施工-查询 start
|
|
|
|
+ zEngineeringInfoBo1.setPeSaddleWelding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peSaddleWelding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeAirtightTest(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peAirtightTest.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeHolesOpening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peHolesOpening.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeCleaning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peCleaning.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPePlugging(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.pePlugging.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeCollisionOperating(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peCollisionOperating.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeAirrecovering(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peAirrecovering.name()));
|
|
|
|
+ zEngineeringInfoBo1.setPeHomeworkDone(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.peHomeworkDone.name()));
|
|
|
|
+
|
|
|
|
+ zEngineeringInfoBo1.setIronPipelineThickness(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironPipelineThickness.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIron4Welding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.iron4Welding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronBypassWelding(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironBypassWelding.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronHolesOpening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironHolesOpening.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronCleaning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironCleaning.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronNitrogenPurging(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironNitrogenPurging.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronPipelineReplacing(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironPipelineReplacing.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronLowerEndCap(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironLowerEndCap.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIronHomeworkDone(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironHomeworkDone.name()));
|
|
|
|
+ zEngineeringInfoBo1.setIron4Aczoiling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.iron4Aczoiling.name()));
|
|
|
|
+ // 市政施工-查询 end
|
|
|
|
+ // 批量审核 end
|
|
|
|
+
|
|
ZEngineeringReviewBo zEngineeringReviewbo = izEngineeringReviewService.query(bo);
|
|
ZEngineeringReviewBo zEngineeringReviewbo = izEngineeringReviewService.query(bo);
|
|
zEngineeringInfoBo1.setzEngineeringReviewBo(zEngineeringReviewbo);
|
|
zEngineeringInfoBo1.setzEngineeringReviewBo(zEngineeringReviewbo);
|
|
zEngineeringInfoBoList.add(zEngineeringInfoBo1);
|
|
zEngineeringInfoBoList.add(zEngineeringInfoBo1);
|
|
@@ -478,7 +533,7 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
});
|
|
});
|
|
|
|
|
|
}
|
|
}
|
|
- // 市政施工 start
|
|
|
|
|
|
+ // 市政施工-插入 start
|
|
/*
|
|
/*
|
|
// 市政施工-沟上施工 焊接
|
|
// 市政施工-沟上施工 焊接
|
|
welding,
|
|
welding,
|
|
@@ -546,8 +601,208 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
photoList.add(zEngiineeringPhoto);
|
|
photoList.add(zEngiineeringPhoto);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- // 市政施工 end
|
|
|
|
|
|
+ // 市政施工-插入 end
|
|
|
|
+ // 带气封堵施工--插入 start
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeSaddleWelding())) {
|
|
|
|
+ bo.getPeSaddleWelding().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peSaddleWelding.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeAirtightTest())) {
|
|
|
|
+ bo.getPeAirtightTest().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peAirtightTest.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeHolesOpening())) {
|
|
|
|
+ bo.getPeHolesOpening().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peHolesOpening.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeCleaning())) {
|
|
|
|
+ bo.getPeCleaning().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peCleaning.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPePlugging())) {
|
|
|
|
+ bo.getPePlugging().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.pePlugging.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeCollisionOperating())) {
|
|
|
|
+ bo.getPeCollisionOperating().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peCollisionOperating.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeAirrecovering())) {
|
|
|
|
+ bo.getPeAirrecovering().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peAirrecovering.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getPeHomeworkDone())) {
|
|
|
|
+ bo.getPeHomeworkDone().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.peHomeworkDone.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronPipelineThickness())) {
|
|
|
|
+ bo.getIronPipelineThickness().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironPipelineThickness.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIron4Welding())) {
|
|
|
|
+ bo.getIron4Welding().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.iron4Welding.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronBypassWelding())) {
|
|
|
|
+ bo.getIronBypassWelding().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironBypassWelding.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronHolesOpening())) {
|
|
|
|
+ bo.getIronHolesOpening().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironHolesOpening.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronCleaning())) {
|
|
|
|
+ bo.getIronCleaning().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironCleaning.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronNitrogenPurging())) {
|
|
|
|
+ bo.getIronNitrogenPurging().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironNitrogenPurging.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronPipelineReplacing())) {
|
|
|
|
+ bo.getIronPipelineReplacing().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironPipelineReplacing.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronLowerEndCap())) {
|
|
|
|
+ bo.getIronLowerEndCap().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironLowerEndCap.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIronHomeworkDone())) {
|
|
|
|
+ bo.getIronHomeworkDone().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.ironHomeworkDone.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getIron4Aczoiling())) {
|
|
|
|
+ bo.getIron4Aczoiling().forEach(item -> {
|
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
|
+ zEngiineeringPhoto.setType(photoType.iron4Aczoiling.name().toString());
|
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ // 带气封堵施工--插入 end
|
|
|
|
|
|
if (!photoList.isEmpty()) {
|
|
if (!photoList.isEmpty()) {
|
|
izEngiineeringPhotoService.insertBatch(photoList);
|
|
izEngiineeringPhotoService.insertBatch(photoList);
|