|
@@ -363,10 +363,7 @@ public class CompanyInfoController {
|
|
|
}
|
|
|
else if(userService.hasRole(subject,"ADMIN")){
|
|
|
CompanyInfo companyInfo = companyInfoService.get(user.getCompanyId());
|
|
|
-
|
|
|
- CompanyInfo parent = companyInfoService.get(companyInfo.getParentId());
|
|
|
-
|
|
|
- list = companyInfoService.findByCompanyCode(parent.getCode() + "%");
|
|
|
+ list = companyInfoService.findByCompanyCode(companyInfo.getCode() + "%");
|
|
|
}
|
|
|
|
|
|
msgResult.setResult(true);
|