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

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

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

Loading…
Cancel
Save