|
|
@@ -147,7 +147,11 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
// resumptionDayVO.setTotalRealityRectificationNumber(totalRealityRectificationNumber);
|
|
|
// resumptionDayVOS.add(resumptionDayVO);
|
|
|
// });
|
|
|
-
|
|
|
+ if ( ObjectUtil.equal(2,resumptionDTO.getCycle())){
|
|
|
+ //web端按月份查询
|
|
|
+ resumptionDTO.setStartTime(DateUtil.beginOfMonth(DateUtil.parse(resumptionDTO.getSearchTime())));
|
|
|
+ resumptionDTO.setEndTime(DateUtil.endOfMonth(DateUtil.parse(resumptionDTO.getSearchTime())));
|
|
|
+ }
|
|
|
List<CompletableFuture<ResumptionDayVO>> completableFutureList = new ArrayList<>();
|
|
|
sysOrgs.forEach(o -> {
|
|
|
CompletableFuture<ResumptionDayVO> getOneOrgResumptionDayVO = CompletableFuture.supplyAsync(() ->
|
|
|
@@ -246,20 +250,20 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
|
|
|
// 初始化三个阶段的报告并设置默认值
|
|
|
ResumptionDayVO preReport = new ResumptionDayVO();
|
|
|
- preReport.setPlanType(2);
|
|
|
+ preReport.setPlanExec(2);
|
|
|
setDefaultValues(preReport);
|
|
|
|
|
|
ResumptionDayVO midReport = new ResumptionDayVO();
|
|
|
- midReport.setPlanType(3);
|
|
|
+ midReport.setPlanExec(3);
|
|
|
setDefaultValues(midReport);
|
|
|
|
|
|
ResumptionDayVO postReport = new ResumptionDayVO();
|
|
|
- postReport.setPlanType(4);
|
|
|
+ postReport.setPlanExec(4);
|
|
|
setDefaultValues(postReport);
|
|
|
|
|
|
|
|
|
for (ResumptionDayVO report : reportList) {
|
|
|
- switch (report.getPlanType()) {
|
|
|
+ switch (report.getPlanExec()) {
|
|
|
case 2: preReport = report; break;
|
|
|
case 3: midReport = report; break;
|
|
|
case 4: postReport = report; break;
|