Ver código fonte

考试缺考学生详情

tags/正式版本
雍文秀 2 anos atrás
pai
commit
ebea76427d

+ 1
- 1
sexam/src/main/resources/mapper/paperstudent/EPaperStudentMapper.xml Ver arquivo

@@ -342,7 +342,7 @@
342 342
     <select id="listQkDetail" resultType="java.util.Map">
343 343
         select ec.classid,ec.classname,ec.classnum
344 344
         ,count(distinct case when eps.sstate=3 then eps.epsid else null end)qknum
345
-        ,group_concat(case when eps.sstate=3 then eps.studentid else null end)userids
345
+        ,ifnull(group_concat(case when eps.sstate=3 then eps.studentid else null end),'')userids
346 346
         ,truncate(count(distinct case when eps.sstate=3 then eps.epsid else null end)*100/count(*),2)qkrate
347 347
         from e_paper_student eps left join e_class ec on eps.examid=ec.examid and eps.classid=ec.classid
348 348
         where eps.epid=#{epid} group by eps.classid order by ec.ecid

Carregando…
Cancelar
Salvar