|
|
@ -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() |
|
|
|