|
|
@ -457,6 +457,10 @@ public class LotteryService {
|
|
|
|
.userId(userLoginDto.getUserId())
|
|
|
|
.userId(userLoginDto.getUserId())
|
|
|
|
.taskPointId(TaskPointIdConstants.LOTTERY)
|
|
|
|
.taskPointId(TaskPointIdConstants.LOTTERY)
|
|
|
|
.build();
|
|
|
|
.build();
|
|
|
|
|
|
|
|
if (Objects.equals(PointEnums.LOTTERY_TICKET.getCode(), lottery.getType()) && regionId != null) {
|
|
|
|
|
|
|
|
LotteryRegion byLotteryIdAndRegionId = lotteryRegionDao.findByLotteryIdAndRegionId(id, regionId);
|
|
|
|
|
|
|
|
drawDTO.setShowTime(byLotteryIdAndRegionId.getShowTime());
|
|
|
|
|
|
|
|
}
|
|
|
|
rabbitTemplate.convertAndSend("draw", drawDTO);
|
|
|
|
rabbitTemplate.convertAndSend("draw", drawDTO);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|