|
@@ -56,7 +56,7 @@ func (ua *UserAnalysis) initTelemarketingIntended(ctx context.Context, jyT *jyTe
|
|
|
position_id = gconv.String(m["position_id"])
|
|
|
new_value = gconv.String(m["new_value"])
|
|
|
)
|
|
|
- if baseUserId, ok := ua.UserMapping[position_id]; !ok {
|
|
|
+ if baseUserId, ok := ua.UserMapping[position_id]; ok {
|
|
|
switch new_value {
|
|
|
case "意向客户":
|
|
|
jyT.Intended30Day[baseUserId] = true
|
|
@@ -77,7 +77,7 @@ func (ua *UserAnalysis) initFollowListen(ctx context.Context, jyT *jyTelemarketi
|
|
|
var (
|
|
|
userId = gconv.String(m["userid"])
|
|
|
)
|
|
|
- if baseUserId, ok := ua.UserMapping[userId]; !ok {
|
|
|
+ if baseUserId, ok := ua.UserMapping[userId]; ok {
|
|
|
jyT.Follow7Day[baseUserId] = true
|
|
|
}
|
|
|
}
|
|
@@ -89,7 +89,7 @@ func (ua *UserAnalysis) initFollowListen(ctx context.Context, jyT *jyTelemarketi
|
|
|
var (
|
|
|
userId = gconv.String(m["userid"])
|
|
|
)
|
|
|
- if baseUserId, ok := ua.UserMapping[userId]; !ok {
|
|
|
+ if baseUserId, ok := ua.UserMapping[userId]; ok {
|
|
|
jyT.Listen7Day[baseUserId] = true
|
|
|
}
|
|
|
}
|
|
@@ -125,7 +125,7 @@ func (ua *UserAnalysis) initHasEffectiveCall(ctx context.Context, jyT *jyTelemar
|
|
|
var (
|
|
|
userId = gconv.String(m["userid"])
|
|
|
)
|
|
|
- if baseUserId, ok := ua.UserMapping[userId]; !ok {
|
|
|
+ if baseUserId, ok := ua.UserMapping[userId]; ok {
|
|
|
jyT.HasEffectiveCall30Day[baseUserId] = true
|
|
|
}
|
|
|
}
|