fix: 物联网平台,amqp数据接入并插入TD数据库相关逻辑编码。

This commit is contained in:
tianyongbao
2026-01-10 01:20:51 +08:00
parent d1c829d410
commit 5bd63f83df
56 changed files with 4842 additions and 158 deletions

View File

@@ -40,6 +40,16 @@ public interface DeviceSensorDataMapper {
* @return 结果
*/
void createTable(DeviceSensorData deviceSensorData);
/**
* 检查子表是否存在
*
* @param serialNum 设备序列号
* @return 存在返回1不存在返回0
*/
@DS("taos")
@InterceptorIgnore(tenantLine = "true")
Integer checkTableExists(@Param("serialNum") String serialNum);
/**
* 批量插入数据