yujian
2019-08-28 d88c167fc5973a2c15ff1539e4cdab36e4a7842c
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponMapper.java
@@ -14,6 +14,13 @@
   List<UserSystemCoupon> getUserCouponList(@Param("start") long start, @Param("count") int count, 
         @Param("uid") Long uid);
   
   List<UserSystemCouponVO> getCouponListOld(@Param("start") long start, @Param("count") int count,
         @Param("uid") Long uid);
   long countCouponOld(@Param("uid") Long uid);
   List<UserSystemCouponVO> getUserCouponVOList(@Param("start") long start, @Param("count") int count, 
         @Param("uid") Long uid);
   
@@ -65,21 +72,21 @@
    */
   List<UserSystemCoupon> getCouponByTypeAndNotActivated(@Param("uid") Long uid, @Param("couponId") Long couponId);
   
//   /**
//    *  查询兑换的券
//    * @param uid
//    * @param source
//    * @return
//    */
//   List<UserSystemCoupon> countIncludeExchange(@Param("uid") Long uid, @Param("source") String source);
//
//
//   /**
//    *  查询排出兑换的券
//    * @param uid
//    * @param source
//    * @return
//    */
//   List<UserSystemCoupon> countNotIncludeExchange(@Param("uid") Long uid, @Param("source") String source);
//
   /**
    *  查询兑换的券
    * @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);
}