|
@@ -3,6 +3,7 @@ package com.yohoufo.order.service.impl; |
|
@@ -3,6 +3,7 @@ package com.yohoufo.order.service.impl; |
3
|
import com.yoho.core.rest.client.ServiceCaller;
|
3
|
import com.yoho.core.rest.client.ServiceCaller;
|
4
|
import com.yoho.error.ServiceError;
|
4
|
import com.yoho.error.ServiceError;
|
5
|
import com.yoho.error.exception.ServiceException;
|
5
|
import com.yoho.error.exception.ServiceException;
|
|
|
6
|
+import com.yohobuy.ufo.model.order.common.OrderAttributes;
|
6
|
import com.yohobuy.ufo.model.promotion.UserCouponsBo;
|
7
|
import com.yohobuy.ufo.model.promotion.UserCouponsBo;
|
7
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
8
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
8
|
import com.yohoufo.common.utils.AddressUtil;
|
9
|
import com.yohoufo.common.utils.AddressUtil;
|
|
@@ -279,6 +280,7 @@ public class ShoppingServiceImpl implements IShoppingService { |
|
@@ -279,6 +280,7 @@ public class ShoppingServiceImpl implements IShoppingService { |
279
|
.hiddenAddressInfo(hiddenAddress)
|
280
|
.hiddenAddressInfo(hiddenAddress)
|
280
|
.addressInfo(addressInfo)
|
281
|
.addressInfo(addressInfo)
|
281
|
.clientType(shoppingRequest.getClientType())
|
282
|
.clientType(shoppingRequest.getClientType())
|
|
|
283
|
+ .attributes(OrderAttributes.COMMON_IN_STOCK.getCode())
|
282
|
.build();
|
284
|
.build();
|
283
|
|
285
|
|
284
|
BuyerOrderSubmitResult submitResult = ordeCreationService.doSumbitOrder(orderBuilder);
|
286
|
BuyerOrderSubmitResult submitResult = ordeCreationService.doSumbitOrder(orderBuilder);
|