|
@@ -468,7 +468,7 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
|
CwProjectInfoData infoData = infoMapper.getByReportId(pro.getId());
|
|
|
//根据reportid查出所有的附件信息
|
|
|
List<ProjectReportWorkAttachmentDTO> fileList = new ArrayList<>();
|
|
|
- List<ProjectReportWorkAttachmentDTO> cwFileInfoList = attachmentMapper.selectByInfoId(reportData.getId());
|
|
|
+ List<ProjectReportWorkAttachmentDTO> cwFileInfoList = attachmentMapper.selectByInfoIdAndNewLineId(reportData.getId());
|
|
|
//历史的附件信息是否是查改reportid对应的所有附件
|
|
|
if (null != cwFileInfoList){
|
|
|
cwFileInfoList.forEach(fi->{
|