From 2b494ee41a139c5a78c90d9f39ad638a59eabe70 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854> Date: Mon, 22 May 2023 16:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=205.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/cms/admin/controller/CmsColumnController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java b/jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java index 9336aba..f1c943c 100644 --- a/jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java +++ b/jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java @@ -102,7 +102,7 @@ public class CmsColumnController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(cmsColumn, req.getParameterMap()); // 使用 eq 防止模糊查询 queryWrapper.eq("pid", parentId); - queryWrapper.last("order by sort"); + queryWrapper.last(" ,sort asc "); Page page = new Page(pageNo, pageSize); IPage pageList = cmsColumnService.page(page, queryWrapper); List records = pageList.getRecords();