fix 修复 selectDictTypeByType 查询方法错误问题

This commit is contained in:
疯狂的狮子Li 2023-12-21 11:31:11 +08:00
parent 80644cbba3
commit ded2a32fdf
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService, DictService
*/
@Override
public SysDictType selectDictTypeByType(String dictType) {
return baseMapper.selectById(new LambdaQueryWrapper<SysDictType>().eq(SysDictType::getDictType, dictType));
return baseMapper.selectVoOne(new LambdaQueryWrapper<SysDictType>().eq(SysDictType::getDictType, dictType));
}
/**