提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.system.mapper; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.base.pojo.node.ZTreeNode; |
|
4 |
import cn.stylefeng.guns.sys.modular.system.entity.Dict; |
|
5 |
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
6 |
import org.apache.ibatis.annotations.Param; |
|
7 |
|
|
8 |
import java.util.List; |
|
9 |
|
|
10 |
/** |
|
11 |
* <p> |
|
12 |
* 基础字典 Mapper 接口 |
|
13 |
* </p> |
|
14 |
* |
|
15 |
* @author stylefeng |
|
16 |
* @since 2019-03-13 |
|
17 |
*/ |
|
18 |
public interface DictMapper extends BaseMapper<Dict> { |
|
19 |
|
|
20 |
/** |
|
21 |
* 获取ztree的节点列表 |
|
22 |
*/ |
|
23 |
List<ZTreeNode> dictTree(@Param("dictTypeId") Long dictTypeId); |
|
24 |
|
|
25 |
/** |
|
26 |
* where parentIds like '' |
|
27 |
*/ |
|
28 |
List<Dict> likeParentIds(@Param("dictId") Long dictId); |
|
29 |
} |