Преглед на файлове

酷乐秀曲目来源改为内容平台

zouxuan преди 1 година
родител
ревизия
ede3a47f78
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

+ 3 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

@@ -140,8 +140,10 @@
             left join music_sheet_auth_record msar ON msar.music_sheet_id_ = t.id_
         </if>
         <where>
-            t.cbs_music_sheet_id_ IS NOT NULL
             <include refid="QueryInfo"/>
+            <if test="param.auditStatus == null">
+                t.cbs_music_sheet_id_ IS NOT NULL
+            </if>
             <if test="param.auditVersion != null ">
                 and #{param.auditVersion} = t.audit_version_
             </if>