| | |
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCoupon;
|
| | | import com.yeshi.fanli.entity.push.PushCoupon;
|
| | | import com.yeshi.fanli.entity.system.SystemCoupon;
|
| | | import com.yeshi.fanli.exception.user.UserSystemCouponException;
|
| | | import com.yeshi.fanli.vo.user.UserSystemCouponRecordVO;
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid) throws UserSystemCouponException, Exception;
|
| | | public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid, boolean changeJump ) throws UserSystemCouponException, Exception;
|
| | |
|
| | | /**
|
| | | * 统计数量
|
| | |
| | | */
|
| | | public void receivedCoupon(Long uid) throws Exception;
|
| | |
|
| | |
|
| | | /**
|
| | | * 根据推送 获取对应的券
|
| | | * @param pushCoupon
|
| | | * 统计今日抽奖中的券数量
|
| | | * @param uid
|
| | | * @param source
|
| | | * @return
|
| | | */
|
| | | public int countTodatyUserCouponBySource(Long uid, String source);
|
| | |
|
| | | /**
|
| | | * 随机生成奖励券
|
| | | * @param num
|
| | | * @param uid
|
| | | * @param source
|
| | | * @throws Exception
|
| | | */
|
| | | public void randomRewardCoupon(PushCoupon pushCoupon, Long uid) throws Exception;
|
| | | public void randomRewardCoupon(int num, Long uid, String source) throws Exception;
|
| | |
|
| | | }
|