|
@@ -17,7 +17,7 @@
|
17
|
17
|
select er.allscore,er.classmaxscore,er.classminscore,er.classavgscore,er.schoolmaxscore,er.schoolavgscore
|
18
|
18
|
,er.stunum,er.missnum,er.yxrate,er.lhrate,er.jgrate,er.dfrate,er.bzc
|
19
|
19
|
,er.classid,(case when er.classid=0 then '全部班级' else ec.classname end)classname
|
20
|
|
- ,(case when er.subjectid='zf' then '' else (select s.subjectname from t_subject s where
|
|
20
|
+ ,(case when er.subjectid='zf' then '总分' else (select s.subjectname from t_subject s where
|
21
|
21
|
er.subjectid=s.subjectid) end)subjectname
|
22
|
22
|
from e_rclass er left join e_class ec on er.examid = ec.examid and er.classid = ec.classid
|
23
|
23
|
where er.examid=#{examid} and er.classid=#{classid}
|