Commit e275a2a4 authored by liming's avatar liming

系列赛完结接口

parent 1498e484
......@@ -177,7 +177,7 @@ public class SeriesService {
public SeriesMatchRecordInitVO seriesQualifyingMatchRecordInit(SeriesQualifyingMatchRecordInitDTO dto) {
SeriesMatch seriesMatch = seriesMatchMapper.selectById(dto.getMatchId());
SeriesApply seriesApply = seriesBusinessMapper.getSeriesApply(seriesMatch.getSeriesId(), dto.getSportUserId());
if (!seriesApply.getAreaId().equals(seriesMatch.getAreaId())) {
if (seriesApply == null || !seriesApply.getAreaId().equals(seriesMatch.getAreaId())) {
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