test
This commit is contained in:
parent
e2b43a52d7
commit
404afb709d
|
|
@ -120,7 +120,6 @@ public class MenuAppRecipeServiceImpl implements IMenuAppRecipeService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AppletReserveRecipeVO> getReserveRecipeDetailList(AppletReserveRecipeDTO content) {
|
public List<AppletReserveRecipeVO> getReserveRecipeDetailList(AppletReserveRecipeDTO content) {
|
||||||
//this.generateRecipe(content.getRecipeId(), content.getApplyDate());
|
|
||||||
List<AppletReserveRecipeVO> resultList = menuAppRecipeMapper.selectReserveRecipe(content.getApplyDate(), content.getRecipeId());
|
List<AppletReserveRecipeVO> resultList = menuAppRecipeMapper.selectReserveRecipe(content.getApplyDate(), content.getRecipeId());
|
||||||
if (ObjectUtil.isEmpty(resultList)) {
|
if (ObjectUtil.isEmpty(resultList)) {
|
||||||
return resultList;
|
return resultList;
|
||||||
|
|
@ -150,14 +149,6 @@ public class MenuAppRecipeServiceImpl implements IMenuAppRecipeService {
|
||||||
resultList = resultList.stream().filter((time) -> {
|
resultList = resultList.stream().filter((time) -> {
|
||||||
return finalMealTimeList.stream().map(AllocStallMealtime::getMealtimeType).collect(Collectors.toList()).contains(time.getMealtimeType());
|
return finalMealTimeList.stream().map(AllocStallMealtime::getMealtimeType).collect(Collectors.toList()).contains(time.getMealtimeType());
|
||||||
}).collect(Collectors.toList());
|
}).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) -> {
|
Set<Long> dishesIdSet = resultList.stream().flatMap((time) -> {
|
||||||
return time.getTypeList().stream().flatMap((type) -> {
|
return time.getTypeList().stream().flatMap((type) -> {
|
||||||
return type.getDishesList().stream().map((item) -> {
|
return type.getDishesList().stream().map((item) -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue