Browse Source

大客数据处理

WH01243 7 months ago
parent
commit
149d73ae1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clueSync/kc.go

+ 1 - 1
clueSync/kc.go

@@ -575,7 +575,7 @@ func ordersClue() {
 
 func refundAuto() {
 	log.Println("自动移交销售定时任务开始")
-	findNowTime := time.Now().AddDate(0, 0, -db.ExpirationPeriod).Format(date.Date_Full_Layout)
+	findNowTime := time.Now().AddDate(0, 0, db.ExpirationPeriod).Format(date.Date_Full_Layout)
 	nowTime := time.Now().Format(date.Date_Full_Layout)
 	TiDb.SelectByBath(100, func(l *[]map[string]interface{}) bool {
 		for _, v := range *l {