|
|
@ -10,7 +10,6 @@ import com.huoran.common.response.R; |
|
|
|
import com.huoran.competition.entity.*; |
|
|
|
import com.huoran.competition.entity.*; |
|
|
|
import com.huoran.competition.entity.req.*; |
|
|
|
import com.huoran.competition.entity.req.*; |
|
|
|
import com.huoran.competition.entity.resp.ListOfStageResultsResp; |
|
|
|
import com.huoran.competition.entity.resp.ListOfStageResultsResp; |
|
|
|
import com.huoran.competition.entity.vo.CompetitionDetailsVO; |
|
|
|
|
|
|
|
import com.huoran.competition.entity.vo.CompetitionVO; |
|
|
|
import com.huoran.competition.entity.vo.CompetitionVO; |
|
|
|
import com.huoran.competition.mapper.*; |
|
|
|
import com.huoran.competition.mapper.*; |
|
|
|
import com.huoran.competition.service.CompetitionService; |
|
|
|
import com.huoran.competition.service.CompetitionService; |
|
|
@ -217,8 +216,6 @@ public class CompetitionServiceImpl extends ServiceImpl<CompetitionMapper, Compe |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @Override
|
|
|
|
// @Override
|
|
|
|
// public R competitionAfterLogin1(AfterLoginPageCompetitionListReq pageCompetitionListReq) {
|
|
|
|
// public R competitionAfterLogin1(AfterLoginPageCompetitionListReq pageCompetitionListReq) {
|
|
|
|
// Page<CompetitionVO> page = new Page<>(pageCompetitionListReq.getPageNum(), pageCompetitionListReq.getPageSize());
|
|
|
|
// Page<CompetitionVO> page = new Page<>(pageCompetitionListReq.getPageNum(), pageCompetitionListReq.getPageSize());
|
|
|
@ -267,11 +264,11 @@ public class CompetitionServiceImpl extends ServiceImpl<CompetitionMapper, Compe |
|
|
|
switch (pageCompetitionListReq.getListType()) { |
|
|
|
switch (pageCompetitionListReq.getListType()) { |
|
|
|
case 0: |
|
|
|
case 0: |
|
|
|
//查询未删除且启用发布状态为发布后的
|
|
|
|
//查询未删除且启用发布状态为发布后的
|
|
|
|
baseMapper.foregroundAppletActivityList(page, pageCompetitionListReq); |
|
|
|
pageList = baseMapper.foregroundAppletActivityList(page, pageCompetitionListReq); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
//查询我报名的列表
|
|
|
|
//查询我报名的列表
|
|
|
|
baseMapper.postRegistrationList(page, pageCompetitionListReq); |
|
|
|
pageList = baseMapper.postRegistrationList(page, pageCompetitionListReq); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|