岗位分权,部门列表BUG修复
This commit is contained in:
parent
6ac651e8bd
commit
559ea407ab
|
|
@ -130,7 +130,7 @@ public class JobBrowserService extends BrowserService {
|
|||
// 分权
|
||||
DetachUtil detachUtil = new DetachUtil(user);
|
||||
if (detachUtil.isDETACH()) {
|
||||
sqlWhere += " AND t.parent_comp in (" + detachUtil.getJclRoleLevels() + ")";
|
||||
sqlWhere += " AND t.ec_company in (" + detachUtil.getJclRoleLevels() + ")";
|
||||
}
|
||||
return sqlWhere;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ public class DepartmentBO {
|
|||
return "";
|
||||
}
|
||||
String departmentPrincipal = MapperProxyFactory.getProxy(DepartmentMapper.class).getDepartmentPrincipal(id);
|
||||
if (StringUtils.isBlank(departmentPrincipal)) {
|
||||
if (StringUtils.isBlank(departmentPrincipal) || "$NULL$".equalsIgnoreCase(departmentPrincipal)) {
|
||||
return "";
|
||||
}
|
||||
List<Long> collect = Arrays.stream(departmentPrincipal.split(",")).map(Long::parseLong).collect(Collectors.toList());
|
||||
|
|
|
|||
Loading…
Reference in New Issue