| | |
| | | if (null == lotteryEvent) { |
| | | return R.fail("抽奖活动不存在"); |
| | | } |
| | | if (!lotteryEvent.getShopId().equals(dto.getShopId())) { |
| | | if (!lotteryEvent.getShopId().equals(dto.getShopId().intValue())) { |
| | | return R.fail("查询失败"); |
| | | } |
| | | List<TLotteryEventPrize> list = lotteryEventPrizeService.list(new LambdaQueryWrapper<TLotteryEventPrize>().eq(TLotteryEventPrize::getLotteryEventId, dto.getId())); |
| | |
| | | if (null == lotteryEvent) { |
| | | return R.fail("抽奖活动不存在"); |
| | | } |
| | | if (!lotteryEvent.getShopId().equals(dto.getShopId())) { |
| | | if (!lotteryEvent.getShopId().equals(dto.getShopId().intValue())) { |
| | | return R.fail("查询失败"); |
| | | } |
| | | Page<ShopWinningRecordVo> page = new Page<>(); |