From 2f5ae2209fd4ba216a612f5494bd002b97f12c23 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 26 Feb 2026 18:10:12 +0800
Subject: [PATCH] 机构查询通过 sysType
---
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 07c77fd..49c057e 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
@@ -77,8 +77,8 @@
<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
- <if test="_parameter!=null and _parameter!=''">
- and tenant_id = #{_parameter}
+ <if test="param1!=null and param1!=''">
+ and tenant_id = #{param1}
</if>
<if test="param2!=null and param2!=''">
and sys_type = #{param2}
--
Gitblit v1.9.3