From a0e9fac251df54e5ed6159ce1fdb77d463ebdc48 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 26 六月 2025 20:05:35 +0800
Subject: [PATCH] 菌种库所有代码

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
index 88f3fa5..07a6c69 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TPedigreeChartMapper.xml
@@ -35,6 +35,12 @@
             <if test="query.generationType != null">
                 and generation_type = #{query.generationType}
             </if>
+        <if test="query.projectIds != null and query.projectIds.size() > 0">
+            and project_id in
+            <foreach item="item" collection="query.projectIds" separator="," open="(" close=")" index="">
+                #{item}
+            </foreach>
+        </if>
             AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         </where>
         ORDER BY create_time DESC

--
Gitblit v1.7.1