正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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()) |
@@ -164,7 +164,7 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep | @@ -164,7 +164,7 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep | ||
164 | CompanyId: departmentsUsersQuery.Operator.CompanyId, | 164 | CompanyId: departmentsUsersQuery.Operator.CompanyId, |
165 | OrganizationId: departmentsUsersQuery.Operator.OrgId, | 165 | OrganizationId: departmentsUsersQuery.Operator.OrgId, |
166 | Limit: 10000, | 166 | Limit: 10000, |
167 | - InEnableStatus: []int{domain.UserStatusEnable, domain.UserStatusDisable}, | 167 | + InEnableStatus: []int{domain.UserStatusEnable}, |
168 | }) | 168 | }) |
169 | if err != nil { | 169 | if err != nil { |
170 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) | 170 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) |
-
请 注册 或 登录 后发表评论