From c63a636efe951317f7b56ab57d7f12de9c15d810 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 20 Oct 2021 14:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=B5=81=E8=BD=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/apps/wf/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hb_server/apps/wf/services.py b/hb_server/apps/wf/services.py index 7ff0fbe..8df0377 100644 --- a/hb_server/apps/wf/services.py +++ b/hb_server/apps/wf/services.py @@ -114,7 +114,7 @@ class WfService(object): ticket_all_value.update(**ticket_data) for key, value in ticket_all_value.items(): if isinstance(ticket_all_value[key], str): - ticket_all_value[key] = "'''" + ticket_all_value[key] + "'''" + ticket_all_value[key] = "'" + ticket_all_value[key] + "'" if transition.condition_expression: for i in transition.condition_expression: expression = i['expression'].format(**ticket_all_value)