|
|
|
@ -457,6 +457,10 @@ public class LotteryService {
|
|
|
|
|
.userId(userLoginDto.getUserId())
|
|
|
|
|
.taskPointId(TaskPointIdConstants.LOTTERY)
|
|
|
|
|
.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);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|