| 
						
						
							
								
							
						
						
					 | 
					@ -11,6 +11,7 @@ import com.epmet.utils.UserData; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.utils.YantaiApi; | 
					 | 
					 | 
					import com.epmet.utils.YantaiApi; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.github.pagehelper.PageHelper; | 
					 | 
					 | 
					import com.github.pagehelper.PageHelper; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.github.pagehelper.PageInfo; | 
					 | 
					 | 
					import com.github.pagehelper.PageInfo; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.apache.commons.collections4.CollectionUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.util.List; | 
					 | 
					 | 
					import java.util.List; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -30,15 +31,17 @@ public class DataSyncUserAndOrgServiceImpl implements DataSyncUserAndOrgService | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public Boolean yanTaiSyncUser(String organizationId) { | 
					 | 
					 | 
					    public Boolean yanTaiSyncUser(String organizationId) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<OrgData> data = YantaiApi.getChildOuInfoByGuid(organizationId); | 
					 | 
					 | 
					        List<UserData> data = YantaiApi.getUserByOuGuid(organizationId); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        //todo 更新或插入数据
 | 
					 | 
					 | 
					        //todo 更新或插入数据
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return false; | 
					 | 
					 | 
					        return false; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public Boolean yanTaiSyncOrg(String organizationId) { | 
					 | 
					 | 
					    public Boolean yanTaiSyncOrg(String organizationId) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<UserData> data = YantaiApi.getUserByOuGuid(organizationId); | 
					 | 
					 | 
					        List<OrgData> data = YantaiApi.getChildOuInfoByGuid(organizationId); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (CollectionUtils.isNotEmpty(data)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return false; | 
					 | 
					 | 
					        return false; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |