Commit cf9b6c82 by ping.wu

不可用券返回修改

parent 312c4353
......@@ -341,11 +341,11 @@ public class CouponDiscountCalculation {
continue;
}
// 过滤0得代金券
if (Objects.equals(couponStateVo.getType(), CouponTypeEnum.TYPE_1.getCode())
&& (couponStateVo.getOriginalPrice() == null
|| couponStateVo.getOriginalPrice() == 0)) {
continue;
}
// if (Objects.equals(couponStateVo.getType(), CouponTypeEnum.TYPE_1.getCode())
// && (couponStateVo.getOriginalPrice() == null
// || couponStateVo.getOriginalPrice() == 0)) {
// continue;
// }
// 过滤折扣券为0折得
if (Objects.equals(couponStateVo.getType(), CouponTypeEnum.TYPE_3.getCode())
......
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