mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 10:35:57 +08:00
Pre Merge pull request !378 from NipGeihou/4.X
This commit is contained in:
commit
2f02086f73
@ -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