·

for (LotteryInfo lotteryInfo : lotteryInfos) { lotteryService.oneKey(lotteryInfo, liveRoom); } @Override @Async("asyncTaskExecutor") @Transactional(rollbackFor = Exception.class) public void oneKey(LotteryInfo lotteryInfo, LiveRoom liveRoom) { }

自己的玩具