Commit 4d23a785 by chongfu.liang

商品券校验

parent 582ab1c9
......@@ -169,7 +169,7 @@ public class PlatformUpdateGoodsQtyService extends AbstractUpdateGoodsQtyService
for (int i = cartSize; i >= 0; i--){
CartGoods cartGoods = cartGoodsList.get(i);
if (cartGoods.getCartGoodsUid().startsWith(CommonsConstant.COUPON_PREFIX)){
GetCheckSpqBo getCheckSpqBo = new GetCheckSpqBo(baseRequestDTO.getPartnerId(), cartGoods.getSpuId().substring(CommonsConstant.COUPON_PREFIX.length()),
GetCheckSpqBo getCheckSpqBo = new GetCheckSpqBo(baseRequestDTO.getPartnerId(), cartGoods.getCartGoodsUid().substring(CommonsConstant.COUPON_PREFIX.length()),
baseRequestDTO.getShopId(), baseRequestDTO.getMenuType(), cartGoods.getSpuId(), cartGoods.getSkuId(), baseRequestDTO.getManagerService().getProductService());
CheckSpqBO checkSpqBO = couponService.checkSpq(getCheckSpqBo);
if (checkSpqBO == 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