|
@@ -1468,7 +1468,6 @@
|
|
|
<include refid="global.limit"/>
|
|
|
</select>
|
|
|
<select id="queryGroupClassGroupIds" resultType="java.lang.Long">
|
|
|
- SELECT GROUP_CONCAT(c.id_) FROM (
|
|
|
SELECT cg.id_ FROM music_group mg
|
|
|
LEFT JOIN class_group cg ON cg.music_group_id_ = mg.id_
|
|
|
WHERE mg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'MUSIC' AND mg.status_ = 'PROGRESS'
|
|
@@ -1479,6 +1478,6 @@
|
|
|
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')c
|
|
|
+ WHERE pg.educational_teacher_id_ = #{userId} AND cg.group_type_ = 'PRACTICE' AND pg.group_status_ = 'NORMAL'
|
|
|
</select>
|
|
|
</mapper>
|