|
@@ -293,11 +293,11 @@ public class PayServiceImpl implements PayService {
|
|
|
BigDecimal hasRouteMoney = BigDecimal.ZERO;
|
|
|
List<Map<String, Object>> tempRoutingList = new ArrayList<>();
|
|
|
|
|
|
- PaymentChannelEnum patType = null;
|
|
|
+ PaymentChannelEnum payType = null;
|
|
|
boolean feeFlag = false;
|
|
|
Set<String> routingMerNoSet = new HashSet<>();
|
|
|
for (RouteScaleDto routeScaleDto : routeScaleDtos) {
|
|
|
- patType = routeScaleDto.getPayType();
|
|
|
+ payType = routeScaleDto.getPayType();
|
|
|
Map<String, Object> routingList = new HashMap<>();
|
|
|
i++;
|
|
|
|
|
@@ -347,7 +347,7 @@ public class PayServiceImpl implements PayService {
|
|
|
throw new BizException("调用支付接口失败");
|
|
|
}
|
|
|
|
|
|
- if (patType.equals(PaymentChannelEnum.YQPAY)) {
|
|
|
+ if (payType.equals(PaymentChannelEnum.YQPAY)) {
|
|
|
if (tempRoutingList.size() == 1 && YqPayUtil.merNo.equals(tempRoutingList.get(0).get("routingMerNo").toString())) {
|
|
|
tempRoutingList = null;
|
|
|
}
|
|
@@ -358,7 +358,7 @@ public class PayServiceImpl implements PayService {
|
|
|
String routingMerNos = String.join(",", routingMerNoSet);
|
|
|
|
|
|
unionPay.put("orderNo", orderNo);
|
|
|
- unionPay.put("type", patType.getCode());
|
|
|
+ unionPay.put("type", payType.getCode());
|
|
|
unionPay.put("payMap", payMap);
|
|
|
unionPay.put("routingMerNos", routingMerNos);
|
|
|
return unionPay;
|