Commit abe17ece authored by liming's avatar liming

系列赛预选赛初始化增加机会次数限制

parent 9b80756d
......@@ -176,7 +176,7 @@ public class SeriesService {
SeriesRound round = seriesRoundMapper.selectById(seriesMatch.getRoundId());
Integer leftChance = seriesBusinessMapper.getSeriesQualifyingMatchLeftChance(seriesMatch.getRoundId(),
dto.getSportUserId());
if(leftChance.compareTo(round.getChance())>=0){
if (leftChance.compareTo(round.getChance()) >= 0) {
throw new BusinessException("您的预选赛参与机会已经用完!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment