|
@@ -181,6 +181,7 @@
|
181
|
181
|
<resultMap id="questionResult" type="java.util.Map">
|
182
|
182
|
<result property="qscore" column="qscore"></result>
|
183
|
183
|
<result property="qorder" column="qorder"></result>
|
|
184
|
+ <result property="qn" column="qn"></result>
|
184
|
185
|
<collection property="students" ofType="java.util.Map" javaType="java.util.List">
|
185
|
186
|
<result property="stuscore" column="stuscore"></result>
|
186
|
187
|
<result property="answered" column="answered"></result>
|
|
@@ -198,7 +199,7 @@
|
198
|
199
|
</collection>
|
199
|
200
|
</resultMap>
|
200
|
201
|
<select id="sqcorrectList" resultMap="questionResult">
|
201
|
|
- select pss.qscore,pss.qorder,pss.stuscore,pss.answered,pss.checked,pss.checkcomm,pss.psid,pss.pssid
|
|
202
|
+ select pss.qscore,pss.qn,pss.qorder,pss.stuscore,pss.answered,pss.checked,pss.checkcomm,pss.psid,pss.pssid
|
202
|
203
|
,pss.answertype,pss.useranswer,pss.converted,pss.useranswertext,pss.useranswertxt,u.username,ps1.psstate
|
203
|
204
|
from t_paper_student_scantron pss left join t_paper_scantron ps on pss.pscaid = ps.pscaid
|
204
|
205
|
left join t_user u on pss.studentid = u.userid
|