admin
2020-02-23 b59fef5c00b15fdfdfa9d4be26e5bf6b41c75458
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java
@@ -78,22 +78,15 @@
    */
   List<UserSystemCoupon> getCouponByTypeAndNotActivated(@Param("uid") Long uid, @Param("couponId") Long couponId);
   
   /**
    *  查询兑换的券
    *  根据类型查询有效券
    * @param uid
    * @param source
    * @return
    */
   List<UserSystemCoupon> getIncludeExchange(@Param("uid") Long uid, @Param("num") int num, @Param("type") String type);
   /**
    *  查询排出兑换的券
    * @param uid
    * @param source
    * @return
    */
   List<UserSystemCouponVO> getIncludeNotExchange(@Param("uid") Long uid,@Param("num") int num, @Param("type") String type);
   List<UserSystemCouponVO> getValidByUidAndType(@Param("uid") Long uid, @Param("type") String type);
   
   
   /**
@@ -122,4 +115,13 @@
    */
   List<UserSystemCoupon> getFreeCouponByType(@Param("uid") Long uid, @Param("type") String type);
   
   /**
    *  查询需要激活的免券
    * @param uid
    * @param source
    * @return
    */
   UserSystemCoupon getNeedActivateCouponByType(@Param("uid") Long uid, @Param("type") String type);
}