| 
					
				 | 
			
			
				@@ -194,12 +194,13 @@ public class AppUserInfoController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //判断该用户是否已存在 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int count = appUserInfoService.isExistAppUser(params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(count > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //此处是为初期没使用unionid,以作更新前期用户unionId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 boolean boo = customerPointsService.isExistCustomerPointsInfo(customerPoints); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(!boo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     customerPointsService.insertCustomerPointsInfo(customerPoints); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 String userUnionId = appUserInfoService.getUserUnionId(appUserInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(!StringUtils.isNotBlank(userUnionId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     appUserInfoService.updateUnionId(appUserInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 |