瀏覽代碼

学生报告试卷分析修复

tags/正式版本
王宁 2 年之前
父節點
當前提交
753377770a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      sexam/src/main/resources/mapper/report/ERstudentMapper.xml

+ 1
- 1
sexam/src/main/resources/mapper/report/ERstudentMapper.xml 查看文件

@@ -181,7 +181,7 @@
181 181
         mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
182 182
         from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
183 183
         left join t_question mq on q.questionpid=mq.questionid
184
-        left join e_rclass_question cq on (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
184
+        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)
185 185
         left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
186 186
         where sq.epid=#{epid} and sq.studentid=#{studentid} GROUP BY sq.epsqid order by sq.qorder,q.sorder
187 187
     </select>

Loading…
取消
儲存