1.代客下单 只查询当天挂起订单

This commit is contained in:
2024-08-26 09:21:50 +08:00
parent 29ccf35e5f
commit d272efa45f
2 changed files with 3 additions and 3 deletions

View File

@@ -1024,7 +1024,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, tableId);
List<PendingCountVO> pendingCountVOS = cashierCartMapper.countPending(shopId, tableId, DateUtils.getDay());
List<TbCashierCart> tbCashierCarts = cashierCartMapper.selectList(new LambdaQueryWrapper<TbCashierCart>()
.eq(TbCashierCart::getShopId, shopId)
.eq(TbCashierCart::getTableId, tableId)