|
@@ -41,8 +41,7 @@
|
|
|
IFNULL(cms.assign_score,'/') as assignScore
|
|
|
from
|
|
|
exam_sync_student ess
|
|
|
- join cloud_marking_score cms on 1 = 1
|
|
|
- cms.exam_sync_student_id = ess.id
|
|
|
+ join cloud_marking_score cms on cms.exam_sync_student_id = ess.id
|
|
|
<where>
|
|
|
<if test="schoolId != null and schoolId != ''">
|
|
|
and ess.school_id = #{schoolId}
|
|
@@ -51,7 +50,7 @@
|
|
|
and cms.school_id = #{orgId}
|
|
|
</if>
|
|
|
<if test="kcCollegeName != null and kcCollegeName != ''">
|
|
|
- and ecm.jgmc = #{kcCollegeName}
|
|
|
+ and ess.jgmc = #{kcCollegeName}
|
|
|
</if>
|
|
|
<if test="semesterId != null and semesterId != ''">
|
|
|
and cms.semester_id = #{semesterId}
|
|
@@ -63,10 +62,10 @@
|
|
|
and ess.kkbm = #{kkCollegeName}
|
|
|
</if>
|
|
|
<if test="clazzId != null and clazzId != ''">
|
|
|
- and ecm.jxb_id = #{clazzId}
|
|
|
+ and ess.jxb_id = #{clazzId}
|
|
|
</if>
|
|
|
<if test="teacherCode != null and teacherCode != ''">
|
|
|
- and ecm.jgh = #{teacherCode}
|
|
|
+ and ess.jgh = #{teacherCode}
|
|
|
</if>
|
|
|
</where>
|
|
|
group by
|