| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -9,10 +9,7 @@ import com.epmet.dto.form.yantai.YtUserPageFormDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.epmet.dto.result.yantai.DataSyncOrgDataDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.epmet.dto.result.yantai.YtUserPageResDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.web.bind.annotation.PostMapping; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.web.bind.annotation.RequestBody; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.web.bind.annotation.RequestMapping; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.web.bind.annotation.RestController; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.web.bind.annotation.*; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import java.util.List; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -33,8 +30,8 @@ public class DataSyncUserAndOrgController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 * desc:从统一认证中心 拉取用户信息 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 * @return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@PostMapping("yantai/sync/user") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public Result<Boolean> templateList(String orgId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@PostMapping("yanTai/sync/user") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public Result<Boolean> getYanTaiUserInfo(@RequestParam("orgId")String orgId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							Boolean flag = dataSyncUserAndOrgService.yanTaiSyncUser(orgId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							return new Result<Boolean>().ok(flag); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -43,8 +40,8 @@ public class DataSyncUserAndOrgController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 * desc:从统一认证中心 拉取组织信息 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 * @return | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						 */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@PostMapping("yantai/sync/org") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public Result<Boolean> getExtJson(String orgId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						@PostMapping("yanTai/sync/org") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						public Result<Boolean> getYanTaiOrgInfo(@RequestParam("orgId")String orgId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							Boolean extJson = dataSyncUserAndOrgService.yanTaiSyncOrg(orgId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							return new Result<Boolean>().ok(extJson); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						} | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |