|
@@ -964,7 +964,7 @@ public class WalletService {
|
|
|
if (StringUtils.isBlank(uid)) {
|
|
if (StringUtils.isBlank(uid)) {
|
|
|
throw new BusinessException("您暂未开通电子钱包");
|
|
throw new BusinessException("您暂未开通电子钱包");
|
|
|
}
|
|
}
|
|
|
- ChannelEnum channelEnum = ChannelEnum.getByChannel(prePay.getChannel());
|
|
|
|
|
|
|
+ ChannelEnum channelEnum = ChannelEnum.getByValue(prePay.getChannel());
|
|
|
if (Objects.isNull(channelEnum)) {
|
|
if (Objects.isNull(channelEnum)) {
|
|
|
throw new BusinessException("支付通道不存在");
|
|
throw new BusinessException("支付通道不存在");
|
|
|
}
|
|
}
|
|
@@ -1255,6 +1255,7 @@ public class WalletService {
|
|
|
for (WalletRefundVo walletRefundVo : list) {
|
|
for (WalletRefundVo walletRefundVo : list) {
|
|
|
walletRefundVo.setUidName(getFirmName(walletRefundVo.getUid()));
|
|
walletRefundVo.setUidName(getFirmName(walletRefundVo.getUid()));
|
|
|
walletRefundVo.setFilterName(getFirmName(walletRefundVo.getFilter()));
|
|
walletRefundVo.setFilterName(getFirmName(walletRefundVo.getFilter()));
|
|
|
|
|
+ walletRefundVo.setChannelLabel(ChannelEnum.getDesc(walletRefundVo.getChannel()));
|
|
|
}
|
|
}
|
|
|
return walletRefundVoPageRes;
|
|
return walletRefundVoPageRes;
|
|
|
}
|
|
}
|