From 6bb79064a8d717e191ceda7cb2dc1549d3613691 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期二, 26 八月 2025 13:58:03 +0800 Subject: [PATCH] purchase添加类型 以及新增字典查询方法 --- 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