fix ClassCastException
This commit is contained in:
parent
c164464e89
commit
be78a0589b
|
|
@ -97,7 +97,7 @@ public class AccInfoServiceImpl extends ServiceImpl<AccInfoMapper, AccInfo> impl
|
||||||
@Override
|
@Override
|
||||||
public AccInfoVO getAccInfoVoByCustId(Long custId) {
|
public AccInfoVO getAccInfoVoByCustId(Long custId) {
|
||||||
log.info("获取账户(钱包)信息,入参={}", custId);
|
log.info("获取账户(钱包)信息,入参={}", custId);
|
||||||
AccInfoVO accInfoVO = ((AccInfoMapper)this.baseMapper).getAccInfoVOByCustId(custId);
|
AccInfoVO accInfoVO = (AccInfoVO) ((AccInfoMapper)this.baseMapper).getAccInfoVOByCustId(custId);
|
||||||
if (ObjectUtil.isNull(accInfoVO)) {
|
if (ObjectUtil.isNull(accInfoVO)) {
|
||||||
throw new ServiceException("账户不存在");
|
throw new ServiceException("账户不存在");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue