|
|
@ -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); |
|
|
|
|
|
|
|
|
|
|
|
pageList |
|
|
|
if (req.getQuerySource() == 1) { |
|
|
|
.getRecords().forEach(registrationVO -> { |
|
|
|
pageList |
|
|
|
registrationVO.setUsername( HandleNameAsteriskReplacementUtil.desensitizedName(registrationVO.getUsername())); |
|
|
|
.getRecords().forEach(registrationVO -> { |
|
|
|
}); |
|
|
|
registrationVO.setUsername(HandleNameAsteriskReplacementUtil.desensitizedName(registrationVO.getUsername())); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return R.ok().put("data", pageList); |
|
|
|
return R.ok().put("data", pageList); |
|
|
|
} |
|
|
|
} |
|
|
|