Authored by Lixiaodi

bug修改

... ... @@ -199,4 +199,14 @@ public class PaymentData {
public void setBuyerId(String buyerId) {
this.buyerId = buyerId;
}
@Override
public String toString() {
return "PaymentData [orderCode=" + orderCode + ", paymentID=" + paymentID + ", totalFee=" + totalFee
+ ", paymentTime=" + paymentTime + ", callbackTime=" + callbackTime + ", bankName=" + bankName
+ ", bankCode=" + bankCode + ", tradeNo=" + tradeNo + ", bankBillNo=" + bankBillNo + ", uid=" + uid
+ ", orderType=" + orderType + ", mchId=" + mchId + ", appId=" + appId + ", messageId=" + messageId
+ ", buyerId=" + buyerId + "]";
}
}
... ...
... ... @@ -246,8 +246,7 @@ public class PaymentServiceImpl implements IPaymentService {
logger.warn("paySuccess finished.order exist, orderCode is {}, type is {}", orderCode, codeMeta.getType());
return;
}
if (abstractOrderService.isOrderPaid(orderInfo)){
if (!abstractOrderService.isOrderWaitingPay(orderInfo)){
logger.warn("paySuccess finished. status has paid, orderCode is {}", orderCode);
return;
}
... ...