diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/service/impl/AccInfoServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/service/impl/AccInfoServiceImpl.java index 0187b738..1f6e2afd 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/service/impl/AccInfoServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/service/impl/AccInfoServiceImpl.java @@ -97,7 +97,7 @@ public class AccInfoServiceImpl extends ServiceImpl 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 {