Commit 9e9049ca authored by hezhen's avatar hezhen

123

parent aa983d54
......@@ -189,7 +189,7 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
public BigDecimal getCouponAmout(Integer couponId,Integer channel,BigDecimal amout) {
BigDecimal couponAmout = new BigDecimal("0.00");
Coupon coupon = couponBiz.selectById(couponId);
if (coupon != null && coupon.getChannel() == channel) {
if (coupon != null && (coupon.getChannel() == channel||coupon.getChannel()==0)) {
Integer type = coupon.getType();
if (type != null) {
BigDecimal useAmout = coupon.getUsedAmount();
......
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