update 升级 hutool 5.7.1 适配工具类
This commit is contained in:
parent
bb2ade75a8
commit
a1717eac6d
|
@ -56,7 +56,7 @@ public class SysDeptController extends BaseController
|
||||||
{
|
{
|
||||||
SysDept d = (SysDept) it.next();
|
SysDept d = (SysDept) it.next();
|
||||||
if (d.getDeptId().intValue() == deptId
|
if (d.getDeptId().intValue() == deptId
|
||||||
|| ArrayUtils.contains(StrUtil.split(d.getAncestors(), ","), deptId + ""))
|
|| ArrayUtils.contains(StrUtil.splitToArray(d.getAncestors(), ","), deptId + ""))
|
||||||
{
|
{
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue