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