|  |  |  | @ -271,13 +271,22 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
			
				
					|  |  |  |  | 			Response response = client.newCall(request).execute(); | 
			
		
	
		
			
				
					|  |  |  |  | 			result = response.body().string(); | 
			
		
	
		
			
				
					|  |  |  |  | 			JSONObject json = JSONObject.parseObject(result); | 
			
		
	
		
			
				
					|  |  |  |  | 			 | 
			
		
	
		
			
				
					|  |  |  |  | 			if(isLastLevel()) { | 
			
		
	
		
			
				
					|  |  |  |  | 				if(json.get("code")!=null) { | 
			
		
	
		
			
				
					|  |  |  |  | 					success = analyToDB(json.getJSONObject("data"),files); | 
			
		
	
		
			
				
					|  |  |  |  | 				} else { | 
			
		
	
		
			
				
					|  |  |  |  | 					success = analyToDB(json,files); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 				if(!success) | 
			
		
	
		
			
				
					|  |  |  |  | 					logger.info("fetchData-->解析失败"); | 
			
		
	
		
			
				
					|  |  |  |  | 			} else { | 
			
		
	
		
			
				
					|  |  |  |  | 				if(json.get("code")!=null) { | 
			
		
	
		
			
				
					|  |  |  |  | 					syncAddTaskStatus(json.getJSONObject("data"),false,success); | 
			
		
	
		
			
				
					|  |  |  |  | 				} else { | 
			
		
	
		
			
				
					|  |  |  |  | 					syncAddTaskStatus(json,false,success); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			 | 
			
		
	
		
			
				
					|  |  |  |  | 			if(success) { | 
			
		
	
		
			
				
					|  |  |  |  | 				String ret = post(host+"/spssync/common/success",params); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |