Explorar o código

一堆导出需求

zouxuan hai 1 ano
pai
achega
80aaa7eadf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/ExportMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/ExportMapper.xml

@@ -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">