From 114e26f8405744145a302174ab558b0a7bb10160 Mon Sep 17 00:00:00 2001 From: liux <963924687@qq.com> Date: Tue, 29 Apr 2025 19:12:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0h5=E5=8E=86=E5=8F=B2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=91=A8=E8=8F=9C=E8=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../menu/service/impl/MenuRecipeServiceImpl.java | 11 ++++++----- .../resources/mapper/menu/MenuAppRecipeMapper.xml | 12 +++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/menu/service/impl/MenuRecipeServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/menu/service/impl/MenuRecipeServiceImpl.java index f029c88c..349a94bc 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/menu/service/impl/MenuRecipeServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/menu/service/impl/MenuRecipeServiceImpl.java @@ -152,9 +152,10 @@ public class MenuRecipeServiceImpl extends ServiceImpl getWeekRecipeDetailList(AppletWeekRecipeDTO content) { + Set effIdSet = this.getShopstallIdListByCustId(content.getCustId(), false); + System.err.println("档口id集合: " + effIdSet.size()); List recipeIdList = Lists.newArrayList(); if (ObjectUtil.isNull(content.getRecipeId())) { - Set effIdSet = this.getShopstallIdListByCustId(content.getCustId(), false); if (ObjectUtil.isEmpty(effIdSet)) { effIdSet = Sets.newTreeSet(); ((Set) effIdSet).add(-1L); @@ -165,7 +166,7 @@ public class MenuRecipeServiceImpl extends ServiceImpl repeIdList = this.menuAppRecipeMapper.getRecipeIdListByRecipeId(content.getRecipeId()); @@ -190,10 +191,10 @@ public class MenuRecipeServiceImpl extends ServiceImpl - #{effId} - + + and mr.eff_id in + + #{effId} + + and mar.recipe_id = #{recipeId} @@ -359,7 +361,7 @@