yujian
2019-05-14 8cb7ec4a35a38ae91d0eed17cde711e81d2b2bbf
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java
@@ -35,7 +35,7 @@
    * @param uid
    * @return
    */
   public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid) throws UserSystemCouponException, Exception;
   public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid, boolean changeJump ) throws UserSystemCouponException, Exception;
   /**
    * 统计数量
@@ -71,7 +71,7 @@
    * @throws UserSystemCouponException
    * @throws Exception
    */
   public List<UserSystemCouponVO> getGoodsCouponList(Long uid) throws UserSystemCouponException, Exception;
   public List<UserSystemCouponVO> getGoodsCouponList(Long uid, Long auctionId) throws UserSystemCouponException, Exception;
   /**
    * 更新券使用记录
@@ -151,7 +151,7 @@
    * 激活福利免单券
    * @param uid
    */
   public void activatedWelfareFreeCoupon(Long uid);
   public void activatedWelfareFreeCoupon(Long uid, String from);
   /**
    * 更新券记录 ——匹配免单券
@@ -164,5 +164,45 @@
    */
   public boolean updateCouponRecordUsed(Long uid, String orderNo, BigDecimal payment, Long auctionId) throws  Exception;
   /**
    * 订单退款更新 券记录状态并退回券
    * @param orderNo
    */
   public void updateStateByDrawback(String orderNo) throws Exception;
   /**
    * 红包到账 -- 更新券使用状态 -改为使用成功
    * @param orderNo
    * @throws Exception
    */
   public void updateStateByArrivalAccount(String orderNo) throws Exception;
   /**
    * 领取未登录时已抽奖的礼品
    * @param uid
    * @param platform
    * @param device
    * @throws Exception
    */
   public void copyLotteryPrize(Long uid, int platform, String device) throws Exception;
   
   /**
    * 统计今日抽奖中的券数量
    * @param uid
    * @param source
    * @return
    */
   public int countTodatyUserCouponBySource(Long uid, String source);
   /**
    * 随机生成奖励券
    * @param num
    * @param uid
    * @param source
    * @throws Exception
    */
   public void randomRewardCoupon(int num, Long uid, String source) throws Exception;
}