mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 重试订单退款接口
This commit is contained in:
@@ -2775,11 +2775,11 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
}
|
||||
// 如果该订单是订单完成状态,并且是微信支付 存在需要退款金额,则进行后续操作
|
||||
String orderStatus = orderBasicInfo.getOrderStatus();
|
||||
if (StringUtils.equals(orderStatus, OrderStatusEnum.ORDER_COMPLETE.getValue())) {
|
||||
if (!StringUtils.equals(orderStatus, OrderStatusEnum.ORDER_COMPLETE.getValue())) {
|
||||
throw new BusinessException("", "订单不是完成状态");
|
||||
}
|
||||
String payMode = orderBasicInfo.getPayMode();
|
||||
if (StringUtils.equals(payMode, OrderPayModeEnum.PAYMENT_OF_WECHATPAY.getValue())) {
|
||||
if (!StringUtils.equals(payMode, OrderPayModeEnum.PAYMENT_OF_WECHATPAY.getValue())) {
|
||||
throw new BusinessException("", "订单不是微信支付");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user