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

2.X
疯狂的狮子Li 1 year ago
parent a84f00ecc8
commit 6b3ca289f8

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

Loading…
Cancel
Save