From 78a7c810e5f2e30ee596401febc733148830467f Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 20 一月 2026 18:04:06 +0800
Subject: [PATCH] bug修改

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
index a2f7e6d..4497677 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -475,6 +475,12 @@
                 #{id}
             </foreach>
         </if>
+        <if test="query.typeIds != null and query.typeIds.size()>0">
+            AND t1.type_id IN
+            <foreach collection="query.typeIds" close=")" open="(" item="id" separator=",">
+                #{id}
+            </foreach>
+        </if>
 
     </select>
     <select id="pageShopListAll" resultType="com.ruoyi.system.vo.TErpGoodsVO">

--
Gitblit v1.7.1