fix: fix bug.
This commit is contained in:
parent
51da5a7b7d
commit
785df57abf
@ -876,7 +876,7 @@ func (h *Handle) HandleWorkOrder(
|
||||
h.tx.Commit() // 提交事务
|
||||
|
||||
// 发送通知
|
||||
if len(noticeList) > 0 && h.updateValue["state"] != nil {
|
||||
if len(noticeList) > 0 {
|
||||
stateList := make([]interface{}, 0)
|
||||
for _, v := range h.updateValue["state"].([]map[string]interface{}) {
|
||||
stateList = append(stateList, v)
|
||||
|
Loading…
x
Reference in New Issue
Block a user