Преглед изворни кода

获取预习、背诵班级完善

tags/正式3.10.0
雍文秀 пре 1 година
родитељ
комит
5fb4fcb1af

+ 1
- 3
sstudy/src/main/resources/mapper/recite/ReciteMapper.xml Прегледај датотеку

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

+ 1
- 3
sstudy/src/main/resources/mapper/resource/GuideMapper.xml Прегледај датотеку

@@ -334,9 +334,7 @@
334 334
         from t_guide_group_student rs left join t_class c on rs.classid = c.classid
335 335
         left join t_guide g on rs.guideid=g.guideid
336 336
         left join t_school s on rs.schoolid=s.schoolid
337
-        left join t_class_teacher ct on rs.classid=ct.classid
338
-        left join t_teacher_subjectbook ts on ct.teacherid=ts.teacherid
339
-        where rs.guideid=#{guide.guideid} and ct.teacherid=#{guide.createid} and ts.subjectid=g.subjectid
337
+        where rs.guideid=#{guide.guideid}
340 338
         <if test="guide.classids!=null and guide.classids!=''">
341 339
             and rs.classid in (${guide.classids})
342 340
         </if>

Loading…
Откажи
Сачувај