|
@@ -139,9 +139,9 @@ func (rolesService *RolesService) RoleMenuBeforeEdit(roleMenuBeforeEditQuery *qu |
|
@@ -139,9 +139,9 @@ func (rolesService *RolesService) RoleMenuBeforeEdit(roleMenuBeforeEditQuery *qu |
139
|
roleMenuBeforeEditQuery.Operator)
|
139
|
roleMenuBeforeEditQuery.Operator)
|
140
|
roleId, _ := strconv.Atoi(roleMenuBeforeEditQuery.RoleId)
|
140
|
roleId, _ := strconv.Atoi(roleMenuBeforeEditQuery.RoleId)
|
141
|
roles, err := creationUserGateway.RoleSearch(allied_creation_user.ReqRoleSearch{
|
141
|
roles, err := creationUserGateway.RoleSearch(allied_creation_user.ReqRoleSearch{
|
142
|
- OrgId: roleMenuBeforeEditQuery.Operator.OrgId,
|
|
|
143
|
- Limit: 999,
|
|
|
144
|
- RoleType: 1,
|
142
|
+ CompanyId: roleMenuBeforeEditQuery.Operator.CompanyId,
|
|
|
143
|
+ Limit: 999,
|
|
|
144
|
+ RoleType: 1,
|
145
|
})
|
145
|
})
|
146
|
if err != nil {
|
146
|
if err != nil {
|
147
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
147
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|