作者 yangfu

组织修改

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