公司和部门管理列表,根据代码模糊查询时,可以查出子节点
This commit is contained in:
@@ -93,6 +93,7 @@ public class CompanyController extends BaseController {
|
|||||||
company.setParentCode(Company.ROOT_CODE);
|
company.setParentCode(Company.ROOT_CODE);
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(company.getViewCode())
|
if (StringUtils.isNotBlank(company.getViewCode())
|
||||||
|
|| StringUtils.isNotBlank(company.getViewCode_like())
|
||||||
|| StringUtils.isNotBlank(company.getCompanyName())
|
|| StringUtils.isNotBlank(company.getCompanyName())
|
||||||
|| StringUtils.isNotBlank(company.getFullName())){
|
|| StringUtils.isNotBlank(company.getFullName())){
|
||||||
company.setParentCode(null);
|
company.setParentCode(null);
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ public class OfficeController extends BaseController {
|
|||||||
office.setParentCode(Office.ROOT_CODE);
|
office.setParentCode(Office.ROOT_CODE);
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(office.getViewCode())
|
if (StringUtils.isNotBlank(office.getViewCode())
|
||||||
|
|| StringUtils.isNotBlank(office.getViewCode_like())
|
||||||
|| StringUtils.isNotBlank(office.getOfficeName())
|
|| StringUtils.isNotBlank(office.getOfficeName())
|
||||||
|| StringUtils.isNotBlank(office.getFullName())){
|
|| StringUtils.isNotBlank(office.getFullName())){
|
||||||
office.setParentCode(null);
|
office.setParentCode(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user