|
@@ -165,7 +165,7 @@
|
|
|
<sql id="queryWhereAndOrder">
|
|
|
where t.exam_id=#{query.examId}
|
|
|
<if test="query.status != null and query.status.size>0">
|
|
|
- AND t.status in
|
|
|
+ AND t.scan_status in
|
|
|
<foreach collection="query.status" index="index" item="st"
|
|
|
open="(" separator="," close=")">
|
|
|
#{st}
|
|
@@ -217,7 +217,7 @@
|
|
|
</sql>
|
|
|
<select id="queryPage"
|
|
|
resultType="com.qmth.teachcloud.mark.bean.scananswer.AnswerQueryVo">
|
|
|
- select t.*,t.paper_number coursePaperNumber,c.paper_count cardPaperCount
|
|
|
+ select t.*,t.scan_status status,t.paper_number coursePaperNumber,c.paper_count cardPaperCount
|
|
|
from mark_student t
|
|
|
left join scan_answer_card c on t.exam_id=c.exam_id and t.card_number=c.number
|
|
|
left join mark_paper s on s.course_paper_id=t.course_paper_id and s.exam_id=t.exam_id
|