Merge branch 'test6.9.10' of http://git.yoho.cn/ufo/yohoufo-fore into test6.9.10
Showing
1 changed file
with
9 additions
and
0 deletions
@@ -421,6 +421,15 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple | @@ -421,6 +421,15 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple | ||
421 | if (rows == 0){ | 421 | if (rows == 0){ |
422 | return rows; | 422 | return rows; |
423 | } | 423 | } |
424 | + //refund amount | ||
425 | + new GoodsServiceRefundHandler() | ||
426 | + .loadLogger(logger) | ||
427 | + .loadUser(appraiseOrder.getUid()) | ||
428 | + .loadActionCase(SellerWalletDetail.Type.APPRAISE_UNSURE) | ||
429 | + .loadRefundAction(payRefundService::refund) | ||
430 | + .loadOrder(appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode(), appraiseOrder.getPayment(), appraiseOrder.getAmount()) | ||
431 | + .refund(); | ||
432 | + | ||
424 | AppraiseOrderStatus targetOrderStatus = AppraiseOrderStatus.PLATFORM_APPRAISE_UNSURE; | 433 | AppraiseOrderStatus targetOrderStatus = AppraiseOrderStatus.PLATFORM_APPRAISE_UNSURE; |
425 | inBoxFacade.sellerDepositOrderNotice(appraiseOrder.getUid(), appraiseOrder.getOrderCode(), targetOrderStatus); | 434 | inBoxFacade.sellerDepositOrderNotice(appraiseOrder.getUid(), appraiseOrder.getOrderCode(), targetOrderStatus); |
426 | depositService.insertFakeDeposit(appraiseOrder.getUid(), appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode()); | 435 | depositService.insertFakeDeposit(appraiseOrder.getUid(), appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode()); |
-
Please register or login to post a comment