Authored by tanling

极速发货

... ... @@ -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{
//活动(砍价)
... ...
... ... @@ -47,7 +47,7 @@ public class FastDeliveryProxyService {
public boolean isOnToThird(){
return configReader.getBoolean("ufo.fast.delivery.toThird", true);
return configReader.getBoolean("ufo.fast.delivery.toThird", false);
}
/**
... ...