From 7d581f0f8c74beb999b4482bf2bbdc59e4d5846d Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 11 May 2022 10:36:38 +0800
Subject: [PATCH] 保安员,用户新增,保安员查询姓名修改,账号修改为姓+身份证号码后4位

---
 src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml b/src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
index 40f24f0..163405d 100644
--- a/src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
@@ -486,7 +486,7 @@
         (select
         bu.id,
         bu.dept_id parentId,
-        bu.real_name AS title,
+        bu.account AS title,
         bu.id AS "value",
         bu.id AS "key",
         0 as "has_children"
@@ -552,7 +552,7 @@
         (select
         bu.id,
         bu.dept_id parentId,
-        bu.real_name AS title,
+        bu.account AS title,
         bu.id AS "value",
         bu.id AS "key",
         0 as "has_children"
@@ -608,7 +608,7 @@
         (select
         bu.id,
         bu.dept_id parentId,
-        bu.real_name AS title,
+        bu.account AS title,
         bu.id AS "value",
         bu.id AS "key",
         0 as "has_children"

--
Gitblit v1.9.3