yinzuomei 3 years ago
parent
commit
ef00aefd5d
  1. 2
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ResiEventServiceImpl.java

2
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ResiEventServiceImpl.java

@ -502,11 +502,13 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven
} }
} }
List<String> imgList=new ArrayList<>(); List<String> imgList=new ArrayList<>();
if(!CollectionUtils.isEmpty(attachmentList)){
for(FileCommonDTO fileCommonDTO:attachmentList){ for(FileCommonDTO fileCommonDTO:attachmentList){
if("image".equals(fileCommonDTO.getType())){ if("image".equals(fileCommonDTO.getType())){
imgList.add(fileCommonDTO.getUrl()); imgList.add(fileCommonDTO.getUrl());
} }
} }
}
//事件图片 //事件图片
if (!CollectionUtils.isEmpty(imgList)) { if (!CollectionUtils.isEmpty(imgList)) {
ImgScanParamDTO imgScanParamDTO = new ImgScanParamDTO(); ImgScanParamDTO imgScanParamDTO = new ImgScanParamDTO();

Loading…
Cancel
Save