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));