Browse Source

修改交调车流量接口

develop
Mr.Wang 8 months ago
parent
commit
c24faf3d8a
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

2
zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

@ -248,7 +248,7 @@ public class DcDeviceController extends BaseController {
JSONObject formatValue = JSON.parseObject(jsonObject.get("formatValue").toString());
map.put("1", formatValue.get("1"));
map.put("3", formatValue.get("3"));
map.put("timestamp", formatValue.get("equipmentReportingTime") == null? "":formatValue.get("equipmentReportingTime"));
map.put("timestamp", formatValue.get("equipmentReportingTime") == null? "":Long.valueOf(formatValue.get("equipmentReportingTime").toString()));
list.add(map);
});
List<Map<String, Object>> newList = list.stream()

Loading…
Cancel
Save