| | |
| | | * @throws UserSystemCouponException
|
| | | * @throws Exception
|
| | | */
|
| | | public void insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception;
|
| | | public UserSystemCoupon insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | |
|
| | | public long countCouponOld(Long uid);
|
| | |
|
| | | /**
|
| | | * 更新用户过期券
|
| | | * @param uid
|
| | | */
|
| | | public void updateInvalidSate(Long uid);
|
| | |
|
| | | /*
|
| | | * 赠送券
|
| | | */
|
| | | public void sendBackGiveUser(Long uid);
|
| | |
|
| | | /**
|
| | | * 统计可使用的免单券
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public long countUsableFreeCouponForBuy(Long uid);
|
| | | |
| | | /**
|
| | | * 统计可使用的奖励券
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public long countUsableRewardCoupon(Long uid);
|
| | |
|
| | | }
|