修改bug
This commit is contained in:
parent
35f0ec6fe3
commit
afb1f58d56
|
|
@ -194,7 +194,11 @@ public class NuBaseInfoServiceImpl extends ServiceImpl<NuBaseInfoMapper, NuBaseI
|
|||
QueryWrapper<NuBaseInfo> queryWrapper = QueryGenerator.initQueryWrapper(nuBaseInfo, req.getParameterMap(), customeRuleMap);
|
||||
NuBaseInfo dto = baseMapper.queryinfoByBuId(queryWrapper);
|
||||
NuBaseInfoEntity result = new NuBaseInfoEntity();
|
||||
BeanUtils.copyProperties(dto, result);
|
||||
if(dto!=null){
|
||||
BeanUtils.copyProperties(dto, result);
|
||||
}else{
|
||||
result = null;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue