fix: fix bug.
This commit is contained in:
parent
4ac4be0284
commit
1d9cfb00c9
@ -186,6 +186,13 @@ func CreateWorkOrder(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取变量数据
|
||||||
|
err = service.GetVariableValue(variableValue, tools.GetUserId(c))
|
||||||
|
if err != nil {
|
||||||
|
app.Error(c, -1, err, "")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
workOrderValue.State, err = json.Marshal(variableValue)
|
workOrderValue.State, err = json.Marshal(variableValue)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.Error(c, -1, err, "")
|
app.Error(c, -1, err, "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user