wjli
2024-03-25 362358f7ef62909a55392a49b3aa2ca059a40be9
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
33
package cn.exrick.xboot.base.service;
 
import cn.exrick.xboot.base.entity.Dict;
import cn.exrick.xboot.core.base.XbootBaseService;
 
import java.util.List;
 
/**
 * 字典接口
 * @author Exrick
 */
public interface DictService extends XbootBaseService<Dict, String> {
 
    /**
     * 排序获取全部
     * @return
     */
    List<Dict> findAllOrderBySortOrder();
 
    /**
     * 通过type获取
     * @param type
     * @return
     */
    Dict findByType(String type);
 
    /**
     * 模糊搜索
     * @param key
     * @return
     */
    List<Dict> findByTitleOrTypeLike(String key);
}