admin
2019-09-18 b19d2e730b0ea707b500b307f58c46ba0cef695f
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java
@@ -134,7 +134,7 @@
    * @throws UserSystemCouponException
    * @throws Exception
    */
   public void insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception;
   public UserSystemCoupon insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception;
   /**
@@ -267,4 +267,46 @@
    */
   public boolean getIncludeNotExchange(Long uid);
   /**
    * 查询1.6.5之前的  不等于35%
    * @param uid
    * @return
    */
   public List<UserSystemCouponVO> listIncludeNotExchange(Long uid) throws Exception;
   public long countCouponOld(Long uid);
   /**
    * 更新用户过期券
    * @param uid
    */
   public void updateInvalidSate(Long uid);
   /*
    * 赠送券
    */
   public void sendBackGiveUser(Long uid);
   /**
    * 统计可使用的免单券
    * @param uid
    * @return
    */
   public long countUsableFreeCouponForBuy(Long uid);
   /**
    * 统计可使用的奖励券
    * @param uid
    * @return
    */
   public long countUsableRewardCoupon(Long uid);
   /**
    * 查询免券数量
    * @param uid
    * @param type
    * @return
    */
   public List<UserSystemCoupon> getFreeCouponByType(Long uid, String type);
}