From 38af70dc8bd30d85bcb1d3045c6d2b97b9d2a89e Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Sat, 4 Nov 2023 15:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=81=E4=BB=B6=E5=8F=B7?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=20,=20=E4=BA=BA=E5=8F=A3=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=20,=20=E5=B9=B4=E9=BE=84?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../population/controller/api/areatree/AreaTreeController.java | 2 +- .../controller/app/api/areatree/AreaTreeAppController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/cm/population/controller/api/areatree/AreaTreeController.java b/src/main/java/com/cm/population/controller/api/areatree/AreaTreeController.java index 24c56f7..04096a8 100644 --- a/src/main/java/com/cm/population/controller/api/areatree/AreaTreeController.java +++ b/src/main/java/com/cm/population/controller/api/areatree/AreaTreeController.java @@ -133,7 +133,7 @@ public class AreaTreeController extends AbstractController { for(AreaZtreeDTO dto : list) { ArrayList names = new ArrayList<>(); names.add(dto.getName()); - getParentBaoTou(names, dto.getpId()); + getParent(names, dto.getpId()); dto.setTitle(StringUtils.join(names, "/")); } return list; diff --git a/src/main/java/com/cm/population/controller/app/api/areatree/AreaTreeAppController.java b/src/main/java/com/cm/population/controller/app/api/areatree/AreaTreeAppController.java index fdf6522..fae5242 100644 --- a/src/main/java/com/cm/population/controller/app/api/areatree/AreaTreeAppController.java +++ b/src/main/java/com/cm/population/controller/app/api/areatree/AreaTreeAppController.java @@ -101,7 +101,7 @@ public class AreaTreeAppController extends AbstractController { for(AreaZtreeDTO dto : list) { ArrayList names = new ArrayList<>(); names.add(dto.getName()); - getParentBaoTou(names, dto.getpId()); + getParent(names, dto.getpId()); dto.setTitle(StringUtils.join(names, "/")); } return list;