From ae1099cbec8ded40ba3df02fafc3589e44b547a2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 9 Aug 2024 15:19:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20base=20wf=20=E5=B7=A5=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=8E=B7=E5=8F=96=E5=A4=84=E7=90=86=E4=BA=BA?= =?UTF-8?q?=E6=97=B6=E6=B2=A1=E6=89=BE=E5=88=B0=E8=BF=94=E5=9B=9E0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wf/services.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/wf/services.py b/apps/wf/services.py index fc17c0fb..9c337a97 100755 --- a/apps/wf/services.py +++ b/apps/wf/services.py @@ -159,6 +159,8 @@ class WfService(object): destination_participant = ticket.ticket_data.get(destination_participant, 0) elif hasattr(ticket, destination_participant): destination_participant = getattr(ticket, destination_participant).id + else: + destination_participant = 0 elif destination_participant_type == State.PARTICIPANT_TYPE_FORMCODE: # 代码获取 module, func = destination_participant.rsplit(".", 1)