| | |
| | | package com.ruoyi.project.system.service;
|
| | |
|
| | | import java.util.List;
|
| | | import com.ruoyi.project.system.domain.SysDictData;
|
| | | import com.ruoyi.project.system.domain.SysDictType;
|
| | |
|
| | | /**
|
| | |
| | | public List<SysDictType> selectDictTypeAll();
|
| | |
|
| | | /**
|
| | | * 根据字典类型查询字典数据
|
| | | * |
| | | * @param dictType 字典类型
|
| | | * @return 字典数据集合信息
|
| | | */
|
| | | public List<SysDictData> selectDictDataByType(String dictType);
|
| | |
|
| | | /**
|
| | | * 根据字典类型ID查询信息
|
| | | *
|
| | | * @param dictId 字典类型ID
|
| | |
| | | public SysDictType selectDictTypeByType(String dictType);
|
| | |
|
| | | /**
|
| | | * 通过字典ID删除字典信息
|
| | | * |
| | | * @param dictId 字典ID
|
| | | * @return 结果
|
| | | */
|
| | | public int deleteDictTypeById(Long dictId);
|
| | |
|
| | | /**
|
| | | * 批量删除字典信息
|
| | | *
|
| | | * @param dictIds 需要删除的字典ID
|
| | |
| | | public int deleteDictTypeByIds(Long[] dictIds);
|
| | |
|
| | | /**
|
| | | * 清空缓存数据
|
| | | */
|
| | | public void clearCache();
|
| | |
|
| | | /**
|
| | | * 新增保存字典类型信息
|
| | | *
|
| | | * @param dictType 字典类型信息
|