懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.sys.modular.rest.mapper;
2
3 import cn.stylefeng.guns.base.pojo.node.ZTreeNode;
4 import cn.stylefeng.guns.sys.modular.rest.entity.RestDict;
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 RestDictMapper extends BaseMapper<RestDict> {
19
20     /**
21      * 获取ztree的节点列表
22      */
23     List<ZTreeNode> dictTree(@Param("dictTypeId") Long dictTypeId);
24
25     /**
26      * where parentIds like ''
27      */
28     List<RestDict> likeParentIds(@Param("dictId") Long dictId);
29 }