Merge branch 'feat-hjj-ExportManager' into dev

This commit is contained in:
jiaji.H 2026-01-14 09:16:55 +08:00
commit 445695ef29

View File

@ -1322,7 +1322,7 @@ func MetricsArtistAccountExport(req *bundle.MetricsArtistAccountExportReq) (*bun
subQuery := app.ModuleClients.BundleDB.Table("cast_media_account").
Select("artist_uuid,any_value(artist_name) as artist_name,any_value(created_at) as created_at").
Group("artist_uuid").
Where("deleted_at = 0")
Where("deleted_at = 0 and expired = 1")
//如果选择了月份
if len(req.Month) > 0 {
// 构建多个月份的时间范围条件(使用 OR 连接)