From 1d9cfb00c983c7ad5973ecb45e9d684ff69d403f Mon Sep 17 00:00:00 2001 From: "Mr. Lan" Date: Thu, 8 Oct 2020 21:15:39 +0800 Subject: [PATCH] fix: fix bug. --- apis/process/workOrder.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apis/process/workOrder.go b/apis/process/workOrder.go index be26e6c..d8f79e5 100644 --- a/apis/process/workOrder.go +++ b/apis/process/workOrder.go @@ -186,6 +186,13 @@ func CreateWorkOrder(c *gin.Context) { return } + // 获取变量数据 + err = service.GetVariableValue(variableValue, tools.GetUserId(c)) + if err != nil { + app.Error(c, -1, err, "") + return + } + workOrderValue.State, err = json.Marshal(variableValue) if err != nil { app.Error(c, -1, err, "")