|
@@ -121,6 +121,7 @@
|
121
|
121
|
</select>
|
122
|
122
|
<resultMap id="questionResult" type="com.xhkjedu.sstudy.vo.question.QuestionClassDetailVo">
|
123
|
123
|
<result property="paperid" column="paperid"></result>
|
|
124
|
+ <result property="classid" column="classid"></result>
|
124
|
125
|
<result property="questionid" column="questionid"></result>
|
125
|
126
|
<result property="qscore" column="qscore"></result>
|
126
|
127
|
<result property="ctype" column="ctype"></result>
|
|
@@ -250,9 +251,10 @@
|
250
|
251
|
</select>
|
251
|
252
|
<!--班级作业学生作答情况-->
|
252
|
253
|
<select id="listStusAnswer" resultType="com.xhkjedu.sstudy.vo.paperstudent.PaperStudentQuestionVo">
|
253
|
|
- select questionid,studentid,useranswer,stuscore,qscore
|
|
254
|
+ select questionid,studentid,ifnull(useranswer,'')useranswer,stuscore,qscore
|
254
|
255
|
from t_paper_student_question
|
255
|
256
|
where paperid=#{question.paperid} and classid=#{question.classid} and questionpid=#{question.questionid}
|
|
257
|
+ and (answered=1 or checked=1)
|
256
|
258
|
</select>
|
257
|
259
|
<select id="complexDetail" resultMap="complexResult">
|
258
|
260
|
select qc.qscore,q.ctype,q.qstem,q.qoption,q.qanswer,q.qanalyze,q.complexity,q.hashear,q.hearfile
|