Commit d07053e0 by 胡敬轩

Merge remote-tracking branch 'remotes/origin/KA-2.0.41-爱马哥预订单开发-zxh' into qa

parents 0b064927 432e1dcb
......@@ -41,6 +41,11 @@ public class GetValidateProductInfoDto {
*/
private String channel;
/**
* 业务类型 7-预定单 爱马哥蛋糕预定场景使用(2.0.41迭代 1032929)
*/
private Integer bizType;
@Data
public static class ProductInfo {
/**
......
......@@ -2941,7 +2941,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
// 返回构造对象
PremiumExchangeResponseVo premiumExchangeResponseVo = new PremiumExchangeResponseVo();
premiumExchangeResponseVo.setResultCode(ActivityResultCodeEnum.NON_PARTICIPATE.getCode());
List<CartGoods> cartGoodsList = assortmentSdkService.getShoppingCart(partnerId, storeId, userId, request.getSessionId(), null, shoppingCartBaseService,null);
List<CartGoods> cartGoodsList = assortmentSdkService.getShoppingCart(partnerId, storeId, userId, request.getSessionId(), null, shoppingCartBaseService,bizType);
if (grayPush(partnerId, storeId, "2")) {
// 当couponCode不为空时,需参与价格计算
ArrayList<ActivityCalculationDiscountRequestDto.CalculationDiscountCoupon> coupons = new ArrayList<>();
......@@ -3015,6 +3015,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
getProductInfoDto.setStoreId(storeId);
getProductInfoDto.setChannel(menuType);
getProductInfoDto.setProductIds(spuIds);
getProductInfoDto.setBizType(bizType);
ValidateProductInfosDto productInfosDto = storeItemClient.validateShopContainProduct(getProductInfoDto);
if (!Objects.equals(productInfosDto.getErrcode(), Integer.valueOf(ResponseResult.SUCCESS.getCode()))
|| productInfosDto.getData() == null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment