Commit 61c6356f authored by chenzhao's avatar chenzhao

修改首航采集累计发电量

parent 8fc74636
......@@ -298,7 +298,7 @@ public class SofarDataAcquisitionServiceImpl implements SofarDataAcquisitionServ
com.alibaba.fastjson.JSONObject jsonObjectAll = requestUtil.getResPonseobj(SoFarConstant.stationhisUrl,
SoFarConstant.requestPost, paramDay, null);
if (jsonObjectAll != null && jsonObjectAll.get("stationDataItems") != null) {
JSONArray monthList = jsonObjectYear.getJSONArray("stationDataItems");
JSONArray monthList = jsonObjectAll.getJSONArray("stationDataItems");
double all = 0.0;
if (monthList != null && monthList.size() > 0) {
for (Object obj : monthList) {
......
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