select id, mqtt_topic, qos, topic_name, handle_method, handle_type, siteId, create_by, create_time, update_by, update_time from ems_mqtt_topic_config
insert into ems_mqtt_topic_config
mqtt_topic,
qos,
topic_name,
handle_method,
handle_type,
siteId,
create_by,
create_time,
update_by,
update_time,
#{mqttTopic},
#{qos},
#{topicName},
#{handleMethod},
#{handleType},
#{siteId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update ems_mqtt_topic_config
mqtt_topic = #{mqttTopic},
qos = #{qos},
topic_name = #{topicName},
handle_method = #{handleMethod},
handle_type = #{handleType},
siteId = #{siteId},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from ems_mqtt_topic_config where id = #{id}
delete from ems_mqtt_topic_config where id in
#{id}