From c595711ebb80feca64742563fda5fd8ad3c59d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Fri, 15 Jul 2022 10:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wf/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/wf/views.py b/apps/wf/views.py index 45c7b7b1..fb444eb5 100755 --- a/apps/wf/views.py +++ b/apps/wf/views.py @@ -441,6 +441,7 @@ class TicketViewSet(CreateUpdateCustomMixin, CreateModelMixin, ListModelMixin, R ticket = self.get_object() if not ticket.script_run_last_result: ticket.script_run_last_result = True + ticket.save() run_task.delay(ticket.id) return Response()