update 升级 hutool 5.7.1 适配工具类

This commit is contained in:
疯狂的狮子li 2021-06-16 15:39:19 +08:00
parent bb2ade75a8
commit a1717eac6d
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }