insert into iot_data.dmp_log_signal_${MachineCode}_${collectMonth}
USING iot_data.super_dmp_log_signal TAGS (${MachineCode},${collectMonth})
(ts, trace_id, type, machine_name, affected_variable, variable_value,
status)
values (#{TimeStamp}, #{TraceId}, #{type}, #{MachineName}, #{AffectedVariable},
#{VariableValue}, #{status})
create table if not exists iot_data.dmp_log_signal_${machineCode}_${collectMonth} using iot_data.super_dmp_log_signal TAGS
(
${machineCode},${collectMonth}
)