From 0ee7b3ee278ffdbb8b50da4bbdf640bab4be4bc0 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Sun, 8 Jun 2025 12:32:09 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }