【代码评审】IoT:增加相关待定项
This commit is contained in:
parent
3ab7ad484a
commit
75bca650da
|
@ -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) -> {
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue