河北技术监督,国网上送接口bug修改
This commit is contained in:
@@ -217,10 +217,7 @@ public class SupvPushGwServiceImpl implements SupvPushGwService {
|
||||
String status = mapData.get("status").toString();
|
||||
if ("000000".equals(status)) {
|
||||
for (SupvPlan supvPlan : supvPlanList) {
|
||||
SupvPlan supvPlanPO = new SupvPlan();
|
||||
supvPlanPO.setPlanId(supvPlan.getPlanId());
|
||||
supvPlanPO.setIsUploadHead(1);
|
||||
supvPlanMapper.updateById(supvPlanPO);
|
||||
supvPlanMapper.updateId(1,supvPlan.getPlanId());
|
||||
}
|
||||
String result = mapData.get("result").toString();
|
||||
Map mapCount = JSON.parseObject(result, Map.class);
|
||||
@@ -299,10 +296,7 @@ public class SupvPushGwServiceImpl implements SupvPushGwService {
|
||||
String status = map.get("status").toString();
|
||||
if ("000000".equals(status)) {
|
||||
for (SupvProblem supvProblem : supvProblemList) {
|
||||
SupvProblem supvProblemPO = new SupvProblem();
|
||||
supvProblemPO.setProblemId(supvProblem.getProblemId());
|
||||
supvProblemPO.setIsUploadHead(1);
|
||||
supvProblemMapper.updateById(supvProblemPO);
|
||||
supvProblemMapper.updateId(1,supvProblem.getProblemId());
|
||||
}
|
||||
String result = map.get("result").toString();
|
||||
Map mapCount = JSON.parseObject(result, Map.class);
|
||||
@@ -385,10 +379,7 @@ public class SupvPushGwServiceImpl implements SupvPushGwService {
|
||||
String status = map.get("status").toString();
|
||||
if ("000000".equals(status)) {
|
||||
for (SupvReportM supvReportM : supvReportMList) {
|
||||
SupvReportM supvReportMPO = new SupvReportM();
|
||||
supvReportMPO.setMonthReportId(supvReportM.getMonthReportId());
|
||||
supvReportMPO.setIsUploadHead(1);
|
||||
supvReportMMapper.updateById(supvReportMPO);
|
||||
supvReportMMapper.updateId(1,supvReportM.getMonthReportId());
|
||||
}
|
||||
String result = map.get("result").toString();
|
||||
Map mapCount = JSON.parseObject(result, Map.class);
|
||||
@@ -439,8 +430,7 @@ public class SupvPushGwServiceImpl implements SupvPushGwService {
|
||||
String status = map.get("status").toString();
|
||||
if ("000000".equals(status)) {
|
||||
for (SupvPlan supvPlan : supvPlanList) {
|
||||
supvPlan.setIsUploadHead(2);
|
||||
supvPlanMapper.updateById(supvPlan);
|
||||
supvPlanMapper.updateId(2,supvPlan.getPlanId());
|
||||
}
|
||||
String result = map.get("result").toString();
|
||||
Map mapCount = JSON.parseObject(result, Map.class);
|
||||
|
||||
@@ -135,11 +135,11 @@ public class SupvReportMServiceImpl extends MppServiceImpl<SupvReportMMapper, Su
|
||||
List<ProcessPublicDTO> processPublicDTOMingGanY = this.baseMapper.statisticPlanReport(firstYearDay,endYearDay,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),null,null);
|
||||
List<ProcessPublicDTO> processPublicDTOMingGanAll = this.baseMapper.statisticPlanReport(firstYearDay,endTime,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),null,Stream.of("02","03","04").collect(Collectors.toList()));
|
||||
|
||||
//换流站问题总数量
|
||||
//敏感用户问题总数量
|
||||
List<ProcessPublicDTO> processPublicDTOQesMingGanM = this.baseMapper.statisticQueReport(firstDay,endTime,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),null,null);
|
||||
List<ProcessPublicDTO> processPublicDTOQesMingGanAll = this.baseMapper.statisticQueReport(firstYearDay,endTime,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),null,null);
|
||||
|
||||
//换流站问题已整改数量
|
||||
//敏感用户问题已整改数量
|
||||
List<ProcessPublicDTO> processPublicDTOQesMingGanYesM = this.baseMapper.statisticQueReport(firstDay,endTime,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),"01",null);
|
||||
List<ProcessPublicDTO> processPublicDTOQesMingGanYesAll = this.baseMapper.statisticQueReport(firstYearDay,endTime,mapStatistic.get(DicDataEnum.POWER_QUALITY.getCode()).getId(),"01",null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user