| | |
| | | * @throws UserSystemCouponException
|
| | | * @throws Exception
|
| | | */
|
| | | public UserSystemCoupon insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception;
|
| | | public UserSystemCoupon insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent,Boolean needNotify) throws UserSystemCouponException, Exception;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @throws Exception
|
| | | */
|
| | | public void randomRewardCoupon(int num, Long uid, String source) throws Exception;
|
| | | |
| | | |
| | | |
| | | |
| | | /**
|
| | | * 系统赠送奖励券
|
| | | * @param num
|
| | | * @param uid
|
| | | * @param source
|
| | | * @throws Exception
|
| | | */
|
| | | public void systemGiveRewardCoupon(Long uid,int num,String orderId,Integer orderType,String reason) throws Exception;
|
| | | |
| | | |
| | | |
| | | |
| | |
|
| | | /**
|
| | | * 添加券
|
| | |
| | | */
|
| | | public long countUsableRewardCoupon(Long uid);
|
| | |
|
| | | /**
|
| | | * 查询免券数量
|
| | | * @param uid
|
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public List<UserSystemCoupon> getFreeCouponByType(Long uid, String type);
|
| | |
|
| | | }
|