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