From 88a99dbe9cf6cf3011d5fa689d4f272d7dcd5dd7 Mon Sep 17 00:00:00 2001 From: xy <748613696@qq.com> Date: Mon, 29 Jun 2026 11:44:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(sys-dic-tree):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=A0=91=E6=9F=A5=E8=AF=A2=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在字典树查询中添加状态过滤条件 a.status = 0 - 确保只返回状态为可用的数据记录 - 修复了可能导致无效数据被查询到的逻辑缺陷 --- .../java/com/njcn/system/mapper/mapping/SysDicTreePOMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/SysDicTreePOMapper.xml b/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/SysDicTreePOMapper.xml index b54a67452..28a333c4d 100644 --- a/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/SysDicTreePOMapper.xml +++ b/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/SysDicTreePOMapper.xml @@ -15,5 +15,6 @@ sys_dic_tree b WHERE b.pids LIKE concat('%',#{id},'%') and a.id = b.pid) + AND a.status = 0 \ No newline at end of file