作者 yangfu

web用户部门列表修改

@@ -186,11 +186,12 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep @@ -186,11 +186,12 @@ func (orgsService OrgsService) DepartmentsUsers(departmentsUsersQuery *query.Dep
186 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 186 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
187 } 187 }
188 resultApplication, err := creationCooperationGateway.CooperationApplicationsSearch(allied_creation_cooperation.ReqCooperationApplicationSearch{ 188 resultApplication, err := creationCooperationGateway.CooperationApplicationsSearch(allied_creation_cooperation.ReqCooperationApplicationSearch{
189 - CooperationProjectNumber: resultProject.CooperationProject.CooperationProjectNumber,  
190 - PageNumber: 0,  
191 - PageSize: 1000,  
192 - CompanyId: resultProject.Company.CompanyId,  
193 - OrgId: int64(resultProject.Org.OrgId), 189 + CooperationProjectNumber: resultProject.CooperationProject.CooperationProjectNumber,
  190 + PageNumber: 0,
  191 + PageSize: 1000,
  192 + CompanyId: resultProject.Company.CompanyId,
  193 + OrgId: int64(resultProject.Org.OrgId),
  194 + CooperationApplicationStatus: 2, //审核通过的
194 }) 195 })
195 if err != nil { 196 if err != nil {
196 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 197 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())