This commit is contained in:
sxu 2025-04-17 11:22:26 +08:00
parent e2b43a52d7
commit 404afb709d
1 changed files with 0 additions and 9 deletions

View File

@ -120,7 +120,6 @@ public class MenuAppRecipeServiceImpl implements IMenuAppRecipeService {
@Override
public List<AppletReserveRecipeVO> getReserveRecipeDetailList(AppletReserveRecipeDTO content) {
//this.generateRecipe(content.getRecipeId(), content.getApplyDate());
List<AppletReserveRecipeVO> resultList = menuAppRecipeMapper.selectReserveRecipe(content.getApplyDate(), content.getRecipeId());
if (ObjectUtil.isEmpty(resultList)) {
return resultList;
@ -150,14 +149,6 @@ public class MenuAppRecipeServiceImpl implements IMenuAppRecipeService {
resultList = resultList.stream().filter((time) -> {
return finalMealTimeList.stream().map(AllocStallMealtime::getMealtimeType).collect(Collectors.toList()).contains(time.getMealtimeType());
}).collect(Collectors.toList());
// resultList.forEach((time) -> {
// List<AppletReserveRecipeTypeVO> typeList = time.getTypeList();
// if (ObjectUtil.isNotEmpty(typeList)) {
// typeList.forEach((type) -> {
// List<AppletReserveRecipeDishesVO> dishesList = type.getDishesList();
// });
// }
// });
Set<Long> dishesIdSet = resultList.stream().flatMap((time) -> {
return time.getTypeList().stream().flatMap((type) -> {
return type.getDishesList().stream().map((item) -> {