Browse Source

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

zouxuan 1 year ago
parent
commit
24f9c9d5fd

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

@@ -157,7 +157,7 @@
         <if test="param.myself == null or param.myself == false ">
             t.top_flag_ desc,t.sort_number_ desc,
         </if>
-         t.id_ desc
+         t.cbs_music_sheet_id_ desc
     </select>
 
     <sql id="QueryInfo">
@@ -169,6 +169,11 @@
             t.music_sheet_name_ like concat('%',#{param.idAndName},'%') or
             t.composer_ like concat ('%',#{param.idAndName},'%'))
         </if>
+        <if test="param.search != null and param.search != ''">
+            and (t.cbs_music_sheet_id_ like concat('%',#{param.search},'%') or
+            t.music_sheet_name_ like concat('%',#{param.search},'%') or
+            t.composer_ like concat ('%',#{param.search},'%'))
+        </if>
         <if test="param.providerType != null">
             and t.provider_type_ = #{param.providerType}
         </if>