diff --git a/README.md b/README.md index acb3e3c..fe6ce8f 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ ## License -[MIT © HotGo-2024](./LICENSE) +[MIT © HotGo-2025](./LICENSE) diff --git a/server/internal/logic/admin/cash.go b/server/internal/logic/admin/cash.go index 01b3b7b..9acd2e1 100644 --- a/server/internal/logic/admin/cash.go +++ b/server/internal/logic/admin/cash.go @@ -90,7 +90,7 @@ func (s *sAdminCash) List(ctx context.Context, in *adminin.CashListInp) (list [] if len(memberIds) == 0 { return nil, 0, nil } - mod = mod.WhereIn(dao.AdminOrder.Columns().MemberId, memberIds) + mod = mod.WhereIn("member_id", memberIds) } if len(in.CreatedAt) == 2 { diff --git a/server/internal/logic/admin/credits_log.go b/server/internal/logic/admin/credits_log.go index d06b66c..b23d1a2 100644 --- a/server/internal/logic/admin/credits_log.go +++ b/server/internal/logic/admin/credits_log.go @@ -184,7 +184,7 @@ func (s *sAdminCreditsLog) List(ctx context.Context, in *adminin.CreditsLogListI if len(memberIds) == 0 { return nil, 0, nil } - mod = mod.WhereIn(dao.AdminOrder.Columns().MemberId, memberIds) + mod = mod.WhereIn(dao.AdminCreditsLog.Columns().MemberId, memberIds) } // 查询应用id