Commit cc6133b9 authored by yaobaizheng's avatar yaobaizheng

园区字典开发区新增保存、提交

parent ea5227d3
......@@ -568,6 +568,9 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe
List<String> collect = list5.stream().map(e -> {
return e.getImgUrl();
}).collect(Collectors.toList());
if(StringUtils.isNotBlank(developmentInfo.getImgUrl())){
collect.add(developmentInfo.getImgUrl());
}
developmentInfoAllSaveVO.setCarouselUrls(collect);
//政策文件
QueryWrapper<FileSource> fsQW = new QueryWrapper<>();
......
......@@ -602,7 +602,7 @@ public class ParkInfoServiceImpl extends ServiceImpl<ParkInfoMapper, ParkInfo> i
parkInfoSaveVO.setSewageWaterType(parkSewageInfo.getType());
}
//开发区图片
//产业园图片
QueryWrapper<SysCarouselInfo> sciQW = new QueryWrapper<>();
sciQW.eq("association_id", id);
sciQW.eq("type", CarouselTypeEnum.YUANQU.getType());
......@@ -610,6 +610,9 @@ public class ParkInfoServiceImpl extends ServiceImpl<ParkInfoMapper, ParkInfo> i
List<String> collect = list4.stream().map(e -> {
return e.getImgUrl();
}).collect(Collectors.toList());
if(StringUtils.isNotBlank(parkInfo.getImgUrl())){
collect.add(parkInfo.getImgUrl());
}
parkInfoAllSaveVO.setCarouselUrls(collect);
//政策文件上传
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment