| | |
| | | private RabbitTemplate rabbitTemplate; |
| | | |
| | | @RabbitListener(queues=DELAYED_QUEUE) |
| | | public void doRaffle(ComActRaffleVO comActRaffleVO){ |
| | | public void doRaffle(ComActRaffle comActRaffleVO){ |
| | | ComActRaffle comActRaffle=comActRaffleDao.selectOne(new QueryWrapper<ComActRaffle>().lambda().eq(ComActRaffle::getId,comActRaffleVO.getId())); |
| | | if(comActRaffle!=null&&comActRaffle.getStatus()==2&&comActRaffle.getLotteryTime().before(new Date())){ |
| | | List<ComActRafflePrize> comActRafflePrizeList=comActRafflePrizeDao.selectList(new QueryWrapper<ComActRafflePrize>().lambda().eq(ComActRafflePrize::getRaffleId,comActRaffleVO.getId())); |