From 76561071d3441cd8a551772d0f43d93c9f9a1e6a Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期二, 29 十月 2024 18:08:25 +0800 Subject: [PATCH] 修改 --- ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml index dda7b30..f3b0e79 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TFoundationConfigMapper.xml @@ -16,10 +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,tfp.shopId + SELECT tfc.id, tfc.personId,tfc.typeId, tfc.minCount, tfc.maxCount,tfp.mealCount,tfp.shopId,tfp.mealType FROM t_foundation_config tfc LEFT JOIN t_foundation_person tfp ON tfp.id = tfc.personId - where tfp.shopId = #{shopId} + where tfp.mealType = #{mealType} </select> </mapper> -- Gitblit v1.7.1