@ -48,7 +48,7 @@ public class DrawLotteryScheduler {
taskScheduler.initialize();
List<Lottery> signingList = drawLotteryService.findSigningList();
signingList.forEach(item -> {
scheduleDraw(item.getDrawTime(), item.getId());
scheduleDraw(item.getApplyEndTime(), item.getId());
});
}
@ -301,7 +301,7 @@ public class LotteryService {
lotteryDao.save(lottery);
String result = drawLotteryScheduler.scheduleDraw(lottery.getDrawTime(), id);
String result = drawLotteryScheduler.scheduleDraw(lottery.getApplyEndTime(), id);
if (StringUtils.isNotBlank(result)) {
throw new BizException(result);