|
@@ -63,6 +63,13 @@ public class AuthClubServiceImpl implements AuthClubService {
|
|
//查询全部
|
|
//查询全部
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
List<ClubUserVo> clubUserList = clubMapper.getAllCertifiedClubUserList(authUserId, mobile, name, status);
|
|
List<ClubUserVo> clubUserList = clubMapper.getAllCertifiedClubUserList(authUserId, mobile, name, status);
|
|
|
|
+ clubUserList.forEach(clubUserVo -> {
|
|
|
|
+ if(null!=clubUserVo.getAuthId()){
|
|
|
|
+ clubUserVo.setAuthenticationStatus("1");
|
|
|
|
+ }else {
|
|
|
|
+ clubUserVo.setAuthenticationStatus("0");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
return ResponseJson.success(pageData);
|
|
return ResponseJson.success(pageData);
|
|
}
|
|
}
|
|
@@ -70,12 +77,26 @@ public class AuthClubServiceImpl implements AuthClubService {
|
|
//查询未认证的机构
|
|
//查询未认证的机构
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
List<ClubUserVo> clubUserList = clubMapper.getNotCertifiedClubUserList(authUserId, mobile, name, status,authenticationStatus);
|
|
List<ClubUserVo> clubUserList = clubMapper.getNotCertifiedClubUserList(authUserId, mobile, name, status,authenticationStatus);
|
|
|
|
+ clubUserList.forEach(clubUserVo -> {
|
|
|
|
+ if(null!=clubUserVo.getAuthId()){
|
|
|
|
+ clubUserVo.setAuthenticationStatus("1");
|
|
|
|
+ }else {
|
|
|
|
+ clubUserVo.setAuthenticationStatus("0");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
return ResponseJson.success(pageData);
|
|
return ResponseJson.success(pageData);
|
|
}else{
|
|
}else{
|
|
- //查询已处理的机构
|
|
|
|
|
|
+ //查询已认证的机构
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
List<ClubUserVo> clubUserList = clubMapper.getClubUserList(authUserId, mobile, name, status);
|
|
List<ClubUserVo> clubUserList = clubMapper.getClubUserList(authUserId, mobile, name, status);
|
|
|
|
+ clubUserList.forEach(clubUserVo -> {
|
|
|
|
+ if(null!=clubUserVo.getAuthId()){
|
|
|
|
+ clubUserVo.setAuthenticationStatus("1");
|
|
|
|
+ }else {
|
|
|
|
+ clubUserVo.setAuthenticationStatus("0");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
PageInfo<ClubUserVo> pageData = new PageInfo<>(clubUserList);
|
|
return ResponseJson.success(pageData);
|
|
return ResponseJson.success(pageData);
|
|
}
|
|
}
|