fix bug.
This commit is contained in:
parent
cfa72920da
commit
5309dfe4b1
@ -792,7 +792,11 @@ func (h *Handle) HandleWorkOrder(
|
|||||||
|
|
||||||
// 发送通知
|
// 发送通知
|
||||||
if len(noticeList) > 0 {
|
if len(noticeList) > 0 {
|
||||||
sendToUserList, err = GetPrincipalUserInfo(h.updateValue["state"].([]interface{}), h.workOrderDetails.Creator)
|
stateList := make([]interface{}, 0)
|
||||||
|
for _, v := range h.updateValue["state"].([]map[string]interface{}) {
|
||||||
|
stateList = append(stateList, v)
|
||||||
|
}
|
||||||
|
sendToUserList, err = GetPrincipalUserInfo(stateList, h.workOrderDetails.Creator)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user