CREATE STABLE product_property_${productId} ( ts TIMESTAMP, report_time TIMESTAMP, ${field.field} ${field.type} (${field.length}) ) TAGS ( device_id BIGINT ) ALTER STABLE product_property_${productId} ADD COLUMN ${field.field} ${field.type} (${field.length}) ALTER STABLE product_property_${productId} MODIFY COLUMN ${field.field} ${field.type} (${field.length}) ALTER STABLE product_property_${productId} DROP COLUMN ${field.field} INSERT INTO device_property_${device.id} USING product_property_${device.productId} TAGS ('${device.id}') (ts, report_time, ${@cn.hutool.core.util.StrUtil@toUnderlineCase(key)} ) VALUES (NOW, #{reportTime}, #{value} )