From aab466353d5bdbb31cfadc9fd55a1e815e32f6bc Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Wed, 17 Jan 2024 10:23:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81):=2080?= =?UTF-8?q?202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../consultation/service/impl/ConsultationServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/consultation/service/impl/ConsultationServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/consultation/service/impl/ConsultationServiceImpl.java index d9abd62a..b76d4c28 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/consultation/service/impl/ConsultationServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/consultation/service/impl/ConsultationServiceImpl.java @@ -191,7 +191,8 @@ public class ConsultationServiceImpl implements IConsultationService { fillProperty(processFbStandardConsultations); processFbConsultationListVO.setProcessFbStandardConsultation(processFbStandardConsultations.get(0)); LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper() - .eq(ProcessFbConsultationList::getBusinessId, businessId); + .eq(ProcessFbConsultationList::getBusinessId, businessId) + .last("ORDER BY convert(chapter_number, DECIMAL), id"); IPage page = processFbConsultationListService.page(new Page<>(pageNo, pageSize), queryWrapper); setProperty(page.getRecords()); processFbConsultationListVO.setProcessFbConsultationList(page);