|
|
@ -985,6 +985,7 @@ public class DcDeviceController extends BaseController { |
|
|
|
props.put("sorts[0].name", "timestamp"); |
|
|
|
List<HashMap<String, Object>> mapList = dcDeviceService.selectDeviceParameterProperties(dcDevice);//属性的参数信息
|
|
|
|
List<HashMap> resultsMapValue = new ArrayList<>(); |
|
|
|
try { |
|
|
|
for (HashMap<String, Object> hashMap : mapList) { |
|
|
|
HashMap<String, Object> resultsMap = new HashMap<>(); |
|
|
|
String name = hashMap.get("name").toString();//属性名称
|
|
|
@ -1042,6 +1043,9 @@ public class DcDeviceController extends BaseController { |
|
|
|
} |
|
|
|
resultsMapValue.add(resultsMap); |
|
|
|
} |
|
|
|
}catch (Exception e){ |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
return AjaxResult.success(resultsMapValue); |
|
|
|
} |
|
|
|
|
|
|
|