Commit 09889faa authored by ZWT's avatar ZWT

feat(零碳): 长庆演示系统新增功能

1.能耗分析模块功能重构,新增今日/昨日/同期电量统计查询接口,添加线上接口文档并完成接口冒烟测试同时添加用例;
2.能耗分析模块功能重构,新增今日天气查询接口,添加线上接口文档并完成接口冒烟测试同时添加用例;
3.能耗分析模块功能重构,新增井场用能分析查询接口,添加线上接口文档并完成接口冒烟测试同时添加用例;
4.能耗分析模块功能重构,新增井场发电趋势查询接口,添加线上接口文档并完成接口冒烟测试同时添加用例;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 94a1b9b5
...@@ -55,6 +55,8 @@ import java.util.stream.Collectors; ...@@ -55,6 +55,8 @@ import java.util.stream.Collectors;
@XService @XService
public class EnergyConsumptionAnalysisService { public class EnergyConsumptionAnalysisService {
/*------------------------------ 能耗分析 ------------------------------*/
/** /**
* 今日/昨日/同期电量统计 * 今日/昨日/同期电量统计
* *
...@@ -100,7 +102,7 @@ public class EnergyConsumptionAnalysisService { ...@@ -100,7 +102,7 @@ public class EnergyConsumptionAnalysisService {
* @param input 输入 * @param input 输入
* @return {@link XListResult }<{@link GetPowerAnalyseOutput }> * @return {@link XListResult }<{@link GetPowerAnalyseOutput }>
*/ */
@XText("首页模块--用能分析") @XText("能耗分析--用能分析")
@XApiGet @XApiGet
public XListResult<GetPowerAnalyseOutput> powerAnalyse(XContext context, QueryEnergyConsumptionAnalysisInput input) { public XListResult<GetPowerAnalyseOutput> powerAnalyse(XContext context, QueryEnergyConsumptionAnalysisInput input) {
DynamicQueryBasePowerLineWellheadInput wellheadInput = new DynamicQueryBasePowerLineWellheadInput(); DynamicQueryBasePowerLineWellheadInput wellheadInput = new DynamicQueryBasePowerLineWellheadInput();
...@@ -182,7 +184,7 @@ public class EnergyConsumptionAnalysisService { ...@@ -182,7 +184,7 @@ public class EnergyConsumptionAnalysisService {
* @param input 输入 * @param input 输入
* @return {@link XListResult }<{@link GetPowerGenerationTrendOutput }> * @return {@link XListResult }<{@link GetPowerGenerationTrendOutput }>
*/ */
@XText("首页模块--发电趋势") @XText("能耗分析--发电趋势")
@XApiGet @XApiGet
public XListResult<GetPowerGenerationTrendOutput> powerGenerationTrend(XContext context, QueryEnergyConsumptionAnalysisInput input) { public XListResult<GetPowerGenerationTrendOutput> powerGenerationTrend(XContext context, QueryEnergyConsumptionAnalysisInput input) {
DynamicQueryBasePowerLinePlantInput plantInput = new DynamicQueryBasePowerLinePlantInput(); DynamicQueryBasePowerLinePlantInput plantInput = new DynamicQueryBasePowerLinePlantInput();
...@@ -235,6 +237,12 @@ public class EnergyConsumptionAnalysisService { ...@@ -235,6 +237,12 @@ public class EnergyConsumptionAnalysisService {
return XListResult.success(outputs); return XListResult.success(outputs);
} }
/*------------------------------ 井场实时分析 ------------------------------*/
/*------------------------------ 能耗分析(废弃) ------------------------------*/
/** /**
* 能耗分析--能耗概览 * 能耗分析--能耗概览
* *
......
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