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 c4237b2..1111118 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 @@ -589,7 +589,7 @@ public class CookRecipeServiceImpl implements ICookRecipeService { Long recipeId = item.getRecipeId(); Long type = (Long)recipeTypeMap.get(recipeId); if (type == 3) { - return ObjectUtil.equal(item.getApplyWeek(), applyDate.getDayOfWeek().getValue()); + return ObjectUtil.equal(item.getApplyWeek().intValue(), applyDate.getDayOfWeek().getValue()); } else { return type == 2; }