Commit 538ed89d by xiaoer.li@freemud.com

对接促销算价Alpha->fix

parent b67dfaa3
......@@ -126,6 +126,7 @@ public class CalculationSharingDiscountService {
//剔除商品数量为空的
calculationDiscountGoodsList.removeIf(v->v.getGoodsQuantity().equals(0));
if (CollectionUtils.isEmpty(calculationDiscountGoodsList)) {
log.info("calculationDiscountGoodsList:{}", JSON.toJSON(calculationDiscountGoodsList));
throw new BizServiceException(ResponseResult.SHOPPING_CART_COUPON_NOT_EXIST,"参数促销计算商品有异常");
}
......
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