mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
feat: 删除 未使用的方法
此方法与SysDictTypeServiceImpl.selectDictDataByType使用相同的缓存key,调用会报类型转化错误
This commit is contained in:
parent
cf66216f3e
commit
07f7b923d9
@ -48,14 +48,6 @@ public interface ISysDictTypeService {
|
|||||||
*/
|
*/
|
||||||
SysDictType selectDictTypeById(Long dictId);
|
SysDictType selectDictTypeById(Long dictId);
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据字典类型查询信息
|
|
||||||
*
|
|
||||||
* @param dictType 字典类型
|
|
||||||
* @return 字典类型
|
|
||||||
*/
|
|
||||||
SysDictType selectDictTypeByType(String dictType);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除字典信息
|
* 批量删除字典信息
|
||||||
*
|
*
|
||||||
|
|||||||
@ -110,18 +110,6 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService, DictService
|
|||||||
return baseMapper.selectById(dictId);
|
return baseMapper.selectById(dictId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据字典类型查询信息
|
|
||||||
*
|
|
||||||
* @param dictType 字典类型
|
|
||||||
* @return 字典类型
|
|
||||||
*/
|
|
||||||
@Cacheable(cacheNames = CacheNames.SYS_DICT, key = "#dictType")
|
|
||||||
@Override
|
|
||||||
public SysDictType selectDictTypeByType(String dictType) {
|
|
||||||
return baseMapper.selectById(new LambdaQueryWrapper<SysDictType>().eq(SysDictType::getDictType, dictType));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除字典类型信息
|
* 批量删除字典类型信息
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user