h5周菜谱

This commit is contained in:
sxu 2025-06-08 12:32:09 +08:00
parent 705d15794c
commit 0ee7b3ee27
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}