Browse Source

学生错题集

tags/正式版本
王宁 2 years ago
parent
commit
72d921e596
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sexam/src/main/resources/mapper/report/ERstudentMapper.xml

+ 1
- 1
sexam/src/main/resources/mapper/report/ERstudentMapper.xml View File

@@ -237,7 +237,7 @@
237 237
                mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
238 238
         from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
239 239
         left join t_question mq on q.questionpid=mq.questionid
240
-        left join e_rclass_question cq on (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
240
+        left join e_rclass_question cq on sq.epid=cq.epid and sq.classid=cq.classid and (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
241 241
         left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
242 242
         where sq.examid=#{examid} and sq.subjectid=#{subjectid} and sq.studentid=#{studentid} and sq.stuscore < sq.qscore
243 243
         GROUP BY sq.epsqid order by sq.qorder,q.sorder

Loading…
Cancel
Save