1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package com.stylefeng.guns.modular.system.dao;
|
|
| import com.baomidou.mybatisplus.mapper.BaseMapper;
| import com.stylefeng.guns.core.node.ZTreeNode;
| import com.stylefeng.guns.modular.system.model.Dept;
| import org.apache.ibatis.annotations.Param;
|
| import java.util.List;
| import java.util.Map;
|
| /**
| * <p>
| * 部门表 Mapper 接口
| * </p>
| *
| * @author stylefeng
| * @since 2017-07-11
| */
| public interface DeptMapper extends BaseMapper<Dept> {
|
| /**
| * 获取ztree的节点列表
| */
| List<ZTreeNode> tree();
|
| /**
| * 获取所有部门列表
| */
| List<Map<String, Object>> list(@Param("condition") String condition);
|
| }
|
|