|
@@ -180,7 +180,7 @@ public class ProjectLibManage { |
|
|
// 处理文件名 |
|
|
// 处理文件名 |
|
|
List<Long> fileIdList = new ArrayList<>(); |
|
|
List<Long> fileIdList = new ArrayList<>(); |
|
|
BizUtils.notBlank(vo.getApprovedFile(), w -> fileIdList.add(Long.parseLong(w))); |
|
|
BizUtils.notBlank(vo.getApprovedFile(), w -> fileIdList.add(Long.parseLong(w))); |
|
|
BizUtils.notBlank(vo.getApprovedConstructionPlanFileName(), w -> fileIdList.add(Long.parseLong(w))); |
|
|
|
|
|
|
|
|
BizUtils.notBlank(vo.getApprovedConstructionPlanFile(), w -> fileIdList.add(Long.parseLong(w))); |
|
|
if (!fileIdList.isEmpty()) { |
|
|
if (!fileIdList.isEmpty()) { |
|
|
List<File> files = fileService.listByIds(fileIdList); |
|
|
List<File> files = fileService.listByIds(fileIdList); |
|
|
Map<String, String> fileMap = CollUtils.listToMap(files, w -> w.getId().toString(), File::getOriginalFileName); |
|
|
Map<String, String> fileMap = CollUtils.listToMap(files, w -> w.getId().toString(), File::getOriginalFileName); |
|
|