预约端-预定单:查询预约单选中台桌

This commit is contained in:
2025-12-02 10:17:00 +08:00
parent f051234899
commit 5b15987762
3 changed files with 25 additions and 0 deletions

View File

@@ -42,6 +42,11 @@ public class BkOrderServiceImpl extends ServiceImpl<BkOrderMapper, BkOrder> impl
return mapper.bookings(shopId, search, start, end, status);
}
@Override
public List<BkOrderTable> bookingTables(Long shopId, Long bkOrderId) {
return tableMapper.selectListByQuery(QueryWrapper.create().eq(BkOrderTable::getBookOrderId, bkOrderId).eq(BkOrderTable::getShopId, shopId));
}
@Override
public void booking(Long shopId, BkOrderDTO bkOrder) {