|
@@ -132,7 +132,7 @@ func AutoFollow(this *biservice.CallReq) *biservice.ClueImportResp {
|
|
|
//
|
|
|
}
|
|
|
updateData["STATE"] = callMap[state]
|
|
|
- JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"phone": this.Phone}, updateData)
|
|
|
+ JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"id": clueId}, updateData)
|
|
|
} else {
|
|
|
time.Sleep(10 * time.Second)
|
|
|
callData := CallTidb.FindOne("voice_record", map[string]interface{}{"phone": this.Phone}, "", "createTime desc")
|
|
@@ -166,7 +166,7 @@ func AutoFollow(this *biservice.CallReq) *biservice.ClueImportResp {
|
|
|
//
|
|
|
}
|
|
|
updateData["STATE"] = callMap[state]
|
|
|
- JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"phone": this.Phone}, updateData)
|
|
|
+ JyBiTidb.Update("dwd_f_crm_clue_info", map[string]interface{}{"id": clueId}, updateData)
|
|
|
}
|
|
|
}
|
|
|
}
|