yujian
2019-03-20 1e53e5f28c55ece70b28c752fa318e2fd951e643
fanli/src/main/java/com/yeshi/fanli/controller/client/UserCouponController.java
@@ -546,7 +546,7 @@
            
            if (list == null || list.size() == 0) {
               // 抽奖
               prize = getLotteryPrize(Constant.MAX_COUNT_LOTTERY_NEWBIES, 0, countUsed, couponType);
               prize = getLotteryPrize(Constant.MAX_COUNT_LOTTERY_NEWBIES, countPrize , countUsed, couponType);
               
            } else if (list.size() == 1) {
               UserSystemCoupon userSystemCoupon = list.get(0);
@@ -558,8 +558,11 @@
                  couponType = coupon.getType().name();
               }
               
               // 拥有奖品数量
               countPrize = 1;
               // 抽奖
               prize = getLotteryPrize(Constant.MAX_COUNT_LOTTERY_NEWBIES, 0, countUsed, couponType);
               prize = getLotteryPrize(Constant.MAX_COUNT_LOTTERY_NEWBIES, countPrize, countUsed, couponType);
            }
            // 抽中