h5周菜谱
This commit is contained in:
parent
0ee7b3ee27
commit
33b2a4aebc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue