|
@@ -88,6 +88,9 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
zEngineeringInfoBo1.setWarningtTape(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.warningtTape.name()));
|
|
|
zEngineeringInfoBo1.setVideo(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.Video.name()));
|
|
|
zEngineeringInfoBo1.setTrenchProspect(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.trenchProspect.name()));
|
|
|
+ zEngineeringInfoBo1.setBeforeBottom(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.beforeBottom.name()));
|
|
|
+ zEngineeringInfoBo1.setLegBackfilling(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.legBackfilling.name()));
|
|
|
+ zEngineeringInfoBo1.setInferiorSulcus(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.inferiorSulcus.name()));
|
|
|
// bo.setId(item.getId());
|
|
|
ZEngineeringReviewBo zEngineeringReviewbo = izEngineeringReviewService.query(bo);
|
|
|
zEngineeringInfoBo1.setzEngineeringReviewBo(zEngineeringReviewbo);
|
|
@@ -190,6 +193,48 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
|
|
|
|
|
|
}
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getBeforeBottom()))
|
|
|
+ {
|
|
|
+ bo.getBeforeBottom().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.beforeBottom.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getLegBackfilling()))
|
|
|
+ {
|
|
|
+ bo.getLegBackfilling().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.legBackfilling.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getInferiorSulcus()))
|
|
|
+ {
|
|
|
+ bo.getInferiorSulcus().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.inferiorSulcus.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
if (!ObjectUtils.isEmpty(bo.getVideo()))
|
|
|
{
|
|
|
|