xiatian 1 ano atrás
pai
commit
e4d36ec241

+ 2 - 1
teachcloud-mark/src/main/resources/mapper/ScanAnswerCardMapper.xml

@@ -25,7 +25,8 @@
     
 	<select id="cardList"
             resultType="com.qmth.teachcloud.mark.bean.answercard.AnswerCardVo">
-        select t.*
+        select t.*,t.paper_number coursePaperNumber,f.course_code,f.course_name
+        left join mark_paper f on t.exam_id=f.exam_id and t.course_paper_id=f.course_paper_id
         where t.exam_id=#{examId}
         <if test="coursePaperId != null and coursePaperId !=''">
             and t.course_paper_id=#{coursePaperId}