|
@@ -23,7 +23,7 @@ public interface TDDeviceMapper extends BaseMapperX<TDDeviceDO> {
|
|
@Select("SELECT * FROM iot_log.device_${deviceName} WHERE ts between #{ts} and #{ts1}")
|
|
@Select("SELECT * FROM iot_log.device_${deviceName} WHERE ts between #{ts} and #{ts1}")
|
|
@DS("tdengine")
|
|
@DS("tdengine")
|
|
@TenantIgnore
|
|
@TenantIgnore
|
|
- List<DeviceVO> selectBySpan(@Param("deviceName") String tableName, @Param("ts") Timestamp ts);
|
|
|
|
|
|
+ List<DeviceVO> selectBySpan(@Param("deviceName") String tableName, @Param("ts") Timestamp ts,@Param("ts1") Timestamp ts1);
|
|
|
|
|
|
@Select("SELECT * FROM iot_log.device_${deviceName} WHERE ts = #{ts}")
|
|
@Select("SELECT * FROM iot_log.device_${deviceName} WHERE ts = #{ts}")
|
|
@DS("tdengine")
|
|
@DS("tdengine")
|