This commit is contained in:
zengtao01
2024-10-08 10:59:59 +08:00
parent a4eda09219
commit 825c6658ef
2 changed files with 7 additions and 3 deletions

View File

@ -246,7 +246,8 @@ public class DishesServiceImpl implements DishesService {
List<DishesDO> dishesDOS = dishesMapper.selectList(Wrappers.<DishesDO>lambdaQuery()
.eq(DishesDO::getCarteenId, carteenId)
.in(DishesDO::getWeekTime, week)
.in(DishesDO::getTimeSlot, todayTime));
.in(DishesDO::getTimeSlot, todayTime)
.orderByDesc(DishesDO::getCreateTime));
return dishesDOS;
}