Selaa lähdekoodia

附件返回答题

tags/正式版本
王宁 2 vuotta sitten
vanhempi
commit
a7ce270496

+ 3
- 2
sexam/src/main/resources/mapper/paperstudent/EPaperStudentMapper.xml Näytä tiedosto

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

Loading…
Peruuta
Tallenna