...
|
...
|
@@ -176,7 +176,7 @@ func (orgService *OrgService) GetOrgSubDepartment(getOrgSubDepartmentQuery *quer |
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
_, orgs, err := orgRepository.Find(map[string]interface{}{"companyId": org.CompanyId})
|
|
|
_, orgs, err := orgRepository.Find(map[string]interface{}{"companyId": org.CompanyId, "limit": 1000})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
|