|
@@ -132,6 +132,10 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
zEngineeringInfoBo1.setIronLowerEndCap(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironLowerEndCap.name()));
|
|
|
zEngineeringInfoBo1.setIronHomeworkDone(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ironHomeworkDone.name()));
|
|
|
zEngineeringInfoBo1.setIron4Aczoiling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.iron4Aczoiling.name()));
|
|
|
+ zEngineeringInfoBo1.setCannula(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.cannula.name()));
|
|
|
+ zEngineeringInfoBo1.setWallPlaster(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.wallPlaster.name()));
|
|
|
+ zEngineeringInfoBo1.setProtectiveNet(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.protectiveNet.name()));
|
|
|
+ zEngineeringInfoBo1.setStarAnise(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.starAnise.name()));
|
|
|
// 市政施工-查询 end
|
|
|
|
|
|
// bo.setId(item.getId());
|
|
@@ -361,6 +365,57 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
photoList.add(zEngiineeringPhoto);
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getCannula()))
|
|
|
+ {
|
|
|
+ bo.getCannula().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.cannula.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getWallPlaster()))
|
|
|
+ {
|
|
|
+ bo.getWallPlaster().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.wallPlaster.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getProtectiveNet()))
|
|
|
+ {
|
|
|
+ bo.getProtectiveNet().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.protectiveNet.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getStarAnise()))
|
|
|
+ {
|
|
|
+ bo.getStarAnise().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.starAnise.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+ }
|
|
|
if (!ObjectUtils.isEmpty(bo.getLightning()))
|
|
|
{
|
|
|
bo.getLightning().forEach(item -> {
|
|
@@ -372,8 +427,6 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
zEngiineeringPhoto.setType(photoType.Lightning.name().toString());
|
|
|
photoList.add(zEngiineeringPhoto);
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
if (!ObjectUtils.isEmpty(bo.getBottomLeg()))
|
|
|
{
|