Commit 4e6ac35f authored by wangxl's avatar wangxl

1

parent 94fff477
......@@ -297,15 +297,13 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
//附件列表
List<ComFileDTO> fileList = ComFileService.getListByObjectId(dto.getId(), CommonEnum.fileType.projectTask.getCode());
if (null == fileList || fileList.size() == 0) {
if (null == fileList || fileList.size() == 0)
fileList = ComFileService.getListByObjectId(dto.getProjId(), CommonEnum.fileType.project.getCode());
if (null == fileList || fileList.size() == 0)
fileList = configureFileList(dto.getSystemType());
else
fileList = checkNecessaryAttachmentFile(dto.getSystemType(), fileList);
}
dto.setFileList(fileList);
return dto;
}
......
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