Showing
1 changed file
with
2 additions
and
2 deletions
@@ -130,7 +130,7 @@ public class BuyerOrderCancelService { | @@ -130,7 +130,7 @@ public class BuyerOrderCancelService { | ||
130 | int targetGoodsStatus = SkupStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(); | 130 | int targetGoodsStatus = SkupStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(); |
131 | int targetSellerOrderStatus = SellerOrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(); | 131 | int targetSellerOrderStatus = SellerOrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(); |
132 | //重新上架标志 | 132 | //重新上架标志 |
133 | - boolean reSellAfterCancel=(OrderAssist.skupIsCommonInStock(psog.getAttributes())||OrderAssist.skupIsAdvance(psog.getAttributes()))?true:false; | 133 | + boolean reSellAfterCancel=(OrderAssist.skupIsCommonInStock(psog.getAttributes())||OrderAssist.skupIsAdvance(psog.getAttributes())); |
134 | if(reSellAfterCancel){ | 134 | if(reSellAfterCancel){ |
135 | targetGoodsStatus = SkupStatus.CAN_SELL.getCode(); | 135 | targetGoodsStatus = SkupStatus.CAN_SELL.getCode(); |
136 | targetSellerOrderStatus = SellerOrderStatus.HAS_PAYED.getCode(); | 136 | targetSellerOrderStatus = SellerOrderStatus.HAS_PAYED.getCode(); |
@@ -168,7 +168,7 @@ public class BuyerOrderCancelService { | @@ -168,7 +168,7 @@ public class BuyerOrderCancelService { | ||
168 | TransferCase transferCase = TransferCase.PART_GOODS_MONEY_TO_SELLER; | 168 | TransferCase transferCase = TransferCase.PART_GOODS_MONEY_TO_SELLER; |
169 | //(退费)扣除赔偿款,计算剩余的货款,退给买家 | 169 | //(退费)扣除赔偿款,计算剩余的货款,退给买家 |
170 | BuyerCancelAfterProcessTask bcapt = new BuyerCancelAfterProcessTask(buyerOrder, skup, | 170 | BuyerCancelAfterProcessTask bcapt = new BuyerCancelAfterProcessTask(buyerOrder, skup, |
171 | - bpcr, transferCase,reSellAfterCancel); | 171 | + bpcr, transferCase, reSellAfterCancel); |
172 | bcapt.targetOrderStatus = targetOrderStatus; | 172 | bcapt.targetOrderStatus = targetOrderStatus; |
173 | bcapt.setSwdType(SellerWalletDetail.Type.BUYER_CANCEL_NO_DELIVERY); | 173 | bcapt.setSwdType(SellerWalletDetail.Type.BUYER_CANCEL_NO_DELIVERY); |
174 | Future<PayRefundBo> future = ThreadPoolFactory.getBuyerCancelThreadPool().submit(bcapt); | 174 | Future<PayRefundBo> future = ThreadPoolFactory.getBuyerCancelThreadPool().submit(bcapt); |
-
Please register or login to post a comment