...
|
...
|
@@ -87,6 +87,7 @@ public class BuyerOrderWaitingPayCancelChanger extends AbstractBuyerOrderStateCh |
|
|
List<Statement> statements = new ArrayList<>();
|
|
|
if (buyerOrder.isBidOrder()) {
|
|
|
statements.add(() -> bidOrderAfterStatement(buyerOrder));
|
|
|
statements.add(() -> cacheCleaner.cleanSellerAndBuyerOrderDetailAndList(buyerOrder.getSellerUid(), buyerOrder.getUid(), buyerOrder.getOrderCode()));
|
|
|
} else {
|
|
|
//nothing
|
|
|
}
|
...
|
...
|
@@ -107,8 +108,8 @@ public class BuyerOrderWaitingPayCancelChanger extends AbstractBuyerOrderStateCh |
|
|
int sellerUid = buyerOrder.getSellerUid();
|
|
|
logger.info("Transfer deposit to sellerUid:{} with depositAmount:{},because buyerOrder:{} is canceled", sellerUid, depositAmount, buyerOrderCode);
|
|
|
TransferMoneyRequest tmReq = buildTransferMoneyRequest4Seller(buyerUid, buyerOrderCode, sellerUid, BigDecimal.valueOf(depositAmount));
|
|
|
transferService.transfer(tmReq);
|
|
|
logger.info("Transfer deposit to sellerUid:{} with depositAmount:{} end ", sellerUid, depositAmount);
|
|
|
boolean result = transferService.transfer(tmReq);
|
|
|
logger.info("Transfer deposit to sellerUid:{} with depositAmount:{} end,result:{}", sellerUid, depositAmount, result);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|