From 33b2a4aebcaa108380ad79e79eaad7e286626147 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Sun, 8 Jun 2025 12:34:33 +0800 Subject: [PATCH] =?UTF-8?q?h5=E5=91=A8=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 1111118..7a272d5 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 @@ -569,6 +569,7 @@ public class CookRecipeServiceImpl implements ICookRecipeService { for (CookRecipeDishes dishesDTO : dishes) { CookRecipeDishes newRecipeDishes = new CookRecipeDishes(); BeanUtils.copyProperties(dishesDTO, newRecipeDishes); + newRecipeDishes.setCreateBy("JOB"); newRecipeDishes.setCreateTime(DateUtils.getNowDate()); long supplyNum = Objects.isNull(newRecipeDishes.getSupplyNum()) ? 0 : newRecipeDishes.getSupplyNum(); long saleNum = Objects.isNull(newRecipeDishes.getSaleNum()) ? 0 : newRecipeDishes.getSaleNum();