Explorar el Código

Merge branch 'fixbug/374-huaguo-sopcount' into debug

jimmyyem hace 16 horas
padre
commit
7fb9286e83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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