소스 검색

fix:sop执行次数修改

jimmyyem 18 시간 전
부모
커밋
68b1c14ded
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crontask/compute_statistic.go

+ 1 - 1
crontask/compute_statistic.go

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