Explorar o código

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

chenwen %!s(int64=2) %!d(string=hai) anos
pai
achega
08f1a46ee2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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