qirong
2023-06-16 a902b3ea7d5ec9b73c9ab54d09a6ab23fd5acb35
src/main/resources/mapper/ExamPaperMapper.xml
@@ -256,14 +256,17 @@
  <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">