Pre Merge pull request !378 from NipGeihou/4.X

This commit is contained in:
NipGeihou 2023-06-27 07:09:56 +00:00 committed by Gitee
commit 2f02086f73
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 20 deletions

View File

@ -48,14 +48,6 @@ public interface ISysDictTypeService {
*/
SysDictType selectDictTypeById(Long dictId);
/**
* 根据字典类型查询信息
*
* @param dictType 字典类型
* @return 字典类型
*/
SysDictType selectDictTypeByType(String dictType);
/**
* 批量删除字典信息
*

View File

@ -110,18 +110,6 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService, DictService
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));
}
/**
* 批量删除字典类型信息
*