|
|
@ -320,10 +320,24 @@ public class WorkActUserServiceImpl implements WorkActUserService { |
|
|
|
resultDTO.setActUserRelationId(actUserRelationDTO.getId()); |
|
|
|
resultDTO.setActId(actUserRelationDTO.getActId()); |
|
|
|
resultDTO.setUserId(actUserRelationDTO.getUserId()); |
|
|
|
resultDTO.setRealName(userBaseInfo.getRealName()); |
|
|
|
resultDTO.setGender(userBaseInfo.getGender()); |
|
|
|
resultDTO.setMobile(userBaseInfo.getMobile()); |
|
|
|
resultDTO.setIdNum(userBaseInfo.getIdNum()); |
|
|
|
if (StringUtils.isNotBlank(userBaseInfo.getRealName())) { |
|
|
|
resultDTO.setRealName(userBaseInfo.getRealName()); |
|
|
|
} else { |
|
|
|
resultDTO.setRealName(StrConstant.EPMETY_STR); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(userBaseInfo.getGender())) { |
|
|
|
resultDTO.setGender(userBaseInfo.getGender()); |
|
|
|
} else { |
|
|
|
resultDTO.setGender(StrConstant.EPMETY_STR); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(userBaseInfo.getMobile())) { |
|
|
|
resultDTO.setMobile(userBaseInfo.getMobile()); |
|
|
|
} else { |
|
|
|
resultDTO.setMobile(StrConstant.EPMETY_STR); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(userBaseInfo.getIdNum())) { |
|
|
|
resultDTO.setIdNum(userBaseInfo.getIdNum()); |
|
|
|
} |
|
|
|
resultDTO.setAddress(userBaseInfo.getStreet()+userBaseInfo.getDistrict()+userBaseInfo.getBuildingAddress()); |
|
|
|
resultDTO.setSignUpTime(actUserRelationDTO.getCreatedTime()); |
|
|
|
/** |
|
|
@ -345,8 +359,6 @@ public class WorkActUserServiceImpl implements WorkActUserService { |
|
|
|
historicalAuditResult.setLatestAuditTime(latestRefused.getCreatedTime()); |
|
|
|
historicalAuditResult.setLatestRefusedReason(latestRefused.getReason()); |
|
|
|
historicalAuditResult.setRefusedCountDesc(String.format("已拒绝%s次",refusedCount)); |
|
|
|
resultDTO.setLatestAuditTime(latestRefused.getCreatedTime()); |
|
|
|
resultDTO.setLatestRefusedReason(latestRefused.getReason()); |
|
|
|
resultDTO.setHistoricalAuditResult(historicalAuditResult); |
|
|
|
} |
|
|
|
}else if(ActConstant.ACT_USER_STATUS_PASSED.equals(resultDTO.getStatus())||ActConstant.ACT_USER_STATUS_REFUSED.equals(resultDTO.getStatus())){ |
|
|
@ -377,9 +389,15 @@ public class WorkActUserServiceImpl implements WorkActUserService { |
|
|
|
UserBaseInfoResultDTO userBaseInfoResultDTO=this.queryUserBaseInfo(formDTO.getUserId()); |
|
|
|
//基本信息
|
|
|
|
resultDTO.setUserId(formDTO.getUserId()); |
|
|
|
resultDTO.setHeadImgUrl(userBaseInfoResultDTO.getHeadImgUrl()); |
|
|
|
resultDTO.setNickName(userBaseInfoResultDTO.getNickname()); |
|
|
|
resultDTO.setRealName(userBaseInfoResultDTO.getRealName()); |
|
|
|
if(StringUtils.isNotBlank(userBaseInfoResultDTO.getHeadImgUrl())){ |
|
|
|
resultDTO.setHeadImgUrl(userBaseInfoResultDTO.getHeadImgUrl()); |
|
|
|
} |
|
|
|
if(StringUtils.isNotBlank(userBaseInfoResultDTO.getNickname())){ |
|
|
|
resultDTO.setNickName(userBaseInfoResultDTO.getNickname()); |
|
|
|
} |
|
|
|
if(StringUtils.isNotBlank(userBaseInfoResultDTO.getRealName())){ |
|
|
|
resultDTO.setRealName(userBaseInfoResultDTO.getRealName()); |
|
|
|
} |
|
|
|
//参与活动统计值
|
|
|
|
HistoricalActInfo historicalActInfo=getHistoricalActInfo(formDTO.getUserId()); |
|
|
|
resultDTO.setSignInActNum(historicalActInfo.getSignInActNum()); |
|
|
|