|
|
|
@@ -796,7 +796,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
throw new MallinkException(ErrorCode.PAY_ORDER_NOT_FOUND); |
|
|
|
} |
|
|
|
|
|
|
|
if (record.getPayOrderStatus() == EnumPayStatus.PAY_WAY_CANCEL.getCode()) { |
|
|
|
if (record.getPayOrderStatus() == EnumPayStatus.PAY_WAY_FAIL.getCode()) { |
|
|
|
// 支付订单取消 |
|
|
|
if (record.getPayAmount() > 0) { |
|
|
|
payOrderQ = new WxPayOrder(); |
|
|
|
@@ -866,7 +866,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
logger.error(e.getMessage()); |
|
|
|
throw new MallinkException(ErrorCode.DB_FAIL.getCode(), "订单更新"); |
|
|
|
} |
|
|
|
} else if (record.getPayOrderStatus() == EnumPayStatus.PAY_WAY_CANCEL.getCode()) { |
|
|
|
} else if (record.getPayOrderStatus() == EnumPayStatus.PAY_WAY_FAIL.getCode()) { |
|
|
|
try { |
|
|
|
int _count = wxOrderService.updateOrderStatus(order, EnumOrderStatus.ORDER_STATUS_OVERTIME_CANCEL); |
|
|
|
if (_count > 1) { |
|
|
|
|