Browse Source

附件返回答题

tags/正式版本
王宁 2 years ago
parent
commit
a7ce270496

+ 3
- 2
sexam/src/main/resources/mapper/paperstudent/EPaperStudentMapper.xml View File

71
     <!--学生试卷附件(android)-->
71
     <!--学生试卷附件(android)-->
72
     <select id="listStuPaperFjQuestionsForAndroid" resultType="java.util.Map">
72
     <select id="listStuPaperFjQuestionsForAndroid" resultType="java.util.Map">
73
         select distinct psq.epsqid,psq.questionid,psq.qn,psq.qorder,psq.answered,psq.answertype,psq.stuanswer,
73
         select distinct psq.epsqid,psq.questionid,psq.qn,psq.qorder,psq.answered,psq.answertype,psq.stuanswer,
74
-        psq.stuanswertxt,psq.eptqid,pq.score,pq.optionnum,pq.ctype,pq.qtypeid,pq.qtypename
74
+        psq.stuanswertxt,psq.eptqid,pq.score,pq.answer,pq.optionnum,pq.ctype,pq.qtypeid,pq.qtypename
75
         from e_paper_student_question psq left join e_paper_qtype_question pq on psq.eptqid=pq.eptqid
75
         from e_paper_student_question psq left join e_paper_qtype_question pq on psq.eptqid=pq.eptqid
76
         where psq.epsid=#{epsid} order by psq.qorder
76
         where psq.epsid=#{epsid} order by psq.qorder
77
     </select>
77
     </select>
139
             <result column="qorder" property="qorder"></result>
139
             <result column="qorder" property="qorder"></result>
140
             <result column="qn" property="qn"></result>
140
             <result column="qn" property="qn"></result>
141
             <result column="eptqid" property="eptqid"></result>
141
             <result column="eptqid" property="eptqid"></result>
142
+            <result column="answer" property="answer"></result>
142
             <result column="qtypeid" property="qtypeid"></result>
143
             <result column="qtypeid" property="qtypeid"></result>
143
             <result column="qtypename" property="qtypename"></result>
144
             <result column="qtypename" property="qtypename"></result>
144
             <result column="qctype" property="ctype"></result>
145
             <result column="qctype" property="ctype"></result>
153
     <select id="listStuPaperFjQuestionsForWeb" resultMap="fjtypeQuestions">
154
     <select id="listStuPaperFjQuestionsForWeb" resultMap="fjtypeQuestions">
154
         select pt.eptid,pt.ctype,pt.eptname,pt.eptnum,pt.eptorder,pt.eptscore,
155
         select pt.eptid,pt.ctype,pt.eptname,pt.eptnum,pt.eptorder,pt.eptscore,
155
                psq.epsqid,psq.qn,psq.qorder,psq.answered,psq.answertype,psq.stuanswer,
156
                psq.epsqid,psq.qn,psq.qorder,psq.answered,psq.answertype,psq.stuanswer,
156
-               psq.stuanswertxt,psq.eptqid,psq.qscore score,pq.optionnum,pq.ctype qctype,pq.qtypeid,pq.qtypename
157
+               psq.stuanswertxt,psq.eptqid,psq.qscore score,pq.optionnum,pq.ctype qctype,pq.qtypeid,pq.qtypename,pq.answer
157
         from e_paper_student_question psq left join e_paper_qtype_question pq on psq.eptqid=pq.eptqid
158
         from e_paper_student_question psq left join e_paper_qtype_question pq on psq.eptqid=pq.eptqid
158
         left join e_paper_qtype pt on pq.eptid=pt.eptid
159
         left join e_paper_qtype pt on pq.eptid=pt.eptid
159
         where psq.epsid=#{epsid} order by pt.eptorder, psq.qorder
160
         where psq.epsid=#{epsid} order by pt.eptorder, psq.qorder

Loading…
Cancel
Save