...
|
...
|
@@ -64,14 +64,15 @@ public class SubmitOrderServiceImpl implements ISubmitOrderService { |
|
|
public BuyerOrderSubmitResult doSubmitOrder(OrderBuilder orderBuilder){
|
|
|
BuyerOrderSubmitResult result = null;
|
|
|
try {
|
|
|
// 减库存
|
|
|
productProxyService.subtractStorage(orderBuilder.getProductId(), orderBuilder.getSkup());
|
|
|
|
|
|
// 极速发货通知第三方
|
|
|
if (orderBuilder.getOriginalAttributes() == OrderAttributes.FAST_DELIVERY.getCode()){
|
|
|
fastDeliveryProxyService.lockSkup(orderBuilder.getSkup());
|
|
|
}
|
|
|
|
|
|
// 减库存
|
|
|
productProxyService.subtractStorage(orderBuilder.getProductId(), orderBuilder.getSkup());
|
|
|
|
|
|
try{
|
|
|
|
|
|
//活动(砍价)
|
...
|
...
|
|