소스 검색

Merge branch 'fixbug/374-huaguo-sopcount'

jimmyyem 2 일 전
부모
커밋
4a6e13a756
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      crontask/compute_statistic.go

+ 1 - 0
crontask/compute_statistic.go

@@ -102,6 +102,7 @@ func (l *CronTask) computeStatistic() {
 				messagerecords.BotWxid(wxinfo.Wxid),
 				messagerecords.CreatedAtGTE(lastHour),
 				messagerecords.CreatedAtLT(currentHour),
+				messagerecords.StatusIn(2, 3, 4),
 			).Count(l.ctx)
 			orgSopRunInt += sopRunInt
 			allHourSopRunInt += sopRunInt