浏览代码

Merge branch 'dev/v1.0.6' of BaseService/biService into feature/v1.0.6

xuzhiheng 2 年之前
父节点
当前提交
53fe5b7a9c
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      service/clue.go

+ 11 - 0
service/clue.go

@@ -197,6 +197,17 @@ func DistributeClueMore(saleMap map[string]map[string]interface{}, distributedAr
 								"BCPCID":       common.GetRandom(32),
 								"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 {
 						log.Println("私海插入失败 ", v, positionId, seatNumber)