记得上下班打卡 | git大法好,push需谨慎

Commit f4620687 authored by 胡佳晨's avatar 胡佳晨

修改 平台券

parent 23098aac
...@@ -502,7 +502,8 @@ public class GoblinCouponImpl implements GoblinCouponService { ...@@ -502,7 +502,8 @@ public class GoblinCouponImpl implements GoblinCouponService {
} }
switch (candyCouponVo.getCouType()) { switch (candyCouponVo.getCouType()) {
case 1://代金 case 1://代金
vo.setPrice(candyCouponVo.getValFace().compareTo(contentPrice) >= 0 ? contentPrice : candyCouponVo.getValFace()); voucherPrice = mathPlatformPrice(candyCouponVo, params.getParam(), contentPrice);
vo.setPrice(candyCouponVo.getValFace().compareTo(voucherPrice) >= 0 ? voucherPrice : candyCouponVo.getValFace());
break; break;
case 2://满减 case 2://满减
voucherPrice = mathPlatformPrice(candyCouponVo, params.getParam(), contentPrice); voucherPrice = mathPlatformPrice(candyCouponVo, params.getParam(), contentPrice);
......
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