From 413d5fb8681752b7a80b1cf7b509ed2bc4bfe3ee Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 11 九月 2025 18:11:05 +0800
Subject: [PATCH] 上传接口

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
index 9929444..9ffee44 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -71,10 +71,10 @@
             and state = #{query.state}
         </if>
         <if test="user.roleType != null and user.roleType == 4 ">
-            and goods_source =1 and supplier_clinic_id =#{user.userId}
+            and goods_source =1 and supplier_clinic_id = #{query.supplierClinicId}
         </if>
         <if test="user.roleType != null and user.roleType == 5 ">
-            and goods_source =2 and supplier_clinic_id =#{user.userId}
+            and goods_source =2 and supplier_clinic_id = #{query.supplierClinicId}
         </if>
         order by create_time desc
     </select>

--
Gitblit v1.7.1