lishihai
2024-06-19 8fcc8d68d295ed80a42c4862f0591cd187df38b7
models/month_stats.go
@@ -347,3 +347,12 @@
   }
   return m
}
func (slf *MonthStatsSearch) Count() (int64, error) {
   var (
      total int64
      db    = slf.build()
   )
   err := db.Count(&total).Error
   return total, err
}