|
@@ -225,13 +225,13 @@
|
225
|
225
|
</collection>
|
226
|
226
|
</resultMap>
|
227
|
227
|
<select id="listStudentSubjectErrorQues" resultMap="listStudentSubjectErrorQues">
|
228
|
|
- select sq.subjectid,s.subjectname,p.ptype,sq.epsqid,sq.eptqid,q.questionid,q.qlevel,q.questionpid
|
|
228
|
+ select sq.subjectid,st.subjectname,p.ptype,sq.epsqid,sq.eptqid,q.questionid,q.qlevel,q.questionpid
|
229
|
229
|
from e_paper_student_question sq
|
230
|
230
|
left join t_question q on q.questionid=sq.questionid
|
231
|
|
- left join t_subject s on sq.subjectid=s.subjectid
|
232
|
231
|
left join t_question mq on q.questionpid=mq.questionid
|
233
|
232
|
left join e_paper p on sq.epid=p.epid
|
234
|
|
- where sq.examid=#{examid} and sq.studentid=#{studentid} and sq.stuscore < sq.qscore group by sq.epsqid order by s.subjectorder
|
|
233
|
+ left join e_subject st on p.esid=st.esid
|
|
234
|
+ where sq.examid=#{examid} and sq.studentid=#{studentid} and st.pstate=2 and sq.stuscore < sq.qscore group by sq.epsqid order by st.esid
|
235
|
235
|
</select>
|
236
|
236
|
<!--学生报告-错题集-学生科目下错题(题库)-->
|
237
|
237
|
<select id="listStudentErrorQuestionsForTk" resultMap="listStudentQues">
|