From 3e3d5f69ab4eb77ab5e09a814c33ffb8237a54f7 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 10 十月 2022 14:13:02 +0800
Subject: [PATCH] 修改id 精度

---
 flower_city/src/main/java/com/dg/core/service/impl/OrganizationChartImpl.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/service/impl/OrganizationChartImpl.java b/flower_city/src/main/java/com/dg/core/service/impl/OrganizationChartImpl.java
index 38ab575..ef7297f 100644
--- a/flower_city/src/main/java/com/dg/core/service/impl/OrganizationChartImpl.java
+++ b/flower_city/src/main/java/com/dg/core/service/impl/OrganizationChartImpl.java
@@ -113,10 +113,20 @@
         return ids;
     }
 
+    @Override
+    public List<OrganizationChartEntity> selectParentList(String parentId, String grade) {
+        return baseMapper.selectConfigList(parentId,grade);
+    }
+
     //递归取id
     private List<String> disposestreetId(List<OrganizationChartEntity> lists)
     {
         List<String> ids=new ArrayList<>();
+        if(lists==null || lists.size()<1)
+        {
+            return ids;
+        }
+
         for (OrganizationChartEntity sysStreet:lists)
         {
             ids.add(sysStreet.getId()+"");

--
Gitblit v1.7.1