|
@@ -91,6 +91,10 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
List<ZEngineeringMaterialBo> zEngineeringMaterialBo = izEngineeringMaterialService.query(zEngineeringInfoBo1);
|
|
|
zEngineeringInfoBo1.setzEngiineeringPhotoBoList(photoList);
|
|
|
zEngineeringInfoBo1.setzEngineeringMaterialBo(zEngineeringMaterialBo);
|
|
|
+ zEngineeringInfoBo1.setBoxBrand(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.boxBrand.name()));
|
|
|
+ zEngineeringInfoBo1.setLightning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.Lightning.name()));
|
|
|
+ zEngineeringInfoBo1.setBottomLeg(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.BottomLeg.name()));
|
|
|
+ zEngineeringInfoBo1.setGroundHardening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.GroundHardening.name()));
|
|
|
zEngineeringInfoBo1.setPhotosAfter(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.photosAfter.name()));
|
|
|
zEngineeringInfoBo1.setStonePowder(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.stonePowder.name()));
|
|
|
zEngineeringInfoBo1.setDuctalEpithelium(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ductalEpithelium.name()));
|
|
@@ -149,6 +153,10 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
List<ZEngineeringMaterialBo> zEngineeringMaterialBo = izEngineeringMaterialService.query(zEngineeringInfoBo1);
|
|
|
zEngineeringInfoBo1.setzEngiineeringPhotoBoList(photoList);
|
|
|
zEngineeringInfoBo1.setzEngineeringMaterialBo(zEngineeringMaterialBo);
|
|
|
+ zEngineeringInfoBo1.setBoxBrand(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.boxBrand.name()));
|
|
|
+ zEngineeringInfoBo1.setLightning(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.Lightning.name()));
|
|
|
+ zEngineeringInfoBo1.setBottomLeg(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.BottomLeg.name()));
|
|
|
+ zEngineeringInfoBo1.setGroundHardening(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.GroundHardening.name()));
|
|
|
zEngineeringInfoBo1.setPhotosAfter(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.photosAfter.name()));
|
|
|
zEngineeringInfoBo1.setStonePowder(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.stonePowder.name()));
|
|
|
zEngineeringInfoBo1.setDuctalEpithelium(izEngiineeringPhotoService.queryTypeList(zEngineeringInfoBo1,photoType.ductalEpithelium.name()));
|
|
@@ -262,6 +270,62 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
|
|
|
|
|
|
}
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getBoxBrand()))
|
|
|
+ {
|
|
|
+ bo.getBoxBrand().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.boxBrand.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getLightning()))
|
|
|
+ {
|
|
|
+ bo.getLightning().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.Lightning.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getBottomLeg()))
|
|
|
+ {
|
|
|
+ bo.getBottomLeg().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.BottomLeg.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getGroundHardening()))
|
|
|
+ {
|
|
|
+ bo.getGroundHardening().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.GroundHardening.name().toString());
|
|
|
+ photoList.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
if (!ObjectUtils.isEmpty(bo.getOnTheDitch()))
|
|
|
{
|
|
|
bo.getOnTheDitch().forEach(item -> {
|
|
@@ -535,6 +599,62 @@ public class ZEngineeringInfoServiceImpl implements IZEngineeringInfoService {
|
|
|
});
|
|
|
|
|
|
}
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getBoxBrand()))
|
|
|
+ {
|
|
|
+ bo.getBoxBrand().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.boxBrand.name().toString());
|
|
|
+ photoList2.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getLightning()))
|
|
|
+ {
|
|
|
+ bo.getLightning().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.Lightning.name().toString());
|
|
|
+ photoList2.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getBottomLeg()))
|
|
|
+ {
|
|
|
+ bo.getBottomLeg().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.BottomLeg.name().toString());
|
|
|
+ photoList2.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!ObjectUtils.isEmpty(bo.getGroundHardening()))
|
|
|
+ {
|
|
|
+ bo.getGroundHardening().forEach(item -> {
|
|
|
+ ZEngiineeringPhoto zEngiineeringPhoto = new ZEngiineeringPhoto();
|
|
|
+ zEngiineeringPhoto.setParentId(bo.getId());
|
|
|
+ zEngiineeringPhoto.setPicUrl(item);
|
|
|
+ zEngiineeringPhoto.setCreateTime(bo.getCreateTime());
|
|
|
+ zEngiineeringPhoto.setUpdateTime(new Date());
|
|
|
+ zEngiineeringPhoto.setType(photoType.GroundHardening.name().toString());
|
|
|
+ photoList2.add(zEngiineeringPhoto);
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
if (!ObjectUtils.isEmpty(bo.getOnTheDitch()))
|
|
|
{
|
|
|
bo.getOnTheDitch().forEach(item -> {
|