Commit 2857ca2e authored by hezhen's avatar hezhen

123

parent 57a5037c
......@@ -119,7 +119,6 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
if(amout.compareTo(new BigDecimal("0.00"))>0&&list.size()>0){
for (UserCouponVo couponVo:list){
Integer status=2;
if(amout.compareTo(couponVo.getUsedAmount())>=0){
if(couponVo.getChannel()==1){
if (amout.compareTo(couponVo.getWithAmount())>=0){
status=1;
......@@ -127,7 +126,7 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
}else if (couponVo.getChannel()==3){
status=1;
}
}
couponVo.setStatus(status);
}
......
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