|
@@ -897,7 +897,7 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
|
|
throw new BizException("订单支付信息未找到");
|
|
throw new BizException("订单支付信息未找到");
|
|
}
|
|
}
|
|
OmsOrderDetail detail = detail(orderPayment.getOrderNo());
|
|
OmsOrderDetail detail = detail(orderPayment.getOrderNo());
|
|
- if (detail.getStatus() == 0) {
|
|
|
|
|
|
+// if (detail.getStatus() == 0) {
|
|
orderSuccess(detail, payAmount, payChannel);
|
|
orderSuccess(detail, payAmount, payChannel);
|
|
|
|
|
|
orderPayment.setStatus(TradeStatusEnum.succeeded.getCode());
|
|
orderPayment.setStatus(TradeStatusEnum.succeeded.getCode());
|
|
@@ -911,12 +911,12 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
|
|
if (!httpResponseResult.getStatus()) {
|
|
if (!httpResponseResult.getStatus()) {
|
|
throw new BizException(httpResponseResult.getMsg());
|
|
throw new BizException(httpResponseResult.getMsg());
|
|
}
|
|
}
|
|
- } else {
|
|
|
|
- LOG.error("汇付支付回调,订单状态异常。 req is {}", detail.getOrderSn());
|
|
|
|
|
|
+// } else {
|
|
|
|
+// LOG.error("汇付支付回调,订单状态异常。 req is {}", detail.getOrderSn());
|
|
|
|
|
|
|
|
|
|
// orderRefund(orderPayment,detail.getPayAmount().toString());
|
|
// orderRefund(orderPayment,detail.getPayAmount().toString());
|
|
- }
|
|
|
|
|
|
+// }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|