|
@@ -327,4 +327,15 @@
|
327
|
327
|
(#{q.studentid},#{q.examid},#{q.subjectid},#{q.mpid},#{q.mpsid},#{q.mptqid},#{q.mblockid},#{q.ctype},#{q.questionid},#{q.qorder},#{q.qn},#{q.qscore})
|
328
|
328
|
</foreach>
|
329
|
329
|
</insert>
|
|
330
|
+
|
|
331
|
+ <!--获取考试对应的所有参考学生考试信息-->
|
|
332
|
+ <select id="listAllStuQues" resultType="com.xhkjedu.smarking.model.stupaper.MsPaperStudentQuestion">
|
|
333
|
+ select sq.mpsqid,sq.studentid,sq.subjectid,sq.mpid,sq.mpsid,sq.mptqid,sq.ctype,sq.questionid,
|
|
334
|
+ sq.qn,sq.qorder,sq.qscore,sq.answered,sq.answertype,sq.stuanswer,sq.converted,sq.answertime,
|
|
335
|
+ sq.costtime,sq.checked,sq.stuscore,sq.stumerge,sq.hasgood,sq.hasbad,q.qtype,q.qanswer
|
|
336
|
+ from ms_paper_student_question sq
|
|
337
|
+ left join ms_paper_student ps on sq.mpsid=ps.mpsid
|
|
338
|
+ left join ms_paper_qtype_question q on sq.mptqid=q.mptqid
|
|
339
|
+ where sq.examid=#{examid} and ps.sstate=2 order by sq.mpid,sq.studentid
|
|
340
|
+ </select>
|
330
|
341
|
</mapper>
|