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

Commit f1834248 authored by zhengfuxin's avatar zhengfuxin

修改排序,按照创建时间。

parent 5e5db225
...@@ -689,7 +689,7 @@ public class GoblinFrontServiceImpl implements GoblinFrontService { ...@@ -689,7 +689,7 @@ public class GoblinFrontServiceImpl implements GoblinFrontService {
if(sortType==1){ if(sortType==1){
sortName = Sort.by(Sort.Direction.DESC, "shelvesAt"); sortName = Sort.by(Sort.Direction.DESC, "shelvesAt");
}else if(sortType==2){ }else if(sortType==2){
sortName = Sort.by(Sort.Direction.DESC, "count"); sortName = Sort.by(Sort.Direction.DESC, "count","createdAt");
}else if(sortType==3){ }else if(sortType==3){
Document source = new Document(); Document source = new Document();
source.put("locale", "zh"); source.put("locale", "zh");
......
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