|
@@ -223,6 +223,10 @@ public class IotDeviceController {
|
|
|
if (Objects.nonNull(iotDevicePerson)) {
|
|
|
e.setChargeName(iotDevicePerson.get(e.getId()));
|
|
|
}
|
|
|
+ if (Objects.nonNull(e.getAssetClass())) {
|
|
|
+ IotProductClassifyDO iotProductClassify = iotProductClassifyService.getIotProductClassify(e.getAssetClass());
|
|
|
+ e.setAssetClassName(Objects.nonNull(iotProductClassify)?iotProductClassify.getName():"");
|
|
|
+ }
|
|
|
});
|
|
|
return success(new PageResult<>(iotDeviceRespVOS,
|
|
|
pageResult.getTotal()));
|