select id, template_name, description, item_type, included_resources, discovery_item_type, item_name, item_description, create_time, update_time, creator_id, creator_name, updater_id, updater_name from mtm_monitoring_template insert into mtm_monitoring_template template_name, description, item_type, included_resources, discovery_item_type, item_name, item_description, create_time, update_time, creator_id, creator_name, updater_id, updater_name, #{templateName}, #{description}, #{itemType}, #{includedResources}, #{discoveryItemType}, #{itemName}, #{itemDescription}, #{createTime}, #{updateTime}, #{creatorId}, #{creatorName}, #{updaterId}, #{updaterName}, update mtm_monitoring_template template_name = #{templateName}, description = #{description}, item_type = #{itemType}, included_resources = #{includedResources}, discovery_item_type = #{discoveryItemType}, item_name = #{itemName}, item_description = #{itemDescription}, create_time = #{createTime}, update_time = #{updateTime}, creator_id = #{creatorId}, creator_name = #{creatorName}, updater_id = #{updaterId}, updater_name = #{updaterName}, where id = #{id} delete from mtm_monitoring_template where id = #{id} delete from mtm_monitoring_template where id in #{id}