| | |
| | | */
|
| | | 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);
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | long countUsableByUid(@Param("uid") Long uid, @Param("list") List<Long> listCouponId);
|
| | |
|
| | |
|
| | | /**
|
| | | * 查询免券
|
| | | * @param uid
|
| | | * @param source
|
| | | * @return
|
| | | */
|
| | | 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);
|
| | | |
| | | } |