From 2868272820b2179c29b8dde428adf973091475b6 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Mon, 11 Mar 2024 11:45:37 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E9=9A=90=E6=82=A3=E6=8E=92=E6=9F=A5?= =?UTF-8?q?=E9=A1=B9=E6=8E=92=E5=BA=8F=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzims/safeproduct/risk/controller/RiskCheckController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/controller/RiskCheckController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/controller/RiskCheckController.java index 17ae357..ca2541f 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/controller/RiskCheckController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/risk/controller/RiskCheckController.java @@ -48,6 +48,7 @@ public class RiskCheckController extends BladeController { @ApiOperationSupport(order = 1) public R> page(RiskCheckDTO req, Query query) { LambdaQueryWrapper queryWrapper = Condition.getQueryWrapper(RiskCheckEntity.class, BeanUtil.copy(req, RiskCheckEntity.class)); + queryWrapper.orderByDesc(RiskCheckEntity::getUpdateTime,RiskCheckEntity::getCreateTime); IPage page = riskCheckService.page(Condition.getPage(query), queryWrapper); page.setRecords(RiskCheckWrapper.build().listVO(page.getRecords())); return R.data(page);