Commit 582ab1c9 by chongfu.liang

商品券校验

parent 4ed212cf
......@@ -172,7 +172,7 @@ public class PlatformUpdateGoodsQtyService extends AbstractUpdateGoodsQtyService
GetCheckSpqBo getCheckSpqBo = new GetCheckSpqBo(baseRequestDTO.getPartnerId(), cartGoods.getSpuId().substring(CommonsConstant.COUPON_PREFIX.length()),
baseRequestDTO.getShopId(), baseRequestDTO.getMenuType(), cartGoods.getSpuId(), cartGoods.getSkuId(), baseRequestDTO.getManagerService().getProductService());
CheckSpqBO checkSpqBO = couponService.checkSpq(getCheckSpqBo);
if (getCheckSpqBo == null){
if (checkSpqBO == null){
cartGoodsList.remove(i);
} else {
cartGoods.setActivityCode(checkSpqBO.getDetails().getActiveCode());
......
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