优化分组排序

This commit is contained in:
chendt
2023-01-09 10:10:24 +08:00
parent 0f4d58ed4d
commit 7a4459a2f1

View File

@@ -55,7 +55,7 @@ public class ProdTagController {
page, new LambdaQueryWrapper<ProdTag>()
.eq(prodTag.getStatus() != null, ProdTag::getStatus, prodTag.getStatus())
.like(prodTag.getTitle() != null, ProdTag::getTitle, prodTag.getTitle())
.orderByDesc(ProdTag::getSeq));
.orderByDesc(ProdTag::getSeq, ProdTag::getCreateTime));
return ResponseEntity.ok(tagIPage);
}