zouxuan 4 years ago
parent
commit
46b34192a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/MusicGroupMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/MusicGroupMapper.xml

@@ -753,7 +753,7 @@
         SELECT * FROM music_group WHERE cooperation_organ_id_ = #{cooperationOrganId} AND status_ IN ('PROGRESS','PAUSE','PREPARE')
         SELECT * FROM music_group WHERE cooperation_organ_id_ = #{cooperationOrganId} AND status_ IN ('PROGRESS','PAUSE','PREPARE')
     </select>
     </select>
     <select id="findByCooperationId" resultMap="MusicGroup">
     <select id="findByCooperationId" resultMap="MusicGroup">
-        SELECT * FROM music_group WHERE cooperation_organ_id_ = #{cooperationId}
+        SELECT * FROM music_group WHERE cooperation_organ_id_ = #{cooperationId} AND del_flag_ = 0
     </select>
     </select>
 
 
     <select id="getStudentLastMusicGroup" resultMap="MusicGroup">
     <select id="getStudentLastMusicGroup" resultMap="MusicGroup">