master
胡锐 9 months ago
parent 944a1dcbdb
commit 947c3564f7
  1. 12
      cweb/src/main/java/com/cweb/notify/TianQueController.java

@ -99,11 +99,21 @@ public class TianQueController {
other.put("settleAmount", body.getBigDecimal("settleAmt"));
}
TradeOrderPayModeEnum tradeOrderPayMode = null;
if (body.getString("payType").equals("UNIONPAY")) {
tradeOrderPayMode = TradeOrderPayModeEnum.UQRCODEPAY;
} else {
tradeOrderPayMode = TradeOrderPayModeEnum.getNameByCode(body.getString("payType"));
}
if (tradeOrderPayMode == null) {
tradeOrderPayMode = TradeOrderPayModeEnum.UNKNOWN;
}
tradeOrderService.paySuccess(
body.getString("ordNo"),
body.getString("sxfUuid"),
PlatformTypeEnum.type5,
TradeOrderPayModeEnum.getNameByCode(body.getString("payType")),
tradeOrderPayMode,
body.getBigDecimal("totalOffstAmt"),
body.getString("mno"),
other

Loading…
Cancel
Save