select id, cfgId, srvId, alarmInfo, alarmName, intervalA, intervalB, level, monitorElementId, monitorItemId, monitorItemName, tgId, threshold, type, unit, state, remark, is_del, create_by, create_time, update_by, update_time from dev_pitmonit_southsmos_threshold insert into dev_pitmonit_southsmos_threshold cfgId, srvId, alarmInfo, alarmName, intervalA, intervalB, level, monitorElementId, monitorItemId, monitorItemName, tgId, threshold, type, unit, state, remark, is_del, create_by, create_time, update_by, update_time, #{cfgId}, #{srvId}, #{alarmInfo}, #{alarmName}, #{intervalA}, #{intervalB}, #{level}, #{monitorElementId}, #{monitorItemId}, #{monitorItemName}, #{tgId}, #{threshold}, #{type}, #{unit}, #{state}, #{remark}, #{isDel}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update dev_pitmonit_southsmos_threshold cfgId = #{cfgId}, srvId = #{srvId}, alarmInfo = #{alarmInfo}, alarmName = #{alarmName}, intervalA = #{intervalA}, intervalB = #{intervalB}, level = #{level}, monitorElementId = #{monitorElementId}, monitorItemId = #{monitorItemId}, monitorItemName = #{monitorItemName}, tgId = #{tgId}, threshold = #{threshold}, type = #{type}, unit = #{unit}, state = #{state}, remark = #{remark}, is_del = #{isDel}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from dev_pitmonit_southsmos_threshold where id = #{id} delete from dev_pitmonit_southsmos_threshold where id in #{id}