|
@@ -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
|