select id, command, alarm_type, create_time, user_id from ard_alarm_type_user insert into ard_alarm_type_user id, command, alarm_type, create_by, create_time, user_id, #{id}, #{command}, #{alarmType}, #{createBy}, #{createTime}, #{userId}, update ard_alarm_type_user command = #{command}, alarm_type = #{alarmType}, create_by = #{createBy}, create_time = #{createTime}, user_id = #{userId}, where id = #{id} delete from ard_alarm_type_user where id = #{id} delete from ard_alarm_type_user where id in #{id} delete from ard_alarm_type_user where user_id=#{userId}