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);
|
|
}
|