|
@@ -338,13 +338,13 @@
|
|
|
</where>
|
|
|
order by
|
|
|
<choose>
|
|
|
- <when test="param.musicSortType.code == 'TOP'">
|
|
|
+ <when test="param.musicSortType != null and param.musicSortType.code == 'TOP'">
|
|
|
t.top_flag_ desc, t.sort_number_ desc,
|
|
|
</when>
|
|
|
- <when test="param.musicSortType.code == 'HOT'">
|
|
|
+ <when test="param.musicSortType != null and param.musicSortType.code == 'HOT'">
|
|
|
t.favorite_count_ desc,
|
|
|
</when>
|
|
|
- <when test="param.musicSortType.code == 'NEW'">
|
|
|
+ <when test="param.musicSortType != null and param.musicSortType.code == 'NEW'">
|
|
|
t.first_pass_audit_time_ desc,
|
|
|
</when>
|
|
|
<otherwise>
|