Commit 8adea286 authored by hezhen's avatar hezhen

123

parent cd47bdaf
...@@ -97,7 +97,7 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> { ...@@ -97,7 +97,7 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
userCoupon.setExpireTime(expireTime); userCoupon.setExpireTime(expireTime);
insertSelective(userCoupon); insertSelective(userCoupon);
coupon.setTakeCount(coupon.getTakeCount()+1); coupon.setTakeCount(coupon.getTakeCount()+1);
couponBiz.updateById(coupon); couponBiz.updateSelectiveById(coupon);
return ticker_no; return ticker_no;
} }
......
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