Browse Source

Merge branch 'feature/report_chapter_1129' into debug

hsun 2 weeks ago
parent
commit
717cb17a46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/report_v2.go

+ 1 - 1
services/report_v2.go

@@ -342,7 +342,7 @@ func getAddChapter(reportInfo *models.Report, minClassifyId, inheritReportId int
 				continue
 			}
 			// 暂停更新(此处用报告日期去判断是否需要停更,而不是报告创建日期)
-			if reportDate.After(startTime) && reportDate.Before(endTime.AddDate(0, 0, 1)) {
+			if !reportDate.Before(startTime) && !reportDate.After(endTime) {
 				continue
 			}
 		}