i国网:一周菜谱接入
This commit is contained in:
parent
75e41f9018
commit
bcb79d64db
|
|
@ -42,7 +42,7 @@ public class ZhhqCookRecipeServiceImpl implements IZhhqCookRecipeService {
|
|||
List<LocalDate> weekDates = DateUtil.getWeekDates(dto.getMenuDate());
|
||||
weekRecipeVO.setRecipeYear(dto.getMenuDate().getYear());
|
||||
weekRecipeVO.setStartDate(weekDates.get(0));
|
||||
weekRecipeVO.setEndDate(weekDates.get(weekDates.lastIndexOf(weekDates)));
|
||||
weekRecipeVO.setEndDate(weekDates.get(weekDates.size() - 1));
|
||||
//查询一周菜谱详情
|
||||
List<Long> recipeIds = zhhqCookRecipeMapper.selectWeekRecipeList();
|
||||
List<WeekRecipeDetailVO> recipeDetails = zhhqCookRecipeMapper.selectWeekRecipeDetail(weekDates, recipeIds);
|
||||
|
|
|
|||
Loading…
Reference in New Issue