|
@@ -2163,7 +2163,13 @@ public class AuthServiceImpl implements AuthService {
|
|
|
//获取活动时间内的机构列表信息
|
|
|
ChallengeActivityVo activityTime = authMapper.getActivityTime(authUserId);
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
- List<RossChallengeRoundVo> authInfo = authMapper.getAuthInfo(mobile,authUserId,activityTime.getStartTime(),activityTime.getEndTime(),authenticationStatus);
|
|
|
+ List<RossChallengeRoundVo> authInfo=null;
|
|
|
+ //判断是否是第一次设置活动时间
|
|
|
+ if(null!=activityTime){
|
|
|
+ authInfo = authMapper.getAuthInfo(mobile,authUserId,activityTime.getStartTime(),activityTime.getEndTime(),authenticationStatus);
|
|
|
+ }else{
|
|
|
+ authInfo = authMapper.getAuthInfo(mobile,authUserId,null,null,authenticationStatus);
|
|
|
+ }
|
|
|
PageInfo<RossChallengeRoundVo> pageData = new PageInfo<>(authInfo);
|
|
|
if(null!=authInfo&&authInfo.size()>0){
|
|
|
for (RossChallengeRoundVo search:authInfo) {
|