Эх сурвалжийг харах

Merge branch 'email_company'

Roc 3 жил өмнө
parent
commit
63842970b2
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 {