|
@@ -104,6 +104,7 @@
|
104
|
104
|
<result property="hearfile" column="hearfile" />
|
105
|
105
|
<result property="qlevel" column="qlevel" />
|
106
|
106
|
<result property="sorder" column="sorder" />
|
|
107
|
+ <result property="complexity" column="complexity" />
|
107
|
108
|
<result property="questionpid" column="questionpid" />
|
108
|
109
|
<result property="mquestionid" column="mquestionid" />
|
109
|
110
|
<result property="mqstem" column="mqstem" />
|
|
@@ -115,6 +116,7 @@
|
115
|
116
|
<result property="mqlevel" column="mqlevel" />
|
116
|
117
|
<result property="mctype" column="mctype" />
|
117
|
118
|
<result property="msnum" column="msnum" />
|
|
119
|
+ <result property="mcomplexity" column="mcomplexity" />
|
118
|
120
|
<result property="classavgscore" column="classavgscore" />
|
119
|
121
|
<result property="gradeavgscore" column="gradeavgscore" />
|
120
|
122
|
<collection property="points" ofType="java.util.Map" javaType="java.util.List"
|
|
@@ -126,12 +128,12 @@
|
126
|
128
|
<select id="listStudentQuestionsTk" resultMap="listStudentQues">
|
127
|
129
|
select sq.epsqid,sq.eptqid,sq.ctype,sq.questionid,sq.qn,sq.qorder,sq.qscore,sq.stuscore,sq.answered,
|
128
|
130
|
sq.answertype,sq.stuanswer,sq.stuanswertxt,pq.answer,q.qstem,q.qoption,q.qanalyze,q.hashear,q.hearfile,
|
129
|
|
- q.qlevel,q.sorder,q.questionpid,mq.questionid mquestionid,mq.qstem mqstem,mq.qoption mqoption,mq.qanswer mqanswer,
|
|
131
|
+ q.qlevel,q.sorder,q.complexity,q.questionpid,mq.questionid mquestionid,mq.qstem mqstem,mq.qoption mqoption,mq.qanswer mqanswer,
|
130
|
132
|
mq.qanalyze mqanalyze,mq.hashear mhashear,mq.hearfile mhearfile,mq.qlevel mqlevel,mq.ctype mctype,mq.snum msnum,
|
131
|
|
- cq.classavgscore,cq.gradeavgscore
|
|
133
|
+ mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
|
132
|
134
|
from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
|
133
|
135
|
left join t_question mq on q.questionpid=mq.questionid
|
134
|
|
- left join e_rclass_question cq on sq.eptqid=cq.eptqid and sq.classid=cq.classid
|
|
136
|
+ left join e_rclass_question cq on (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
|
135
|
137
|
left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
|
136
|
138
|
where sq.epid=#{epid} and sq.studentid=#{studentid} GROUP BY sq.epsqid order by sq.qorder,q.sorder
|
137
|
139
|
</select>
|
|
@@ -149,9 +151,10 @@
|
149
|
151
|
|
150
|
152
|
<!--学生报告-试卷分析(题库)-->
|
151
|
153
|
<select id="listStudentQuestionsFj" resultType="java.util.Map">
|
152
|
|
- select sq.epsqid,sq.eptqid,sq.ctype,sq.questionid,sq.qn,sq.qorder,sq.qscore,sq.stuscore,sq.answered,
|
153
|
|
- sq.answertype,sq.stuanswer,sq.stuanswertxt,cq.classavgscore,cq.gradeavgscore
|
|
154
|
+ select sq.epsqid,sq.eptqid,sq.ctype,sq.qn,sq.qorder,sq.qscore,sq.stuscore,sq.answered,
|
|
155
|
+ sq.answertype,sq.stuanswer,sq.stuanswertxt,pq.answer,pq.qtypename,cq.classavgscore,cq.gradeavgscore
|
154
|
156
|
from e_paper_student_question sq left join e_rclass_question cq on sq.eptqid=cq.eptqid and sq.classid=cq.classid
|
|
157
|
+ left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
|
155
|
158
|
where sq.epid=#{epid} and sq.studentid=#{studentid} group by sq.epsqid order by sq.qorder
|
156
|
159
|
</select>
|
157
|
160
|
|
|
@@ -181,12 +184,12 @@
|
181
|
184
|
<select id="listStudentErrorQuestionsForTk" resultMap="listStudentQues">
|
182
|
185
|
select sq.epsqid,sq.eptqid,sq.ctype,sq.questionid,sq.qn,sq.qorder,sq.qscore,sq.stuscore,sq.answered,
|
183
|
186
|
sq.answertype,sq.stuanswer,sq.stuanswertxt,pq.answer,q.qstem,q.qoption,q.qanswer,q.qanalyze,q.hashear,q.hearfile,
|
184
|
|
- q.qlevel,q.sorder,q.questionpid,mq.questionid mquestionid,mq.qstem mqstem,mq.qoption mqoption,mq.qanswer mqanswer,
|
|
187
|
+ q.qlevel,q.sorder,q.complexity,q.questionpid,mq.questionid mquestionid,mq.qstem mqstem,mq.qoption mqoption,mq.qanswer mqanswer,
|
185
|
188
|
mq.qanalyze mqanalyze,mq.hashear mhashear,mq.hearfile mhearfile,mq.qlevel mqlevel,mq.ctype mctype,mq.snum msnum,
|
186
|
|
- cq.classavgscore,cq.gradeavgscore
|
|
189
|
+ mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
|
187
|
190
|
from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
|
188
|
191
|
left join t_question mq on q.questionpid=mq.questionid
|
189
|
|
- left join e_rclass_question cq on sq.eptqid=cq.eptqid and sq.classid=cq.classid
|
|
192
|
+ left join e_rclass_question cq on (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
|
190
|
193
|
left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
|
191
|
194
|
where sq.examid=#{examid} and sq.subjectid=#{subjectid} and sq.studentid=#{studentid} and sq.stuscore < sq.qscore
|
192
|
195
|
GROUP BY sq.epsqid order by sq.qorder,q.sorder
|
|
@@ -200,7 +203,6 @@
|
200
|
203
|
from e_paper_student_question sq left join e_rclass_question cq on sq.eptqid=cq.eptqid and sq.classid=cq.classid
|
201
|
204
|
left join e_paper_qtype_question q on sq.eptqid=q.eptqid
|
202
|
205
|
where sq.examid=#{examid} and sq.subjectid=#{subjectid} and sq.studentid=#{studentid} group by sq.epsqid order by sq.qorder
|
203
|
|
-
|
204
|
206
|
</select>
|
205
|
207
|
|
206
|
208
|
</mapper>
|