|
@@ -597,7 +597,7 @@
|
|
practice_group pg
|
|
practice_group pg
|
|
LEFT JOIN class_group cg ON pg.id_=cg.music_group_id_ AND cg.group_type_='PRACTICE'
|
|
LEFT JOIN class_group cg ON pg.id_=cg.music_group_id_ AND cg.group_type_='PRACTICE'
|
|
WHERE
|
|
WHERE
|
|
- pg.user_id_ = #{teacherId} AND cg.del_flag_ = 0 AND pg.group_status_!='CANCEL' AND pg.group_status_!='LOCK'
|
|
|
|
|
|
+ pg.user_id_ = #{teacherId} AND cg.del_flag_ = 0
|
|
<if test="status == null or status == ''">
|
|
<if test="status == null or status == ''">
|
|
AND pg.group_status_!='CANCEL' AND pg.group_status_!='LOCK'
|
|
AND pg.group_status_!='CANCEL' AND pg.group_status_!='LOCK'
|
|
</if>
|
|
</if>
|