| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.log.annotation.Log; |
| | | import com.ruoyi.common.log.enums.BusinessType; |
| | | import com.ruoyi.goods.api.domain.LotteryEvent; |
| | | import com.ruoyi.goods.api.domain.TLotteryEvent; |
| | | import com.ruoyi.goods.domain.dto.*; |
| | | import com.ruoyi.goods.domain.vo.*; |
| | | import com.ruoyi.goods.service.lottery.ILotteryEventService; |
| | |
| | | @ApiOperation(value = "查看抽奖活动-答题情况【2.0】") |
| | | public R<Page<MgtUserAnswersPageVO>> getUserAnswersPage(@RequestBody MgtUserAnswersPageDTO dto) { |
| | | //检查是否答题类型 |
| | | LotteryEvent lotteryEvent = lotteryEventService.getById(dto.getLotteryEventId()); |
| | | TLotteryEvent lotteryEvent = lotteryEventService.getById(dto.getLotteryEventId()); |
| | | if (null == lotteryEvent || lotteryEvent.getDelFlag()!=0 ){ |
| | | return R.fail("该抽奖活动不存在"); |
| | | } |