Explorar o código

fix:专辑选曲目,排序

liujunchi %!s(int64=3) %!d(string=hai) anos
pai
achega
04fef16395

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

@@ -146,11 +146,12 @@
             <if test="param.id != null">
                 <if test="param.type == 2">
                     and amr.album_id_ = #{param.id}
-                    order by amr.create_time_
+                    order by amr.create_time_ desc
                 </if>
                 <if test="param.type == 1">
                     and t.id_ not in(select amr2.music_sheet_id_  from album_music_relate amr2
                         where amr2.album_id_ = #{param.id})
+                    order by t.id_ desc
                 </if>
             </if>
         </where>