fuliqi
2025-02-14 580aab8d7f186d83409d177f4aed2fe60e01b67f
system/src/main/java/com/ycl/system/service/impl/SysDeptServiceImpl.java
@@ -64,8 +64,14 @@
    }
    @Override
    public List<TreeSelect> deptTreeNoDataAuth(SysDept dept) {
        List<SysDept> depts = deptMapper.selectDeptList(dept);;
        return buildDeptTreeSelect(depts);
    }
    @Override
    public List<StringTreeSelect> flowDeptTree(SysDept dept) {
        List<SysDept> depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
        List<SysDept> depts = deptMapper.selectDeptList(dept);
        List<StringTreeSelect> list = depts.stream().map(item -> {
            StringTreeSelect d = new StringTreeSelect();
            d.setId("dept:" + item.getDeptId());