fix ClassCastException

This commit is contained in:
sxu 2025-03-01 10:13:22 +08:00
parent c164464e89
commit be78a0589b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {