Browse Source

Merge branch 'dev_v1.5.24_wh' of jianyu/datatools into feature/v1.5.24

王浩 6 months ago
parent
commit
a8ae3e248e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      clueSync/kc.go

+ 2 - 0
clueSync/kc.go

@@ -218,9 +218,11 @@ func kcJob(data map[string]interface{}) int {
 				"name":                      customerName,
 				"name":                      customerName,
 				"position_id":               customerPositionId,
 				"position_id":               customerPositionId,
 				"relationship_building_way": 1,
 				"relationship_building_way": 1,
+				"tasksource":                "1",
 			}
 			}
 			if is_transfer == 0 {
 			if is_transfer == 0 {
 				delete(updateMap, "relationship_building_way")
 				delete(updateMap, "relationship_building_way")
+				delete(updateMap, "tasksource")
 			}
 			}
 			TiDb.Update("dwd_f_csm_customer_info", map[string]interface{}{"clue_id": clueId}, updateMap)
 			TiDb.Update("dwd_f_csm_customer_info", map[string]interface{}{"clue_id": clueId}, updateMap)
 			TiDb.Insert("dwd_f_crm_clue_change_record", map[string]interface{}{
 			TiDb.Insert("dwd_f_crm_clue_change_record", map[string]interface{}{