|
|
@ -81,13 +81,17 @@ public class CompetitionRegistrationServiceImpl extends ServiceImpl<CompetitionR |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R registrationPageConditionQuery(PageRegistrationStaffReq req) { |
|
|
|
public R registrationPageConditionQuery(PageRegistrationStaffReq req) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Page<RegistrationVO> page = new Page<RegistrationVO>(req.getPageNum(), req.getPageSize()); |
|
|
|
Page<RegistrationVO> page = new Page<RegistrationVO>(req.getPageNum(), req.getPageSize()); |
|
|
|
IPage<RegistrationVO> pageList = baseMapper.selectRegistrationByCondition(page, req); |
|
|
|
IPage<RegistrationVO> pageList = baseMapper.selectRegistrationByCondition(page, req); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (req.getQuerySource() == 1) { |
|
|
|
pageList |
|
|
|
pageList |
|
|
|
.getRecords().forEach(registrationVO -> { |
|
|
|
.getRecords().forEach(registrationVO -> { |
|
|
|
registrationVO.setUsername(HandleNameAsteriskReplacementUtil.desensitizedName(registrationVO.getUsername())); |
|
|
|
registrationVO.setUsername(HandleNameAsteriskReplacementUtil.desensitizedName(registrationVO.getUsername())); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return R.ok().put("data", pageList); |
|
|
|
return R.ok().put("data", pageList); |
|
|
|
} |
|
|
|
} |
|
|
|