|
|
|
@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
import org.springframework.util.ObjectUtils; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import java.io.IOException; |
|
|
|
@ -86,6 +87,11 @@ public class CompetitionRegistrationServiceImpl extends ServiceImpl<CompetitionR |
|
|
|
|
Page<RegistrationVO> page = new Page<RegistrationVO>(req.getPageNum(), req.getPageSize()); |
|
|
|
|
IPage<RegistrationVO> pageList = baseMapper.selectRegistrationByCondition(page, req); |
|
|
|
|
|
|
|
|
|
//默认设置后台
|
|
|
|
|
|
|
|
|
|
if (ObjectUtils.isEmpty(req.getQuerySource())){ |
|
|
|
|
req.setQuerySource(2); |
|
|
|
|
} |
|
|
|
|
if (req.getQuerySource() == 1) { |
|
|
|
|
pageList |
|
|
|
|
.getRecords().forEach(registrationVO -> { |
|
|
|
|