Commit ebcbf701 authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.长庆演示首页功能开发,新增查询井场/场站列表接口,添加接口文档并完成接口冒烟测试;
2.长庆演示首页功能开发,新增总览信息统计接口,添加接口文档并完成接口冒烟测试;
3.长庆演示首页功能开发,新增用能分析统计接口,添加接口文档并完成接口冒烟测试;
4.长庆演示首页功能开发,新增累计用电统计接口,添加接口文档并完成接口冒烟测试;
5.长庆演示首页功能开发,新增光伏实时监控统计接口,添加接口文档并完成接口冒烟测试;
6.长庆演示首页功能开发,新增先导实验井间开制度统计接口,添加接口文档并完成接口冒烟测试;
7.长庆演示首页功能开发,新增零碳井场收益分析统计接口,添加接口文档并完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent f73d0b7e
......@@ -119,8 +119,8 @@ public class WellheadDailyProductionSituationService {
String url = XStartup.getCurrent().getProperty("third-party.chang-qing.url");
Map<String, String> header = new HashMap<>(4);
header.put("token", cqToken);
context.getLogger().info("---------------------------CQ_WELL_TECH_DAILY---------------------------");
HttpRequestClient client = new HttpRequestClient(cqToken);
context.getLogger().info("---------------------------CQ_WELL_TECH_DAILY---------------------------");
try {
api = url + ThirdPartyApiConstant.CQ_WELL_TECH_DAILY;
Map<String, Object> param = new HashMap<>(4);
......@@ -178,6 +178,14 @@ public class WellheadDailyProductionSituationService {
} catch (Exception e) {
e.printStackTrace();
}
context.getLogger().info("---------------------------CQ_GROUP_REAL_PV_DATA---------------------------");
try {
api = url + ThirdPartyApiConstant.CQ_GROUP_REAL_PV_DATA;
String s = client.doPostForm(api, new HashMap<>(4));
context.getLogger().info("CQ_GROUP_REAL_PV_DATA: " + s);
} catch (Exception e) {
e.printStackTrace();
}
return XServiceResult.OK;
}
}
\ No newline at end of file
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