public interface ILotteryActivityService
| 限定符和类型 | 方法和说明 |
|---|---|
com.thebeastshop.scm.vo.lottery.LotteryActivityEditVO |
byLotteryActivityId(Integer lotteryActivityId) |
com.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO |
byLotteryActivityPrizeRecordId(Integer lotteryActivityPrizeRecordId)
查询抽奖记录
|
com.thebeastshop.scm.vo.lottery.DrawResultException |
checkDrawLottery(Integer memberId,
Integer lotteryActivityId,
String sysId)
校验抽奖规则
|
com.thebeastshop.scm.vo.lottery.LotteryActivityDrawResultVO |
drawLottery(com.thebeastshop.scm.vo.lottery.LotteryActivityDrawParamVO paramVO)
抽奖方法
|
List<com.thebeastshop.scm.po.LotteryActivity> |
findAll() |
List<com.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO> |
queryLastWinRecord(Integer limit)
最近的中奖信息滚动条
|
void |
save(com.thebeastshop.scm.vo.lottery.LotteryActivitySaveVO vo) |
List<com.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO> |
winList(Integer memberId,
Integer lotteryActivityId)
查询中奖的记录
|
List<Map> |
winListByAwardId(Integer awardId)
查找中奖清单人员
|
List<com.thebeastshop.scm.po.LotteryActivity> findAll()
void save(com.thebeastshop.scm.vo.lottery.LotteryActivitySaveVO vo)
com.thebeastshop.scm.vo.lottery.LotteryActivityEditVO byLotteryActivityId(Integer lotteryActivityId)
List<com.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO> winList(Integer memberId, Integer lotteryActivityId)
memberId - 用户IDlotteryActivityId - 抽奖活动IDcom.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO byLotteryActivityPrizeRecordId(Integer lotteryActivityPrizeRecordId)
lotteryActivityPrizeRecordId - 抽奖记录IDList<com.thebeastshop.scm.vo.lottery.LotteryActivityRecordVO> queryLastWinRecord(Integer limit)
com.thebeastshop.scm.vo.lottery.LotteryActivityDrawResultVO drawLottery(com.thebeastshop.scm.vo.lottery.LotteryActivityDrawParamVO paramVO)
memberId - 用户IDlotteryActivityId - 抽奖活动IDsystemId - 系统ID(当抽奖限制为按系统ID时)isCheck - 是否验证抽奖规则Copyright © 2018. All rights reserved.