新增dnc接口,接收设备每日运行时长数据

master
zpl 3 years ago
parent 9b4f90c47f
commit 04038864f0

@ -82,8 +82,8 @@ public class ResourceRunTimeServiceImpl extends ServiceImpl<ResourceRunTimeMappe
resourceRunTime.setSendDate(dateDay);
JSONObject jsonObj = (JSONObject) jsonArray.get(i);
String runTime = jsonObj.getString("RUN_TIME");
String resource = jsonObj.getString("RESOURCE");
String runTime = jsonObj.getString("rUN_TIME");
String resource = jsonObj.getString("rESOURCE");
resourceRunTime.setRunTime(Double.valueOf(runTime));
resourceRunTime.setResrce(resource);
resourceRunTime.setHandle(UUID.randomUUID().toString());

Loading…
Cancel
Save