From 20cd42287efb95254ea788ce2b6d0c559e378e04 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 19 九月 2024 14:36:21 +0800
Subject: [PATCH] 修改接口

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml
index 5432c03..dda7b30 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml
@@ -16,9 +16,10 @@
         id, personId,typeId, minCount, maxCount
     </sql>
     <select id="getList" resultType="com.ruoyi.system.vo.TFoundationConfigVO">
-        SELECT tfc.id, tfc.personId,tfc.typeId, tfc.minCount, tfc.maxCount,tfp.mealCount
+        SELECT tfc.id, tfc.personId,tfc.typeId, tfc.minCount, tfc.maxCount,tfp.mealCount,tfp.shopId
         FROM t_foundation_config tfc
         LEFT JOIN t_foundation_person tfp ON tfp.id = tfc.personId
+        where tfp.shopId = #{shopId}
     </select>
 
 </mapper>

--
Gitblit v1.7.1