yujian
2019-09-25 8b3ef26b10d1dced4408dee62cc1a18f72205cd0
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;
   /**
@@ -282,4 +282,31 @@
    */
   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);
}