test
This commit is contained in:
parent
e2b43a52d7
commit
404afb709d
|
|
@ -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) -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue