【代码评审】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) -> {