ソースを参照

1.处理分享时,查询乐团列表时,只查询进行中的乐团

yuanliang 2 年 前
コミット
4d8a4a5208

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

@@ -306,6 +306,11 @@
         SELECT mg.* FROM music_group mg
         LEFT JOIN cooperation_organ co ON mg.cooperation_organ_id_ = co.id_
         <include refid="musicGroupQueryPageSql"/>
+        <where>
+            <if test="status != null and status.trim() != ''">
+                AND mg.status_ = #{stauts}
+            </if>
+        </where>
         ORDER BY mg.create_time_ DESC,mg.id_
         <include refid="global.limit"/>
     </select>