Jianghan 1 年之前
父節點
當前提交
c16f601520
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/internal/service/owner.go

+ 1 - 1
api/internal/service/owner.go

@@ -610,7 +610,7 @@ func ProcessingStatusInit(positionId int64, dataMap *map[string]map[string]inter
 		"type":        1,
 		"position id": positionId,
 	}, "relate_id,is_handle,is_ignore,is_create", "", -1, -1)
-	if len(*processingArr) > 0 {
+	if processingArr != nil && len(*processingArr) > 0 {
 		for _, v := range *processingArr {
 			entId := gconv.String(v["relate_id"])
 			handle := gconv.Int64(v["is_handle"])