作者 Your Name

修正 条件

1 package service 1 package service
2 2
3 import ( 3 import (
4 - "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"  
5 "strconv" 4 "strconv"
6 5
  6 + "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
  7 +
7 "github.com/linmadan/egglib-go/core/application" 8 "github.com/linmadan/egglib-go/core/application"
8 "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/orgs/command" 9 "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/orgs/command"
9 "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/orgs/dto" 10 "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/orgs/dto"
@@ -164,7 +165,7 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep @@ -164,7 +165,7 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep
164 CompanyId: departmentsUsersQuery.Operator.CompanyId, 165 CompanyId: departmentsUsersQuery.Operator.CompanyId,
165 OrganizationId: departmentsUsersQuery.Operator.OrgId, 166 OrganizationId: departmentsUsersQuery.Operator.OrgId,
166 Limit: 1000, 167 Limit: 1000,
167 - InEnableStatus: []int{domain.UserStatusEnable, domain.UserStatusDisable}, 168 + InEnableStatus: []int{domain.UserStatusEnable},
168 }) 169 })
169 if err != nil { 170 if err != nil {
170 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 171 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())