| | |
| | | @GetMapping(value = "/getDetailById") |
| | | public AjaxResult<List<TFoundationPersonVO>> getDetailByMealType(@RequestParam("mealType") Integer mealType) { |
| | | // 查询基础设置 |
| | | List<TFoundationPersonVO> foundationPersonVOS = foundationPersonService.getSetList(); |
| | | List<TFoundationPersonVO> foundationPersonVOS = foundationPersonService.getPersonList(); |
| | | List<TFoundationPersonVO> collect = foundationPersonVOS.stream().filter(e -> Objects.equals(e.getMealType(), mealType)).collect(Collectors.toList()); |
| | | for (TFoundationPersonVO foundationPersonVO : collect) { |
| | | List<TFoundationConfig> list = foundationConfigService.list(Wrappers.lambdaQuery(TFoundationConfig.class) |