Commit 5b3e1a8e806ae3382a588e4d6e1d936bc1995e78

Authored by haohao
Committed by YunaiV
1 parent 9ee57dce

feat(iot): 在设备属性插入方法中添加时间戳参数

yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/tdengine/IotDevicePropertyMapper.java
@@ -81,6 +81,7 @@ public interface IotDevicePropertyMapper { @@ -81,6 +81,7 @@ public interface IotDevicePropertyMapper {
81 81
82 void insert(@Param("device") IotDeviceDO device, 82 void insert(@Param("device") IotDeviceDO device,
83 @Param("properties") Map<String, Object> properties, 83 @Param("properties") Map<String, Object> properties,
  84 + @Param("ts") Long ts,
84 @Param("reportTime") Long reportTime); 85 @Param("reportTime") Long reportTime);
85 86
86 List<IotDevicePropertyRespVO> selectListByHistory(@Param("reqVO") IotDevicePropertyHistoryListReqVO reqVO); 87 List<IotDevicePropertyRespVO> selectListByHistory(@Param("reqVO") IotDevicePropertyHistoryListReqVO reqVO);