xiangpei
2024-05-30 10ca479bf55120b338f9d2c6b1e3100190b5a035
src/main/resources/mapper/ExamPaperAnswerMapper.xml
@@ -233,7 +233,7 @@
  <update id="setMissExam">
    update t_exam_paper_answer
    set invalid = 1
    set invalid = 2
    where exam_paper_id = #{examPaperId}
    and create_user in (
    <foreach collection="userIds" item="item" index="index" separator=",">
@@ -244,7 +244,7 @@
  <update id="setMissExamByTemplate">
    update t_exam_paper_answer
    set invalid = 1
    set invalid = 2
    where exam_paper_id
      in
    <foreach collection="paperIds" item="item" separator="," open="(" close=")">
@@ -354,7 +354,7 @@
                  (#{item.examPaperId},#{item.userId})
        </foreach>
      </if>
    and (invalid = 0 or invalid is null)
    and (invalid = 0 or invalid is null or invalid = 2)
  </select>
  <select id="adminPageByGrade" resultMap="BaseResultMap" parameterType="com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradePageRequestVM">
    select