|
@@ -225,12 +225,13 @@ public class ProjectReportServiceImpl implements ProjectReportService {
|
|
|
|
|
|
@Override
|
|
|
public List<ProjectReportResp> getCheckedList() {
|
|
|
+ ProjectReportPeriod currentReportPeriod = projectReportPeriodService.getCurrentReportPeriod();
|
|
|
List<ProjectReportAudit> passAuditList = projectReportAuditService.getPassListByUserId(SecurityFrameworkUtils.getLoginUserId());
|
|
|
Set<String> reportIds = convertSet(passAuditList, ProjectReportAudit::getReportId);
|
|
|
if(CollectionUtil.isEmpty(reportIds)){
|
|
|
return null;
|
|
|
}
|
|
|
- List<ProjectReport> checkedList = projectReportMapper.getListByIds(reportIds);
|
|
|
+ List<ProjectReport> checkedList = projectReportMapper.getListByIds(reportIds,currentReportPeriod.getId());
|
|
|
return ProjectReportConvert.INSTANCE.convertList01(checkedList);
|
|
|
}
|
|
|
|