fix: summary ticket without order
parent
3ed25e1366
commit
28c1ab36da
|
@ -132,11 +132,11 @@ export class TicketDataService extends BaseDataService<QueueTicket> {
|
|||
order_id: string,
|
||||
ticket_id: string,
|
||||
): Promise<QueueTicketModel[]> {
|
||||
const order = await this.orderIds(order_id);
|
||||
// const order = await this.orderIds(order_id);
|
||||
return this.repo.find({
|
||||
relations: ['items', 'items.queue'],
|
||||
where: {
|
||||
order_id: In(order),
|
||||
// order_id: In(order),
|
||||
id: ticket_id,
|
||||
items: {
|
||||
queue: {
|
||||
|
|
Loading…
Reference in New Issue