浏览代码

曲目排序规则调整

zouxuan 5 月之前
父节点
当前提交
5acc0786b9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

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

@@ -199,7 +199,7 @@
         <if test="param.sortByAlbumIdDesc != null">
             if(isnull(tam.id_),0,1),
         </if>
-        <if test="param.myself != null or param.myself == true ">
+        <if test="param.myself != null and param.myself == true ">
             t.cbs_music_sheet_id_ desc,
         </if>
         CONVERT(t.music_sheet_name_ USING gbk) COLLATE gbk_chinese_ci,
@@ -551,7 +551,7 @@
                 t.first_pass_audit_time_ desc,
             </when>
             <otherwise>
-                <if test="param.myself != null or param.myself == true ">
+                <if test="param.myself != null and param.myself == true ">
                     t.cbs_music_sheet_id_ desc,
                 </if>
             </otherwise>