From 150c3d0b972f93869b6180f59ce03f46774dbe06 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 27 Jan 2026 20:33:06 +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 d3bb4ac..995de6d 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
@@ -287,8 +287,8 @@
         <if test="param2.deptName!=null and param2.deptName!=''">
             and bd.dept_name like concat(concat('%', #{param2.deptName}),'%')
         </if>
-        <if test="param2.fullName!=null and param2.fullName!=''">
-            and bd.full_name like concat(concat('%', #{param2.fullName}),'%')
+        <if test="param2.areaCode!=null and param2.areaCode!=''">
+            and bd.area_code like concat(concat('%', #{param2.areaCode}),'%')
         </if>
         <if test="param2.deptCode!=null and param2.deptCode!=''">
             and bd.dept_code = #{param2.deptCode}

--
Gitblit v1.9.3