mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-17 08:46:39 +08:00
fix: 修复GetComplexMemberIds
组件查询外的WhereIn字段错误问题
This commit is contained in:
parent
62af998991
commit
0c5b27d864
@ -158,7 +158,7 @@
|
||||
|
||||
|
||||
## License
|
||||
[MIT © HotGo-2024](./LICENSE)
|
||||
[MIT © HotGo-2025](./LICENSE)
|
||||
|
||||
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user