From 84d2420c5949f930ffec3233ef90a591166ad23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Thu, 30 Oct 2025 17:44:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=94=80=E8=AE=B0=E5=BD=95=E5=80=92?= =?UTF-8?q?=E5=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/MkDistributionWithdrawFlowServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionWithdrawFlowServiceImpl.java b/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionWithdrawFlowServiceImpl.java index c71c4575..1ace1305 100644 --- a/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionWithdrawFlowServiceImpl.java +++ b/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionWithdrawFlowServiceImpl.java @@ -62,7 +62,7 @@ public class MkDistributionWithdrawFlowServiceImpl extends ServiceImpl page = pageAs(PageUtil.buildPage(), queryWrapper, MkDistributionWithdrawFlowVO.class); + Page page = pageAs(PageUtil.buildPage(), queryWrapper.orderBy(MkDistributionWithdrawFlow::getId, false), MkDistributionWithdrawFlowVO.class); Map map = BeanUtil.beanToMap(page); map.put("pending", getOneAs(new QueryWrapper().eq(MkDistributionWithdrawFlow::getStatus, TableValueConstant.DistributionWithdrawFlow.Status.PENDING.getCode()).select("sum(amount)"), BigDecimal.class)); map.put("finish", getOneAs(new QueryWrapper().eq(MkDistributionWithdrawFlow::getStatus, TableValueConstant.DistributionWithdrawFlow.Status.FINISH.getCode()).select("sum(amount)"), BigDecimal.class));