|
@@ -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>
|