fix: fix bug.

This commit is contained in:
Mr. Lan 2020-10-08 21:15:39 +08:00
parent 4ac4be0284
commit 1d9cfb00c9

View File

@ -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, "")