fix: show queue only same day
parent
661dbb8cf2
commit
54b9658075
|
@ -89,10 +89,13 @@ export class IndexQueueManager extends BaseIndexManager<Queue> {
|
||||||
|
|
||||||
console.log({ start, end, item_queue_id: this.filterParam.queue_id });
|
console.log({ start, end, item_queue_id: this.filterParam.queue_id });
|
||||||
|
|
||||||
queryBuilder.andWhere(`${this.tableName}.time BETWEEN :start AND :end`, {
|
queryBuilder.andWhere(
|
||||||
start,
|
`${this.tableName}.created_at BETWEEN :start AND :end`,
|
||||||
end,
|
{
|
||||||
});
|
start,
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
queryBuilder.andWhere(`${this.tableName}.item_queue_id = :item_queue_id`, {
|
queryBuilder.andWhere(`${this.tableName}.item_queue_id = :item_queue_id`, {
|
||||||
item_queue_id: this.filterParam.queue_id,
|
item_queue_id: this.filterParam.queue_id,
|
||||||
|
|
Loading…
Reference in New Issue