From 4275b293cfc7779a20ccea30b2f773aff0fe06db Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期三, 27 八月 2025 13:16:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/pim-jlmy' into pim-jlmy --- main-business/src/main/java/com/ruoyi/business/service/impl/TreeServiceImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/service/impl/TreeServiceImpl.java b/main-business/src/main/java/com/ruoyi/business/service/impl/TreeServiceImpl.java index c549d74..191b172 100644 --- a/main-business/src/main/java/com/ruoyi/business/service/impl/TreeServiceImpl.java +++ b/main-business/src/main/java/com/ruoyi/business/service/impl/TreeServiceImpl.java @@ -33,6 +33,7 @@ public List<TreeVo> selectTreeList(TreeDto treeDto) { // 鏌ヨ鏍硅妭鐐癸紙parentId 涓� null锛� LambdaQueryWrapper<Tree> queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.orderByAsc(Tree::getCreateTime); queryWrapper.isNull(Tree::getParentId); // 濡傛灉鏈変骇鍝佸悕绉版潯浠讹紝娣诲姞鍒版煡璇腑 -- Gitblit v1.9.3