|
@@ -61,8 +61,8 @@
|
|
|
left join class_group cg ON cg.id_ = cs.class_group_id_
|
|
|
left join music_group mg ON mg.id_ = cs.music_group_id_
|
|
|
left join organization o ON o.id_ = mg.organ_id_
|
|
|
- where cs.group_type_ = 'MUSIC' AND cs.`del_flag_` = 0 AND cs.is_lock_ = 0 and cs.pre_course_flag_ != 1
|
|
|
- group by cs.class_group_id_,cs.type_ order by cs.organ_id_,cs.class_group_id_;
|
|
|
+ where cs.group_type_ = 'MUSIC' AND cs.`del_flag_` = 0 AND cs.is_lock_ = 0 and cs.pre_course_flag_ != 1 and cg.del_flag_ = 0
|
|
|
+ group by cs.class_group_id_,cs.type_ order by cs.organ_id_,cs.class_group_id_
|
|
|
</select>
|
|
|
<select id="exportBalancedRelationshipVipCourse"
|
|
|
resultType="com.ym.mec.biz.dal.dto.ExportWrapper$ExportBalancedRelationshipVipCourse">
|