Browse Source

冻结时间处理

WH01243 1 year ago
parent
commit
5ebe31713b
2 changed files with 3 additions and 1 deletions
  1. 1 0
      clueSync/jobutil.go
  2. 2 1
      clueSync/kc.go

+ 1 - 0
clueSync/jobutil.go

@@ -198,6 +198,7 @@ func userbase() {
 									"phone":             phone,
 									"comeintime_open":   nowTime,
 									"comeinsource_open": 1,
+									"FREEZE_TIME":       nowTime,
 								})
 								if clueId > 0 {
 									TiDb.Insert("dwd_f_userbase_contacts", map[string]interface{}{

+ 2 - 1
clueSync/kc.go

@@ -563,7 +563,7 @@ func ordersClue() {
 							"taskstatus":           0,
 							"company_nature":       isGroup,
 							"company_verification": isCommerce,
-							"FREEZE_TIME":          common.If(is_assign == -3, nowTime, ""),
+							"FREEZE_TIME":          nowTime,
 						})
 					} else if strings.HasPrefix(saleDep, "03") {
 						log.Println("市场部订单", saleDep)
@@ -583,6 +583,7 @@ func ordersClue() {
 							"taskstatus":           0,
 							"company_nature":       isGroup,
 							"company_verification": isCommerce,
+							"FREEZE_TIME":          nowTime,
 						})
 					}
 					if clueId > 0 {