From e12e717a045c4b5d9893ddac9135c1721e7a0cc3 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 16 三月 2023 17:58:26 +0800
Subject: [PATCH] 上传更改过的源码jar包,上传租户管理相关功能

---
 Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml b/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
index 6054664..3b3f761 100644
--- a/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
+++ b/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
@@ -44,12 +44,12 @@
                 SELECT
                     CASE WHEN count(1) > 0 THEN 1 ELSE 0 END
                 FROM
-                    blade_dept
+                    pl_org_dept
                 WHERE
                     parent_id = dept.id and is_deleted = 0
             ) AS "has_children"
         FROM
-            blade_dept dept
+            pl_org_dept dept
         WHERE dept.is_deleted = 0
         <if test="param1!=null and param1!=''">
             and dept.tenant_id = #{param1}
@@ -67,7 +67,7 @@
     </select>
 
     <select id="tree" resultMap="treeNodeResultMap">
-        select id, parent_id, dept_name as title, id as "value", id as "key" from blade_dept where is_deleted = 0
+        select id, parent_id, dept_name as title, id as "value", id as "key" from pl_org_dept where is_deleted = 0
         <if test="_parameter!=null and _parameter!=''">
             and tenant_id = #{_parameter}
         </if>
@@ -85,12 +85,12 @@
                 SELECT
                     CASE WHEN count(1) > 0 THEN 1 ELSE 0 END
                 FROM
-                    blade_dept
+                    pl_org_dept
                 WHERE
                     parent_id = dept.id and is_deleted = 0
             ) AS "has_children"
         FROM
-            blade_dept dept
+                pl_org_dept dept
         WHERE
             dept.parent_id = #{param2} AND dept.is_deleted = 0
         <if test="param1!=null and param1!=''">
@@ -103,7 +103,7 @@
         SELECT
         dept_name
         FROM
-        blade_dept
+        pl_org_dept
         WHERE
         id IN
         <foreach collection="array" item="ids" index="index" open="(" close=")" separator=",">

--
Gitblit v1.9.3