|
@@ -154,14 +154,18 @@ public class CostModelListController extends JeecgController<CostModelList, ICos
|
|
|
CostModelList costModelList = costModelListService.getById(id);
|
|
|
if(costModelList!=null) {
|
|
|
List<FileDTO> wxfurl = new ArrayList<>();
|
|
|
- FileDTO fileDTO = new FileDTO();
|
|
|
- fileDTO.setFilePath(costModelList.getWxfUrl());
|
|
|
- wxfurl.add(fileDTO);
|
|
|
+ FileDTO wxDTO = new FileDTO();
|
|
|
+ wxDTO.setFilePath(costModelList.getWxfUrl());
|
|
|
+ wxDTO.setFileName(costModelList.getWxfFilename());
|
|
|
+ wxDTO.setFileSize(costModelList.getWxfFilesize());
|
|
|
+ wxfurl.add(wxDTO);
|
|
|
|
|
|
List<FileDTO> clfurl = new ArrayList<>();
|
|
|
- FileDTO fileDTO1 = new FileDTO();
|
|
|
- fileDTO1.setFilePath(costModelList.getClfUrl());
|
|
|
- clfurl.add(fileDTO1);
|
|
|
+ FileDTO clDto = new FileDTO();
|
|
|
+ clDto.setFilePath(costModelList.getClfUrl());
|
|
|
+ clDto.setFileName(costModelList.getClfFilename());
|
|
|
+ clDto.setFileSize(costModelList.getClfFilesize());
|
|
|
+ clfurl.add(clDto);
|
|
|
|
|
|
CostModelListQueryVO vo = CostModelListConvert.INSTANCE.toCostModelListQueryVO(costModelList,wxfurl,clfurl);
|
|
|
|