From 47ffd0c1d5ee233ab2f0679154d946f0c51e82c8 Mon Sep 17 00:00:00 2001 From: hyh123a Date: Thu, 21 Apr 2022 19:32:58 +0800 Subject: [PATCH] fixed the bug --- myems-api/reports/ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myems-api/reports/ticket.py b/myems-api/reports/ticket.py index 825ccdeb..0e6e8a34 100644 --- a/myems-api/reports/ticket.py +++ b/myems-api/reports/ticket.py @@ -330,7 +330,7 @@ class TicketAgentListCollection: # Get Ticket ids query = (" SELECT id, ticket_id " " FROM ticket_ticketuser " - " WHERE in_process = 1 and worked = 0 " + " WHERE in_process = 1 " " ORDER BY id DESC ") cursor.execute(query) rows = cursor.fetchall()