[feat] 规则链添加切换设备节点

This commit is contained in:
PandaX
2023-10-30 13:58:08 +08:00
parent 777ecbd2c0
commit 9a3a27d7c0

View File

@@ -191,7 +191,7 @@ func (m *deviceModelImpl) Delete(ids []string) {
}
}
// 获取Tdengine时序数据
// 创建Tdengine时序数据
func createDeviceTable(productId, device string) error {
err := global.TdDb.CreateTable(productId+"_"+entity.ATTRIBUTES_TSL, device+"_"+entity.ATTRIBUTES_TSL)
if err != nil {