|
@@ -197,6 +197,17 @@ func DistributeClueMore(saleMap map[string]map[string]interface{}, distributedAr
|
|
"BCPCID": common.GetRandom(32),
|
|
"BCPCID": common.GetRandom(32),
|
|
"operator_id": thispositionId,
|
|
"operator_id": thispositionId,
|
|
})
|
|
})
|
|
|
|
+ JyBiTidb.Insert("dwd_f_crm_clue_change_record", map[string]interface{}{
|
|
|
|
+ "clue_id": v,
|
|
|
|
+ "position_id": positionId,
|
|
|
|
+ "change_field": "trailstatus",
|
|
|
|
+ "change_type": "基本信息变更",
|
|
|
|
+ "old_value": CodeTrail[trailstatus],
|
|
|
|
+ "new_value": "商机线索",
|
|
|
|
+ "createtime": nowTime,
|
|
|
|
+ "BCPCID": common.GetRandom(32),
|
|
|
|
+ "operator_id": thispositionId,
|
|
|
|
+ })
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
log.Println("私海插入失败 ", v, positionId, seatNumber)
|
|
log.Println("私海插入失败 ", v, positionId, seatNumber)
|