【代码评审】IoT:增加相关待定项

This commit is contained in:
YunaiV 2025-02-15 08:29:50 +08:00
parent 3ab7ad484a
commit 75bca650da
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ public class IotDevicePropertyServiceImpl implements IotDevicePropertyService {
}
// 2. 根据物模型拼接合法的属性
// TODO @芋艿待定 004赋能后属性到底以 thingModel 为准ik还是 db 的表结构为准tl
List<IotThingModelDO> thingModels = thingModelService.getThingModelListByProductKeyFromCache(device.getProductKey());
Map<String, Object> properties = new HashMap<>();
((Map<?, ?>) message.getData()).forEach((key, value) -> {

View File

@ -20,6 +20,7 @@ import java.util.Map;
import static cn.iocoder.yudao.framework.common.exception.enums.GlobalErrorCodeConstants.BAD_REQUEST;
import static cn.iocoder.yudao.framework.common.exception.enums.GlobalErrorCodeConstants.INTERNAL_SERVER_ERROR;
// TODO @芋艿待定 005要不要简化成解析后统一处理只有一个 Handler
/**
* IoT 设备属性上报的 Vert.x Handler
*