我的证书列表排序

This commit is contained in:
wuchunlei
2025-08-21 13:23:47 +08:00
parent 4086aeda01
commit 8bc0375991

View File

@@ -91,6 +91,7 @@ public class UserCertificateController {
if (StringUtils.isNotBlank(params.get("certificateNo").toString())){
wrapper.like(UserCertificate::getCertificateNo,params.get("certificateNo"));
}
wrapper.orderByDesc(UserCertificate::getCreateTime);
Page<UserCertificate> page = userCertificateService.page(new Page<>(
Long.parseLong(params.get("current").toString()), Long.parseLong(params.get("limit").toString())),wrapper);
return R.ok().put("certificate",page);