|
|
@ -994,7 +994,7 @@ public class DcDeviceController extends BaseController { |
|
|
|
AjaxResult ajaxResult = queryDeviceProperties(deviceId, propertyId, props);//取出属性全部信息
|
|
|
|
String code = ajaxResult.get("code").toString(); |
|
|
|
if ("500".equals(code)) { |
|
|
|
return ajaxResult; |
|
|
|
return AjaxResult.success(ajaxResult.get("msg")); |
|
|
|
} |
|
|
|
if (UniversalEnum.THIRTEEN.getValue().equals(type) || UniversalEnum.SIXTEEN.getValue().equals(type)) { //判断是否为设备箱/远端机
|
|
|
|
JSONObject data = (JSONObject) ajaxResult.get("data"); |
|
|
|