记得上下班打卡 | git大法好,push需谨慎

Commit 6d3e756d authored by jiangxiulong's avatar jiangxiulong

推荐演出的排序

parent 73a040fa
...@@ -548,7 +548,7 @@ public class DataUtils { ...@@ -548,7 +548,7 @@ public class DataUtils {
// 固定条件 // 固定条件
Query query = getCommonWhere(); Query query = getCommonWhere();
// 排序 // 排序
Sort sortName = Sort.by(Sort.Direction.ASC, "timeStart"); Sort sortName = Sort.by(Sort.Direction.DESC, "isRecommend");
query.with(sortName); query.with(sortName);
// 不要查询的字段 // 不要查询的字段
query.fields().exclude("details"); query.fields().exclude("details");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment