yujian
2019-08-29 e1dcef9d29c8de98c603cd4880f6b272c23f1cc0
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);
   
@@ -52,6 +59,13 @@
   List<UserSystemCoupon> getCounponNowInvalid(@Param("count")int count);
   
   /**
    * 获取已经过期但状态未改变的券
    * @param uid
    * @return
    */
   List<UserSystemCoupon> getCounponNowInvalidByUid(@Param("uid")Long uid);
   /**
    * 根据状态查询券
    * @param uid
    * @param source
@@ -71,7 +85,7 @@
    * @param source
    * @return
    */
   List<UserSystemCoupon> getIncludeExchange(@Param("uid") Long uid, @Param("list") List<String> list);
   List<UserSystemCoupon> getIncludeExchange(@Param("uid") Long uid, @Param("num") int num, @Param("type") String type);
   
   
   /**
@@ -80,6 +94,6 @@
    * @param source
    * @return
    */
   List<UserSystemCoupon> getIncludeNotExchange(@Param("uid") Long uid,@Param("list") List<String> list);
   List<UserSystemCouponVO> getIncludeNotExchange(@Param("uid") Long uid,@Param("num") int num, @Param("type") String type);
   
}