mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-08 02:03:44 +08:00
fix: 修复GetComplexMemberIds组件查询外的WhereIn字段错误问题
This commit is contained in:
@@ -158,7 +158,7 @@
|
|||||||
|
|
||||||
|
|
||||||
## License
|
## 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 {
|
if len(memberIds) == 0 {
|
||||||
return nil, 0, nil
|
return nil, 0, nil
|
||||||
}
|
}
|
||||||
mod = mod.WhereIn(dao.AdminOrder.Columns().MemberId, memberIds)
|
mod = mod.WhereIn("member_id", memberIds)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(in.CreatedAt) == 2 {
|
if len(in.CreatedAt) == 2 {
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ func (s *sAdminCreditsLog) List(ctx context.Context, in *adminin.CreditsLogListI
|
|||||||
if len(memberIds) == 0 {
|
if len(memberIds) == 0 {
|
||||||
return nil, 0, nil
|
return nil, 0, nil
|
||||||
}
|
}
|
||||||
mod = mod.WhereIn(dao.AdminOrder.Columns().MemberId, memberIds)
|
mod = mod.WhereIn(dao.AdminCreditsLog.Columns().MemberId, memberIds)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查询应用id
|
// 查询应用id
|
||||||
|
|||||||
Reference in New Issue
Block a user