| | |
| | | |
| | | <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=","> |
| | |
| | | |
| | | <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=")"> |
| | |
| | | (#{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 |