xiangpei
2025-02-13 efb5f90cef151c35a953cc88284482f8023cdc1a
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());