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