소스 검색

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 {