admin
2020-04-13 dd5b15229cb15459fa7c31ccea77dac28cbfafbd
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);
}