kongzy
2023-11-24 ebe94e19812a1b24257d60831ec932756855e94b
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.gkhy.assess.system.service;
 
import com.gkhy.assess.common.api.CommonPage;
import com.gkhy.assess.system.domain.SysDictData;
import com.gkhy.assess.system.domain.SysDictType;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author kzy
 * @since 2023-11-01 15:37:51
 */
public interface SysDictTypeService extends IService<SysDictType> {
    /**
     * 分页获取数据字典类型
     * @param dictType
     * @return
     */
    CommonPage dictTypeList(SysDictType dictType);
 
    /**
     * 根据id获取数据字典类型详情
     * @param dictId
     * @return
     */
    SysDictType getDictTypeById(Long dictId);
 
    /**
     * 新增字典类型
     * @param dictType
     * @return
     */
    int addDictType(SysDictType dictType);
 
    /**
     * 修改字典类型
     * @param dictType
     * @return
     */
    int editDictType(SysDictType dictType);
 
    /**
     * 根据id删除字典类型
     * @param dictId
     * @return
     */
    int deleteDictTypeById(Long dictId);
 
    /**
     * 字典类型状态修改
     * @param dictType
     * @return
     */
    int changeDictTypeStatus(SysDictType dictType);
 
    /**
     * 校验字典类型称是否唯一
     *
     * @param dictType 字典类型
     * @return 结果
     */
    boolean checkDictTypeUnique(SysDictType dictType);
 
    /**
     * 根据字典类型查询字典数据
     *
     * @param dictType 字典类型
     * @return 字典数据集合信息
     */
     List<SysDictData> getDictDataByType(String dictType);
 
    /**
     * 根据字典类型查询信息
     *
     * @param dictType 字典类型
     * @return 字典类型
     */
    SysDictType getDictTypeByType(String dictType);
 
}