...
|
...
|
@@ -30,6 +30,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Objects;
|
|
|
import java.util.stream.Collectors;
|
...
|
...
|
@@ -114,6 +115,11 @@ public class ImperfectGoodsPublishExcutor implements PublishExcutor<ImperfectOrd |
|
|
uid, storageId, salePrice, paySuccess);
|
|
|
//
|
|
|
OrderSubmitResp resp = doPublish(ctx);
|
|
|
//create 1. detail fo wallet 2. paid record into order_payment
|
|
|
List<OrderInfo> orderList = new ArrayList<>(1);
|
|
|
orderList.add(OrderInfo.builder().orderCode(resp.getOrderCode())
|
|
|
.amount(earestMoney).build());
|
|
|
merchantOrderPaymentService.useEarnestAddWalletDetail(sellerWallet, orderList);
|
|
|
syncPrdStatus(resp.getSkup(), SkupStatus.WAITING_AUDIT);
|
|
|
//给入驻卖家发消息
|
|
|
inBoxFacade.sellerPaidEarnestMoney(uid, ctx.getSoldProduct().getProductName(),ctx.getSoldProduct().getSizeName(),ctx.getSoldProduct().getProductId());
|
...
|
...
|
|