|
|
@@ -2,6 +2,7 @@ package com.yunfeiyun.agmp.iotm.web.service.impl;
|
|
|
|
|
|
|
|
|
import com.yunfeiyun.agmp.common.utils.SecurityUtils;
|
|
|
+import com.yunfeiyun.agmp.common.utils.StringUtils;
|
|
|
import com.yunfeiyun.agmp.iot.common.domain.IotDeviceconn;
|
|
|
import com.yunfeiyun.agmp.iot.common.domain.TosDevicetype;
|
|
|
import com.yunfeiyun.agmp.iot.common.enums.IotDeviceconnTypeEnum;
|
|
|
@@ -148,6 +149,7 @@ public class TosDevicetypeServiceImpl implements ITosDevicetypeService {
|
|
|
for (TosDevicetype devicetype : tosDevicetypeList) {
|
|
|
IotDevicetypeListResVo iotDevicetypeListResVo = new IotDevicetypeListResVo();
|
|
|
BeanUtils.copyProperties(devicetype, iotDevicetypeListResVo);
|
|
|
+ iotDevicetypeListResVo.setCommonDisable(StringUtils.isEmpty(devicetype.getDevTypeConfig()));
|
|
|
iotDevicetypeListResVoList.add(iotDevicetypeListResVo);
|
|
|
}
|
|
|
return iotDevicetypeListResVoList;
|