From 5ba34e5b7f7f3bd79b097a628bbf33791ba24b88 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 27 May 2025 22:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8F=9C=E8=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canteen/core/cook/service/impl/CookRecipeServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/service/impl/CookRecipeServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/service/impl/CookRecipeServiceImpl.java index 3f4a79e..5e7f6ed 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/service/impl/CookRecipeServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/service/impl/CookRecipeServiceImpl.java @@ -98,6 +98,7 @@ public class CookRecipeServiceImpl implements ICookRecipeService { recipeDateList = cookRecipeDTO.getRecipeDateList(); } else if (2 == cookRecipeDTO.getRecipeType()) { //每日循环 CookRecipeDateDTO cookRecipeDateDTO = new CookRecipeDateDTO(); + cookRecipeDateDTO.setDetailList(cookRecipeDTO.getRecipeDateList().get(0).getDetailList()); LocalDate now = LocalDate.now(); for (int i = 0; i < 7; ++i) { cookRecipeDateDTO.setApplyDate(now.plusDays(i));