Commit 1b86a53f authored by 施翔轲's avatar 施翔轲

修复组织停用后新增用户依旧能看见的问题

parent 9a52d5dd
...@@ -59,7 +59,7 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService { ...@@ -59,7 +59,7 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
.eq(ObjectUtil.isNotNull(dept.getDeptId()), SysDept::getDeptId, dept.getDeptId()) .eq(ObjectUtil.isNotNull(dept.getDeptId()), SysDept::getDeptId, dept.getDeptId())
.eq(ObjectUtil.isNotNull(dept.getParentId()), SysDept::getParentId, dept.getParentId()) .eq(ObjectUtil.isNotNull(dept.getParentId()), SysDept::getParentId, dept.getParentId())
.like(StringUtils.isNotBlank(dept.getDeptName()), SysDept::getDeptName, dept.getDeptName()) .like(StringUtils.isNotBlank(dept.getDeptName()), SysDept::getDeptName, dept.getDeptName())
.eq(StringUtils.isNotBlank(dept.getStatus()), SysDept::getStatus, dept.getStatus()) .eq(SysDept::getStatus, 0)
.orderByAsc(SysDept::getParentId) .orderByAsc(SysDept::getParentId)
.orderByAsc(SysDept::getOrderNum); .orderByAsc(SysDept::getOrderNum);
return baseMapper.selectDeptList(lqw); return baseMapper.selectDeptList(lqw);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment