Selaa lähdekoodia

手机教师端我的班级获取明细,老师信息获取调整

chenwen 2 vuotta sitten
vanhempi
commit
08f1a46ee2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      common/src/main/resources/mapper/base/Tclass.xml

+ 1 - 1
common/src/main/resources/mapper/base/Tclass.xml

@@ -146,7 +146,7 @@
 		
 		select cls.class_id classId,cls.class_name className,cst.name_ courseSortName,
 		cls.min_student minStudent,cls.max_student maxStudent,clm.name_  classroomName,cls.consult_phone  consultPhone,
-		(select GROUP_CONCAT(DISTINCT e.employee_name) from t_employee e where locate(e.employee_id,cls.course_teachers)>0 group by '1' ) teacherNames,
+		(select GROUP_CONCAT(DISTINCT e.employee_name) from t_employee e where e.employee_id=cls.course_teachers group by '1' ) teacherNames,
 		(select count(distinct student_id) from t_buy_log g where g.class_id=cls.class_id and g.del_if=false  and g.status='1') crtStudentCount
 		from t_class cls
 		left join t_course_base cbs on cls.course_id=cbs.course_id