Browse Source

Merge branch 'fixbug/374-huaguo-sopcount'

jimmyyem 2 ngày trước cách đây
mục cha
commit
4a6e13a756
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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