|
@@ -2649,8 +2649,7 @@
|
|
|
AND cgtm.`teacher_role_` = 'BISHOP'
|
|
|
LEFT JOIN `course_schedule` cs ON cs.`class_group_id_` = cg.`id_`
|
|
|
WHERE
|
|
|
- cgsm.user_id_=#{studentId}
|
|
|
- AND cgtm.teacher_role_='BISHOP'
|
|
|
+ cgtm.teacher_role_='BISHOP'
|
|
|
AND cgsm.status_ = 'NORMAL'
|
|
|
AND cg.group_type_ IN ( 'PRACTICE', 'MUSIC', 'VIP' )
|
|
|
AND cs.`id_` IS NOT NULL
|