From ed2a0f015deff574518eba66d575a4298c6acacd Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期三, 22 十月 2025 14:55:54 +0800
Subject: [PATCH] 修改bug
---
ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
index a85f30e..9db8ad2 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
@@ -49,6 +49,9 @@
<if test="user.roleType !=null and user.roleType==4">
and t2.supplier_id =#{supplierClinicId} and t1.status in(3,4,5)
</if>
+ <if test="user.roleType !=null and user.roleType==5">
+ and t1.clinic_id =#{supplierClinicId}
+ </if>
<if test="query.procurementCode != null and query.procurementCode != ''">
and t1.procurement_code = #{query.procurementCode}
</if>
--
Gitblit v1.7.1