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

Commit 1e950af5 authored by jiangxiulong's avatar jiangxiulong

nft商品列表 DESC

parent 0112ddf3
......@@ -55,7 +55,7 @@ public class GoblinNftJobServiceImpl {
.and("skuAppear").is("0")
);
// 分页 排序:按照开售时间
Pageable pageable = PageRequest.of(0, 100, Sort.by(Sort.Direction.ASC, "saleStartTime"));
Pageable pageable = PageRequest.of(0, 100, Sort.by(Sort.Direction.DESC, "saleStartTime"));
query.with(pageable);
// 查询
List<GoblinNftGoodsSkuListJobVo> skuInfoVos = mongoTemplate.find(query, GoblinNftGoodsSkuListJobVo.class, GoblinGoodsSkuInfoVo.class.getSimpleName());
......
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