Commit 92bc17cd authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.长庆演示首页功能开发,新增采油厂统计信息查询接口,添加线上接口并完成接口冒烟测试;
2.长庆演示首页功能开发,新增线路图查询接口,添加线上接口并完成接口冒烟测试;
3.长庆演示首页功能开发,新增线路详情查询接口,添加线上接口并完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 522ea4c8
...@@ -429,7 +429,7 @@ public class HomePageService { ...@@ -429,7 +429,7 @@ public class HomePageService {
} else { } else {
intervalWellNumber++; intervalWellNumber++;
} }
operatingLoad = operatingLoad.add(well.getRatedPower()); operatingLoad = operatingLoad.add(Optional.ofNullable(well.getRatedPower()).orElse(BigDecimal.ZERO));
} }
//线路统计 //线路统计
List<DynamicQueryBasePowerLineOutput> lineList = this.getLineList(context, stationId, "10"); List<DynamicQueryBasePowerLineOutput> lineList = this.getLineList(context, stationId, "10");
...@@ -490,7 +490,7 @@ public class HomePageService { ...@@ -490,7 +490,7 @@ public class HomePageService {
@XApiAnonymous @XApiAnonymous
@XText("首页模块--线路详情") @XText("首页模块--线路详情")
@XApiGet @XApiGet
public XSingleResult<GetLineViewOutput> getBranchingProgram(XContext context, GetLineViewInput input) { public XSingleResult<GetLineViewOutput> getLineView(XContext context, GetLineViewInput input) {
//查线路关联的井口 //查线路关联的井口
List<DynamicQueryBasePowerLineWellheadViewOutput> wellheadList = this.getPowerLineWellheadList(context, input.getLineId()); List<DynamicQueryBasePowerLineWellheadViewOutput> wellheadList = this.getPowerLineWellheadList(context, input.getLineId());
//查线路关联的电站 //查线路关联的电站
......
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