xuzhiheng 1 ano atrás
pai
commit
8aff6380b8
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9 0
      service/clue.go

+ 9 - 0
service/clue.go

@@ -752,6 +752,7 @@ func ClueImportSync(this *biservice.ClueImportReq) (string, int) {
 							source := common.IntAll((*userData)["source"])
 							userId := common.ObjToString((*userData)["userid"])
 							uId := common.ObjToString((*userData)["uid"])
+							belong_to := common.ObjToString((*userData)["belong_to"])
 							if source == 5 {
 								if !isOks {
 									result += ",“该线索已归属域外”"
@@ -760,6 +761,14 @@ func ClueImportSync(this *biservice.ClueImportReq) (string, int) {
 									result += fmt.Sprint(counts) + ".第" + fmt.Sprint(k+2) + "行,“该线索已归属域外”"
 								}
 								isOks = false
+							} else if strings.HasPrefix(belong_to, "03") {
+								if !isOks {
+									result += ",“该线索已归属合作渠道一切都好”"
+								} else {
+									counts++
+									result += fmt.Sprint(counts) + ".第" + fmt.Sprint(k+2) + "行,“该线索已归属合作渠道一切都好”"
+								}
+								isOks = false
 							} else {
 								isOK = true
 								dataMap["userId"] = userId