Commit 9ff38295 by ping.wu

商品券键位编号

parent 9d1da20e
...@@ -109,6 +109,12 @@ public class CouponDiscountCalculation { ...@@ -109,6 +109,12 @@ public class CouponDiscountCalculation {
continue; continue;
} }
cartGoods.setAmount(goodsMap.get(cartGoods.getGoodsId()).getRealAmount()); cartGoods.setAmount(goodsMap.get(cartGoods.getGoodsId()).getRealAmount());
//商品券键位编号为空
if(StringUtils.isBlank(goodsMap.get(cartGoods.getGoodsId()).getArtNo())){
throw new ServiceException(ResponseResult.OPERATE_TOO_OFTEN);
}
cartGoods.setCustomerCode(goodsMap.get(cartGoods.getGoodsId()).getArtNo());
} }
} }
......
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