|
|
@@ -468,7 +468,11 @@ public class UserReservationServiceImpl extends ServiceImpl<UserReservationMappe
|
|
|
|
|
|
List<StoreBookingTable> storeBookingTables = storeBookingTableService.list(new LambdaQueryWrapper<StoreBookingTable>().eq(StoreBookingTable::getStoreId, storeId));
|
|
|
list.put("storeBookingTables", storeBookingTables);
|
|
|
- List<StoreBookingCategory> storeBookingCategorys = storeBookingCategoryService.list(new LambdaQueryWrapper<StoreBookingCategory>().eq(StoreBookingCategory::getStoreId, storeId));
|
|
|
+ List<StoreBookingCategory> storeBookingCategorys = storeBookingCategoryService.list(
|
|
|
+ new LambdaQueryWrapper<StoreBookingCategory>()
|
|
|
+ .eq(StoreBookingCategory::getStoreId, storeId)
|
|
|
+ .eq(StoreBookingCategory::getIsDisplay, 1)
|
|
|
+ .orderByDesc(StoreBookingCategory::getCreatedTime));
|
|
|
list.put("storeBookingCategorys", storeBookingCategorys);
|
|
|
StoreMainInfoVo storeInfo = storeInfoService.getStoreInfo(storeId);
|
|
|
list.put("storeInfo", storeInfo);
|