1.代客下单 挂单列表根据tableId获取

This commit is contained in:
2024-08-23 14:23:35 +08:00
parent 01d92b3812
commit b4f113e811
2 changed files with 3 additions and 3 deletions

View File

@@ -993,7 +993,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
public Object getCar(Integer shopId, String tableId) {
ArrayList<Map<String, Object>> data = new ArrayList<>();
List<PendingCountVO> pendingCountVOS = cashierCartMapper.countPending(shopId);
List<PendingCountVO> pendingCountVOS = cashierCartMapper.countPending(shopId, tableId);
List<TbCashierCart> tbCashierCarts = cashierCartMapper.selectList(new LambdaQueryWrapper<TbCashierCart>()
.eq(TbCashierCart::getShopId, shopId)
.eq(TbCashierCart::getTableId, tableId)