select wrong_id, customer_code, subject_id, knownledge_id, knownledge_name, paper_type, paper_id, question_id, source, answers, answer1, answer2, wrong_count, right_count, total_count, score_total, score, duration, comment, state, created_time, updated_time from mxjb_wrong_book insert into mxjb_wrong_book wrong_id, customer_code, subject_id, knownledge_id, knownledge_name, paper_type, paper_id, question_id, source, answers, answer1, answer2, wrong_count, right_count, total_count, score_total, score, state, duration, comment, created_time, updated_time, #{wrongId}, #{customerCode}, #{subjectId}, #{knownledgeId}, #{knownledgeName}, #{paperType}, #{paperId}, #{questionId}, #{source}, #{answers}, #{answer1}, #{answer2}, #{wrongCount}, #{rightCount}, #{totalCount}, #{scoreTotal}, #{score}, #{state}, #{duration}, #{comment}, #{createdTime}, #{updatedTime}, update mxjb_wrong_book customer_code = #{customerCode}, subject_id = #{subjectId}, knownledge_id = #{knownledgeId}, knownledge_name = #{knownledgeName}, paper_type = #{paperType}, paper_id = #{paperId}, question_id = #{questionId}, source = #{source}, answers = #{answers}, answer1 = #{answer1}, answer2 = #{answer2}, wrong_count = #{wrongCount}, right_count = #{rightCount}, total_count = #{totalCount}, score_total = #{scoreTotal}, score = #{score}, state = #{state}, duration = #{duration}, comment = #{comment}, created_time = #{createdTime}, updated_time = #{updatedTime}, where wrong_id = #{wrongId} delete from mxjb_wrong_book where wrong_id = #{wrongId} delete from mxjb_wrong_book where wrong_id in #{wrongId} delete from mxjb_wrong_book where customer_code = #{customerCode} and question_id = #{questionId}