Преглед изворни кода

feat:上周增量客户报表邮件发送

Roc пре 3 година
родитељ
комит
9cd721dbff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/company.go

+ 1 - 1
services/company.go

@@ -291,7 +291,7 @@ func IncrementCompany(cont context.Context) (err error) {
 
 	//endTime := time.Now().Format(utils.FormatDateTime)
 	startTime := time.Now().AddDate(0, 0, -7).Format(utils.FormatDate)
-	endTime := time.Now().AddDate(0, 0, 1).Format(utils.FormatDate)
+	endTime := time.Now().Format(utils.FormatDate)
 
 	_, items, err := models.GetIncrementCompanyProductUpdateLogList(startTime, endTime)
 	if err != nil {