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

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

平台券,指定商品,满减折扣券

店铺券,指定商品所有券
parent 7a8a9945
......@@ -344,7 +344,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
case 2:
if (dto.getValOver().compareTo(new BigDecimal(totalPrice)) <= 0) {
vo.setValue(dto.getValMinus());
vo.setFullValue(dto.getValOver());
fullValue = dto.getValOver();
} else {
vo.setCouType(-1);
vo.setValue(BigDecimal.ZERO);
......@@ -422,6 +422,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
}
}
}
vo.setFullValue(fullValue);
vo.setTargetIds(targetIds);
return vo;
}
......
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