From bd6b08e65fe29994c6c6b5430639022f2a4f5e5c Mon Sep 17 00:00:00 2001
From: wenminjie <1036699586@qq.com>
Date: 星期二, 14 七月 2026 11:48:08 +0800
Subject: [PATCH] 修复了已知的BUG

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
index 0285917..f56c9ae 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
@@ -42,7 +42,7 @@
                 and status = 2
             </if>
             <if test="query.roleType == 3">
-                and status = 2 or status = 1
+                and (status = 2 or status = 1)
             </if>
         <if test="query.projectIds != null and query.projectIds.size() > 0">
             and project_id in

--
Gitblit v1.7.1