|
@@ -188,7 +188,7 @@ func (srv UserService) DepartmentsUsers(departmentsUsersQuery *query.Departments |
|
@@ -188,7 +188,7 @@ func (srv UserService) DepartmentsUsers(departmentsUsersQuery *query.Departments |
|
188
|
CompanyId: departmentsUsersQuery.Operator.CompanyId,
|
188
|
CompanyId: departmentsUsersQuery.Operator.CompanyId,
|
|
189
|
OrganizationId: departmentsUsersQuery.Operator.OrgId,
|
189
|
OrganizationId: departmentsUsersQuery.Operator.OrgId,
|
|
190
|
UserType: domain.UserTypeEmployee, //TODO:是否要共创用户
|
190
|
UserType: domain.UserTypeEmployee, //TODO:是否要共创用户
|
|
191
|
- InEnableStatus: []int{domain.UserStatusEnable, domain.UserStatusDisable},
|
191
|
+ InEnableStatus: []int{domain.UserStatusEnable},
|
|
192
|
})
|
192
|
})
|
|
193
|
if err != nil {
|
193
|
if err != nil {
|
|
194
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
194
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|