fix: 修复GetComplexMemberIds组件查询外的WhereIn字段错误问题

This commit is contained in:
孟帅 2025-03-23 17:04:43 +08:00
parent 62af998991
commit 0c5b27d864
3 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@
## License
[MIT © HotGo-2024](./LICENSE)
[MIT © HotGo-2025](./LICENSE)

View File

@ -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 {

View File

@ -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