Commit 6845d1b1 by caosy

多次部分退款

parent 320970e6
......@@ -231,7 +231,9 @@ public abstract class AbstractNotifyService extends CorePaymentService {
BigDecimal bigDecimal = new BigDecimal(reqInfoMap.get("settlement_refund_fee").toString());
NotifyRequestBean notifyRequestBean = new NotifyRequestBean();
notifyRequestBean.setAmount(bigDecimal.divide(new BigDecimal("100")));
if(!this.isAllRefund(notifyRequestBean, order)){
logger.info("现付状态===================================》"+ order.getProcessStatus());
if(order.getProcessStatus() != 275){
order.setProcessStatus(order.getProcessStatus()+3 ) ;
}
......@@ -497,6 +499,7 @@ public abstract class AbstractNotifyService extends CorePaymentService {
if (SUCCESS.equalsIgnoreCase(notifyRequestBean.getStatus())) {
if(!this.isAllRefund(notifyRequestBean, order)){
logger.info("现付状态===================================》"+ order.getProcessStatus());
if(order.getProcessStatus() != 275){
order.setProcessStatus(order.getProcessStatus()+3);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment