| | |
| | | |
| | | <select id="taskExamPage" resultMap="BaseResultMap" parameterType="com.mindskip.xzs.viewmodel.admin.exam.ExamPaperPageRequestVM"> |
| | | SELECT |
| | | <include refid="Base_Column_List"/> |
| | | FROM t_exam_paper |
| | | e.* |
| | | FROM t_exam_paper e |
| | | LEFT JOIN t_exam_paper_department s on s.exam_paper_id = e.id |
| | | <where> |
| | | and deleted=0 |
| | | and task_exam_id is null |
| | | and grade_level= #{level} |
| | | and paper_type=#{paperType} |
| | | and e.deleted=0 and s.deleted = 0 |
| | | and e.task_exam_id is null |
| | | and s.department_id = |
| | | #{level} |
| | | and e.paper_type=#{paperType} |
| | | </where> |
| | | group by e.id |
| | | </select> |
| | | |
| | | <select id="studentPage" resultMap="BaseResultMap" parameterType="com.mindskip.xzs.viewmodel.student.exam.ExamPaperPageVM"> |