| | |
| | | import java.util.List; |
| | | |
| | | import com.ycl.common.base.Result; |
| | | import com.ycl.common.core.domain.StringTreeSelect; |
| | | import com.ycl.common.core.domain.TreeSelect; |
| | | import com.ycl.common.core.domain.entity.SysDept; |
| | | |
| | |
| | | public List<TreeSelect> selectDeptTreeList(SysDept dept); |
| | | |
| | | /** |
| | | * 流程配置使用--树结构 |
| | | * |
| | | * @param dept |
| | | * @return |
| | | */ |
| | | List<StringTreeSelect> flowDeptTree(SysDept dept); |
| | | |
| | | /** |
| | | * 构建前端所需要树结构 |
| | | * |
| | | * @param depts 部门列表 |
| | | * @return 树结构列表 |
| | | */ |
| | | public List<SysDept> buildDeptTree(List<SysDept> depts); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 构建前端所需要下拉树结构 |
| | |
| | | * @return |
| | | */ |
| | | Result all(SysDept dept); |
| | | |
| | | /** |
| | | * flowable 查所有部门 |
| | | * |
| | | * @return |
| | | */ |
| | | List<StringTreeSelect> flowableAll(); |
| | | } |