select intention_id, type, user_id, major_id, major_name, status, sort, remarks, create_at, update_at, del_flag from mall_user_major_intention insert into mall_user_major_intention type, user_id, major_id, major_name, status, sort, remarks, create_at, update_at, del_flag, #{type}, #{userId}, #{majorId}, #{majorName}, #{status}, #{sort}, #{remarks}, #{createAt}, #{updateAt}, #{delFlag}, update mall_user_major_intention type = #{type}, user_id = #{userId}, major_id = #{majorId}, major_name = #{majorName}, status = #{status}, sort = #{sort}, remarks = #{remarks}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, where intention_id = #{intentionId} delete from mall_user_major_intention where intention_id = #{intentionId} delete from mall_user_major_intention where intention_id in #{intentionId} delete from mall_user_major_intention where user_id = #{userId}