| 
						
						
							
								
							
						
						
					 | 
					@ -33,7 +33,7 @@ import com.epmet.constant.ActMessageConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dao.VolunteerInfoDao; | 
					 | 
					 | 
					import com.epmet.dao.VolunteerInfoDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.HeartUserInfoDTO; | 
					 | 
					 | 
					import com.epmet.dto.HeartUserInfoDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.VolunteerInfoDTO; | 
					 | 
					 | 
					import com.epmet.dto.VolunteerInfoDTO; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					import com.epmet.dto.form.WxUserInfoFormDTO; | 
					 | 
					 | 
					import com.epmet.dto.form.PasswordLoginUserInfoFormDTO; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.resi.ResiVolunteerAuthenticateFormDTO; | 
					 | 
					 | 
					import com.epmet.dto.form.resi.ResiVolunteerAuthenticateFormDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.result.ResiUserBaseInfoResultDTO; | 
					 | 
					 | 
					import com.epmet.dto.result.ResiUserBaseInfoResultDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.result.resi.ResiVolunteerInfoResultDTO; | 
					 | 
					 | 
					import com.epmet.dto.result.resi.ResiVolunteerInfoResultDTO; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -93,9 +93,9 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl<VolunteerInfoDao, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            // 发送消息 由积分系统消费消息(需要使用规则)
 | 
					 | 
					 | 
					            // 发送消息 由积分系统消费消息(需要使用规则)
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            this.grantActPoints(formDTO); | 
					 | 
					 | 
					            this.grantActPoints(formDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        // 更新用户基础信息表 并 更新用户微信表
 | 
					 | 
					 | 
					        // 志愿者认证,更新用户基础信息
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        WxUserInfoFormDTO wxUserInfoFormDTO = this.packageWxUserInfo(formDTO); | 
					 | 
					 | 
					        com.epmet.dto.form.ResiVolunteerAuthenticateFormDTO param = ConvertUtils.sourceToTarget(formDTO, com.epmet.dto.form.ResiVolunteerAuthenticateFormDTO.class); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        return epmetUserOpenFeignClient.updateUserBaseAndWxUserInfo(wxUserInfoFormDTO); | 
					 | 
					 | 
					        return epmetUserOpenFeignClient.volunteerBaseInfo(param); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private void grantActPoints(ResiVolunteerAuthenticateFormDTO formDTO){ | 
					 | 
					 | 
					    private void grantActPoints(ResiVolunteerAuthenticateFormDTO formDTO){ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -122,23 +122,6 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl<VolunteerInfoDao, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * 根据志愿者认证参数,组装微信基本信息 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param formDTO | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @return com.epmet.dto.form.WxUserInfoFormDTO | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Author zhangyong | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Date 13:54 2020-07-28 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     **/ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private WxUserInfoFormDTO packageWxUserInfo(ResiVolunteerAuthenticateFormDTO formDTO){ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WxUserInfoFormDTO wxUserInfoFormDTO = new WxUserInfoFormDTO(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        wxUserInfoFormDTO.setUserId(formDTO.getUserId()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        wxUserInfoFormDTO.setNickName(formDTO.getNickname()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        wxUserInfoFormDTO.setAvatarUrl(formDTO.getAvatarUrl()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        wxUserInfoFormDTO.setGender(formDTO.getGender()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return wxUserInfoFormDTO; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public Result<ResiVolunteerInfoResultDTO> selectVolunteerInfoByUserId(TokenDto tokenDto) { | 
					 | 
					 | 
					    public Result<ResiVolunteerInfoResultDTO> selectVolunteerInfoByUserId(TokenDto tokenDto) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ResiVolunteerInfoResultDTO resultDTO = new ResiVolunteerInfoResultDTO(); | 
					 | 
					 | 
					        ResiVolunteerInfoResultDTO resultDTO = new ResiVolunteerInfoResultDTO(); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |