@@ -285,7 +285,7 @@ public class ReportServiceImpl implements ReportService {
}
if(StrUtil.isNotBlank(reportStatisticReqDTO.getUserId())){
- records.stream().filter(user -> reportStatisticReqDTO.getUserId().equals(user.getId())).collect(Collectors.toList());
+ records = records.stream().filter(user -> reportStatisticReqDTO.getUserId().equals(user.getId())).collect(Collectors.toList());
//获取工作报告
Map<String, List<ReportDO>> staffReportMap = this.getReport(reportStatisticReqDTO.getReportType(), year, month, deptIds, reportStatisticReqDTO.getUserId());