|
@@ -13,9 +13,7 @@
|
13
|
13
|
from t_recite_student rs left join t_class c on rs.classid = c.classid
|
14
|
14
|
left join t_school s on rs.schoolid=s.schoolid
|
15
|
15
|
left join t_recite r on rs.reciteid=r.reciteid
|
16
|
|
- left join t_class_teacher ct on rs.classid=ct.classid
|
17
|
|
- left join t_teacher_subjectbook ts on ct.teacherid=ts.teacherid
|
18
|
|
- where rs.reciteid=#{recite.reciteid} and ct.teacherid=#{recite.createid} and ts.subjectid=r.subjectid
|
|
16
|
+ where rs.reciteid=#{recite.reciteid}
|
19
|
17
|
<if test="recite.classids!=null and recite.classids!=''">
|
20
|
18
|
and rs.classid in (${recite.classids})
|
21
|
19
|
</if>
|