Commit bb2cd5b8 authored by ZWT's avatar ZWT

feat(吉林演示): 松原

1.修改系统首页大屏总览接口,增加区分组织机构逻辑,完成接口冒烟测试;
2.修改系统首页获取井场列表接口,增加区分组织机构逻辑,完成接口冒烟测试;
3.修改系统首页井场功能下钻后提示报错问题,修改用电功率数据获取逻辑,修复报错问题;
4.修改输电线路分页列表查询接口,增加查询条件,在查询父线路列表时只查询10千伏线路,修改线上接口文档同时完成接口冒烟测试;
5.修改系统首页井场实时监控接口,增加区分组织机构逻辑,完成接口冒烟测试;
6.修改系统首页用能分析接口,增加区分组织机构逻辑,完成接口冒烟测试;
7.修改系统首页井场用能分析(双坐标轴)接口,增加区分组织机构逻辑,完成接口冒烟测试;
8.修改系统首页累积用电接口,增加区分组织机构逻辑,完成接口冒烟测试;
9.修改系统首页光伏实时监控接口,增加区分组织机构逻辑,完成接口冒烟测试;
10.修改系统首页井场效果评价接口,增加区分组织机构逻辑,完成接口冒烟测试;
11.修改系统首页先导实验井间开制度接口,增加区分组织机构逻辑,完成接口冒烟测试;
12.修改极短期间开优化模块井口生产情况油井状态接口,增加区分组织机构逻辑,完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent bcdcc11d
...@@ -83,12 +83,21 @@ public class ExcelService { ...@@ -83,12 +83,21 @@ public class ExcelService {
.collect(Collectors.toMap(QuerySysAreaOutput::getId, Function.identity())); .collect(Collectors.toMap(QuerySysAreaOutput::getId, Function.identity()));
list = new ArrayList<>(items.size()); list = new ArrayList<>(items.size());
//封装并填充数据 //封装并填充数据
String province;
String city;
for (QueryBasePhotovoltaicPlantOutput item : items) { for (QueryBasePhotovoltaicPlantOutput item : items) {
QuerySysAreaOutput area = collect.get(item.getAreaCode()); QuerySysAreaOutput area = collect.get(item.getAreaCode());
if (collect.containsKey(item.getAreaCode())) {
province = area.getProvince();
city = area.getCity();
} else {
province = BusinessConstant.DEFAULT_VALUE;
city = BusinessConstant.DEFAULT_VALUE;
}
list.add( list.add(
ExcelPhotovoltaicPlantTemplate.builder() ExcelPhotovoltaicPlantTemplate.builder()
.province(area.getProvince()) .province(province)
.city(area.getCity()) .city(city)
.ouName(item.getOuName()) .ouName(item.getOuName())
.stationName(item.getStationName()) .stationName(item.getStationName())
.makerNumber(item.getMakerNumber()) .makerNumber(item.getMakerNumber())
...@@ -249,8 +258,8 @@ public class ExcelService { ...@@ -249,8 +258,8 @@ public class ExcelService {
.makerNumber(item.getMakerNumber()) .makerNumber(item.getMakerNumber())
.storageModelName(item.getStorageModelName()) .storageModelName(item.getStorageModelName())
.apparatusCapacity(item.getApparatusCapacity().toString()) .apparatusCapacity(item.getApparatusCapacity().toString())
.ratedDischargePower(item.getRatedDischargePower().toString())
.ratedChargingPower(item.getRatedChargingPower().toString()) .ratedChargingPower(item.getRatedChargingPower().toString())
.ratedDischargePower(item.getRatedDischargePower().toString())
.ratedDischargeDepth(item.getRatedDischargeDepth().toString()) .ratedDischargeDepth(item.getRatedDischargeDepth().toString())
.ratedDischargeEfficiency(item.getRatedDischargeEfficiency().toString()) .ratedDischargeEfficiency(item.getRatedDischargeEfficiency().toString())
.build() .build()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment