ts, raw_ts as rawId, tslver_id as tslverId, line, val insert into devicesv2.devices_#{slopeData.serialNumber} using devicesv2.devices (#{slopeData.tagsTitle}) tags (#{slopeData.tags}) (ts, raw_ts, tslver_id, guid, line, val, create_time) VALUES (#{slopeData.ts}, #{slopeData.rawId}, #{slopeData.tslverId}, #{slopeData.guid}, #{slopeData.line}, #{slopeData.val}, #{slopeData.createTime}) CREATE TABLE #{name} ( ts TIMESTAMP, raw_id TIMESTAMP, tslver_id TINYINT(4), guid VARCHAR(64), line VARCHAR(16), val VARCHAR(16), create_time TIMESTAMP )