Parcourir la source

fix:修改sop执行次数

jimmyyem il y a 22 heures
Parent
commit
a74c0d0cf9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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),
 			).Count(l.ctx)
 			orgSopRunInt += sopRunInt
 			allHourSopRunInt += sopRunInt