| | |
| | | where a.exam_paper_id = #{id} |
| | | </select> |
| | | |
| | | <select id="saveMissExamUser" resultType="com.mindskip.xzs.domain.ExamMiss"> |
| | | INSERT INTO t_exam_miss(exam_id, user_id) |
| | | SELECT a.id, |
| | | b.user_id |
| | | FROM t_exam_paper a |
| | | left join t_exam_paper_user b on a.id = b.exam_paper_id |
| | | left join t_exam_paper_answer c on a.id = c.exam_paper_id and c.create_user = b.user_id |
| | | WHERE a.id = #{examPaperId} |
| | | and c.id is null |
| | | </select> |
| | | |
| | | <select id="selectTimeTaskPaper" resultType="com.mindskip.xzs.domain.ExamPaper"> |
| | | select id, limit_end_time from t_exam_paper where paper_type = 4 and limit_end_time >= #{time} and deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |