Skip to content

无法正确根据角色获取用户列表 #62

Open
@hujianxiong

Description

@hujianxiong

选择角色时获取的用户列表不正确
internal/app/model/impl/gorm/internal/model/m_user.go 47行 db = db.Where("record_id IN (?) ",subQuery)
IN后面多了一对括号,导致生成的查询语句执行结果与预期不符,去了括号就正确了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions