select command, alarm_type, user_id from ard_alarm_type_user insert into ard_alarm_type_user command, alarm_type, user_id, #{command}, #{alarmType}, #{userId}, update ard_alarm_type_user command = #{command}, alarm_type = #{alarmType}, user_id = #{userId}, where id = #{id} delete from ard_alarm_type_user where id = #{id} delete from ard_alarm_type_user where user_id in #{userId} delete from ard_alarm_type_user where user_id=#{userId} insert into ard_alarm_type_user(user_id,command,alarm_type) values (#{item.userId},#{item.command},#{item.alarmType})