select id, question_id, student_id, category_id, category_name, create_time, source, school_id from exam_question_favorite
insert into exam_question_favorite
question_id,student_id,category_id,category_name,create_time,source,school_id,#{questionId},#{studentId},#{categoryId},#{categoryName},#{createTime},#{source},#{schoolId},
update exam_question_favorite
question_id = #{questionId},student_id = #{studentId},category_id = #{categoryId},category_name = #{categoryName},create_time = #{createTime},source = #{source},school_id = #{schoolId},
where id = #{id}
delete from exam_question_favorite where id = #{id}
delete from exam_question_favorite where id in
#{id}