From e7e920b15e7cb9cf28e380a445ce87b9937c675a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 27 Jan 2026 18:11:25 +0800
Subject: [PATCH] 机构优化

---
 drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml b/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml
index 5974fb0..d3bb4ac 100644
--- a/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml
+++ b/drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml
@@ -290,8 +290,8 @@
         <if test="param2.fullName!=null and param2.fullName!=''">
             and bd.full_name like concat(concat('%', #{param2.fullName}),'%')
         </if>
-        <if test="param2.areaCode!=null and param2.areaCode!=''">
-            and bd.area_code = #{param2.areaCode}
+        <if test="param2.deptCode!=null and param2.deptCode!=''">
+            and bd.dept_code = #{param2.deptCode}
         </if>
             ORDER BY bd.create_time DESC
     </select>

--
Gitblit v1.9.3