|
@@ -182,6 +182,7 @@ func DistributeClueShow(this *biservice.DistributeClueShowReq) *biservice.Distri
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ log.Println("RDATA ", rdata[sindex].CompanyCount, rdata[sindex].MinCount, rdata[sindex].CompanyCounts, rdata[sindex].ClueCount, len(v))
|
|
|
if isOk {
|
|
|
if this.DataType == 1 {
|
|
|
rdata[sindex].CompanyCount++
|
|
@@ -191,15 +192,17 @@ func DistributeClueShow(this *biservice.DistributeClueShowReq) *biservice.Distri
|
|
|
} else {
|
|
|
rdata[sindex].CompanyCounts++
|
|
|
rdata[sindex].ClueCount += int64(len(v))
|
|
|
- for _, vv := range v {
|
|
|
- dclue(vv, paid, this.IsTask, this.PositionId) //分线索
|
|
|
+ if this.DataType == 3 {
|
|
|
+ for _, vv := range v {
|
|
|
+ dclue(vv, paid, this.IsTask, this.PositionId) //分线索
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- clueArrs1 = strings.Split(this.ClueIdList, ",")
|
|
|
+ clueArrs1 = clueArrs
|
|
|
}
|
|
|
}
|
|
|
log.Println("clueArrs1 ", clueArrs1)
|