|
@@ -1474,10 +1474,10 @@
|
|
|
UNION
|
|
|
SELECT cg.id_ FROM vip_group vg
|
|
|
LEFT JOIN class_group cg ON cg.music_group_id_ = vg.id_
|
|
|
- WHERE vg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'VIP' AND vg.group_status_ = 2 AND cg.del_flag_ = 0
|
|
|
+ WHERE vg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'VIP' AND cg.del_flag_ = 0
|
|
|
UNION
|
|
|
SELECT cg.id_ FROM practice_group pg
|
|
|
LEFT JOIN class_group cg ON cg.music_group_id_ = pg.id_
|
|
|
- WHERE pg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'PRACTICE' AND pg.group_status_ = 'NORMAL' AND cg.del_flag_ = 0
|
|
|
+ WHERE pg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'PRACTICE' AND cg.del_flag_ = 0
|
|
|
</select>
|
|
|
</mapper>
|