add filter order by outlet id

This commit is contained in:
2026-05-14 15:15:32 +07:00
parent 227f11359c
commit a89ff00d94
5 changed files with 163 additions and 114 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ func (p *TableProcessor) OccupyTable(ctx context.Context, tableID uuid.UUID, req
}
// Verify order exists
_, err = p.orderRepo.GetByID(ctx, req.OrderID)
_, err = p.orderRepo.GetByID(ctx, req.OrderID, uuid.Nil)
if err != nil {
return nil, errors.New("order not found")
}