diff --git a/pqs-harmonic/harmonic-boot/src/main/java/com/njcn/harmonic/service/dim/impl/DimGlobalDealServiceImpl.java b/pqs-harmonic/harmonic-boot/src/main/java/com/njcn/harmonic/service/dim/impl/DimGlobalDealServiceImpl.java index 5ae6aee7d..95192a24e 100644 --- a/pqs-harmonic/harmonic-boot/src/main/java/com/njcn/harmonic/service/dim/impl/DimGlobalDealServiceImpl.java +++ b/pqs-harmonic/harmonic-boot/src/main/java/com/njcn/harmonic/service/dim/impl/DimGlobalDealServiceImpl.java @@ -92,6 +92,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateY::getOrgId, deptCodeIds); Page yPage = rDimMonitorRateYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimMonitorRateY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -119,6 +120,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateM::getOrgId, deptCodeIds); Page mPage = rDimMonitorRateMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); + if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimMonitorRateM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -146,6 +149,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateD::getOrgId, deptCodeIds); Page dPage = rDimMonitorRateDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); + if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimMonitorRateD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -168,6 +173,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 2: //变电站/换流站监测率(%) switch (dimGlobalDataParam.getDateType()) { @@ -177,6 +183,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateY::getOrgId, deptCodeIds); Page yPage = rDimMonitorRateYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); + if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimMonitorRateY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -204,6 +212,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateM::getOrgId, deptCodeIds); Page mPage = rDimMonitorRateMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimMonitorRateM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -231,6 +240,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimMonitorRateD::getOrgId, deptCodeIds); Page dPage = rDimMonitorRateDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimMonitorRateD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -253,6 +263,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 3: //稳态指标超标或监测到暂态指标的变电站/换流站占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -262,6 +273,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalY::getOrgId, deptCodeIds); Page yPage = rDimBusGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -289,6 +301,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalM::getOrgId, deptCodeIds); Page mPage = rDimBusGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -316,6 +329,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalD::getOrgId, deptCodeIds); Page dPage = rDimBusGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -338,6 +352,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 4: //稳态指标超标或监测到暂态指标的变电站/换流站母线占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -347,6 +362,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalY::getOrgId, deptCodeIds); Page yPage = rDimBusGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -374,6 +390,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalM::getOrgId, deptCodeIds); Page mPage = rDimBusGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -401,6 +418,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalD::getOrgId, deptCodeIds); Page dPage = rDimBusGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -423,6 +441,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 5: //稳态指标超标或监测到暂态指标的变电站/换流站平均占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -432,6 +451,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalY::getOrgId, deptCodeIds); Page yPage = rDimBusGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -459,6 +479,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalM::getOrgId, deptCodeIds); Page mPage = rDimBusGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -486,6 +507,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalD::getOrgId, deptCodeIds); Page dPage = rDimBusGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -508,6 +530,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 6: //稳态指标超标或监测到暂态指标的变电站/换流站母线平均占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -517,6 +540,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalY::getOrgId, deptCodeIds); Page yPage = rDimBusGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -544,6 +568,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalM::getOrgId, deptCodeIds); Page mPage = rDimBusGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -571,6 +596,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusGlobalD::getOrgId, deptCodeIds); Page dPage = rDimBusGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -593,6 +619,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 7: //母线**指标超标占比(%) @@ -603,6 +630,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetYPO::getOrgId, deptCodeIds).eq(RDimBusTargetYPO::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimBusTargetYPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); + if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusTargetYPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -630,6 +659,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetMPO::getOrgId, deptCodeIds).eq(RDimBusTargetMPO::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimBusTargetMPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusTargetMPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -657,6 +687,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetDPO::getOrgId, deptCodeIds).eq(RDimBusTargetDPO::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimBusTargetDPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); + if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusTargetDPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -679,6 +711,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 8: //母线**指标合格率(%) switch (dimGlobalDataParam.getDateType()) { @@ -688,6 +721,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetYPO::getOrgId, deptCodeIds).eq(RDimBusTargetYPO::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimBusTargetYPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusTargetYPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -715,6 +749,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetMPO::getOrgId, deptCodeIds).eq(RDimBusTargetMPO::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimBusTargetMPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); + if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusTargetMPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -742,6 +778,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetDPO::getOrgId, deptCodeIds).eq(RDimBusTargetDPO::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimBusTargetDPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); + if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusTargetDPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -764,6 +802,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 9: //母线**指标平均超标占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -773,6 +812,8 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetYPO::getOrgId, deptCodeIds).eq(RDimBusTargetYPO::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimBusTargetYPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); + if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusTargetYPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -800,6 +841,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetMPO::getOrgId, deptCodeIds).eq(RDimBusTargetMPO::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimBusTargetMPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusTargetMPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -827,6 +869,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetDPO::getOrgId, deptCodeIds).eq(RDimBusTargetDPO::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimBusTargetDPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusTargetDPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -858,6 +901,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetYPO::getOrgId, deptCodeIds).eq(RDimBusTargetYPO::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimBusTargetYPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusTargetYPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -885,6 +929,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetMPO::getOrgId, deptCodeIds).eq(RDimBusTargetMPO::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimBusTargetMPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusTargetMPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -912,6 +957,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusTargetDPO::getOrgId, deptCodeIds).eq(RDimBusTargetDPO::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimBusTargetDPOMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusTargetDPO::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -934,6 +980,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 11: @@ -947,6 +994,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -976,6 +1024,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1005,6 +1054,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1027,6 +1077,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 12: //**kV变电站**指标合格率(%) switch (dimGlobalDataParam.getDateType()) { @@ -1038,6 +1089,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1067,6 +1119,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1096,6 +1149,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1118,6 +1172,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 13: //**kV变电站**指标平均超标占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -1129,6 +1184,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1158,6 +1214,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1187,6 +1244,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1209,6 +1267,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 14: //**kV变电站**指标平均合格率(%) switch (dimGlobalDataParam.getDateType()) { @@ -1220,6 +1279,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1249,6 +1309,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1278,6 +1339,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1300,7 +1362,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } - + break; case 15: //监测到暂态指标的变电站占比(%) @@ -1311,6 +1373,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusStationEventY::getOrgId, deptCodeIds); Page yPage = rDimBusStationEventYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimBusStationEventY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1338,6 +1401,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusStationEventM::getOrgId, deptCodeIds); Page mPage = rDimBusStationEventMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimBusStationEventM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1365,6 +1429,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimBusStationEventD::getOrgId, deptCodeIds); Page dPage = rDimBusStationEventDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimBusStationEventD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1387,6 +1452,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 16: //变电站暂态指标发生频次(次/站) switch (dimGlobalDataParam.getDateType()) { @@ -1396,6 +1462,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetY::getOrgId, deptCodeIds).eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1423,6 +1490,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetM::getOrgId, deptCodeIds).eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1450,6 +1518,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetD::getOrgId, deptCodeIds).eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1472,6 +1541,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 17: //监测到暂态指标的变电站母线占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -1481,6 +1551,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetY::getOrgId, deptCodeIds).eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1508,6 +1579,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetM::getOrgId, deptCodeIds).eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1535,6 +1607,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetD::getOrgId, deptCodeIds).eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1557,6 +1630,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 18: //变电站母线暂态指标发生频次(次/线) switch (dimGlobalDataParam.getDateType()) { @@ -1566,6 +1640,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetY::getOrgId, deptCodeIds).eq(RDimStationTargetY::getTargetType, dimGlobalDataParam.getTargetType()); Page yPage = rDimStationTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimStationTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1593,6 +1668,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetM::getOrgId, deptCodeIds).eq(RDimStationTargetM::getTargetType, dimGlobalDataParam.getTargetType()); Page mPage = rDimStationTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimStationTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1620,6 +1696,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .in(RDimStationTargetD::getOrgId, deptCodeIds).eq(RDimStationTargetD::getTargetType, dimGlobalDataParam.getTargetType()); Page dPage = rDimStationTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimStationTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1642,7 +1719,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } - + break; case 19: //**源荷对象监测率(%) @@ -1655,6 +1732,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { ; Page yPage = rDimObjRateYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimObjRateY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1683,6 +1761,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjRateM::getObjType, dimGlobalDataParam.getMainType()); Page mPage = rDimObjRateMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimObjRateM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1711,6 +1790,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjRateD::getObjType, dimGlobalDataParam.getMainType()); Page dPage = rDimObjRateDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimObjRateD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1733,6 +1813,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 20: //**源荷对象超标占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -1744,6 +1825,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { ; Page yPage = rDimObjGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimObjGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1772,6 +1854,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjGlobalM::getObjectType, dimGlobalDataParam.getMainType()); Page mPage = rDimObjGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimObjGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1800,6 +1883,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjGlobalD::getObjectType, dimGlobalDataParam.getMainType()); Page dPage = rDimObjGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimObjGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1822,6 +1906,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } + break; case 21: //**源荷对象平均超标占比(%) switch (dimGlobalDataParam.getDateType()) { @@ -1833,6 +1918,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { ; Page yPage = rDimObjGlobalYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimObjGlobalY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1861,6 +1947,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjGlobalM::getObjectType, dimGlobalDataParam.getMainType()); Page mPage = rDimObjGlobalMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimObjGlobalM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1889,6 +1976,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjGlobalD::getObjectType, dimGlobalDataParam.getMainType()); Page dPage = rDimObjGlobalDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimObjGlobalD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1911,7 +1999,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { } break; } - + break; case 22: //**源荷对象**指标超标占比(%) @@ -1925,6 +2013,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { ; Page yPage = rDimObjTargetYMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperY); List yList = yPage.getRecords(); + resultPage.setTotal(yPage.getTotal()); if (CollectionUtil.isNotEmpty(yList)) { Map mapY = yList.stream().collect(Collectors.toMap(RDimObjTargetY::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1955,6 +2044,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { Page mPage = rDimObjTargetMMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperM); List mList = mPage.getRecords(); + resultPage.setTotal(mPage.getTotal()); if (CollectionUtil.isNotEmpty(mList)) { Map mapM = mList.stream().collect(Collectors.toMap(RDimObjTargetM::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -1983,6 +2073,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { .eq(StrUtil.isNotEmpty(dimGlobalDataParam.getMainType()), RDimObjTargetD::getObjectType, dimGlobalDataParam.getMainType()); Page dPage = rDimObjTargetDMapper.selectPage(new Page(PageFactory.getPageNum(dimGlobalDataParam), PageFactory.getPageSize(dimGlobalDataParam)), lambdaQueryWrapperD); List dList = dPage.getRecords(); + resultPage.setTotal(dPage.getTotal()); if (CollectionUtil.isNotEmpty(dList)) { Map mapD = dList.stream().collect(Collectors.toMap(RDimObjTargetD::getOrgId, Function.identity())); for (Dept d : deptList) { @@ -2006,7 +2097,7 @@ public class DimGlobalDealServiceImpl implements DimGlobalDealService { break; } - + break; }