From 0bc94d86e0caf9112d83da02c1b91a3ea343cb0a Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 19 三月 2025 09:16:05 +0800
Subject: [PATCH] 修改非煤统计

---
 ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 71bb2a3..87cf8f0 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -55,6 +55,9 @@
         <if test="status != null and status != ''">
             AND status = #{status}
         </if>
+        <if test="districtCode!=null">
+            AND district_code = #{districtCode}
+        </if>
         <!-- 数据范围过滤 -->
         ${params.dataScope}
         order by d.parent_id, d.order_num

--
Gitblit v1.9.2