From 053f6187b5f6cda1725ed63df8a8766b5976fb53 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 06 八月 2025 09:01:35 +0800
Subject: [PATCH] 菌种库所有代码

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TStrainValidationDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TStrainValidationDataMapper.xml
index b95cef4..d87be06 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TStrainValidationDataMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TStrainValidationDataMapper.xml
@@ -44,6 +44,12 @@
                  <if test="query.strainType != null">
                 and strain_type = #{query.strainType}
             </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