|  |  |  | @ -116,9 +116,9 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     	 Map<String, Object> map = map = dbDao.get("select * from " + tableName + " where id='" + id + "'"); | 
			
		
	
		
			
				
					|  |  |  |  |          if (map == null) | 
			
		
	
		
			
				
					|  |  |  |  |          	return ResultVOUtils.error(9000, "下载任务不存在"+tableName); | 
			
		
	
		
			
				
					|  |  |  |  |          	return ResultVOUtils.error(9000, "下载任务不存在"); | 
			
		
	
		
			
				
					|  |  |  |  |          if (!(map.get("cacheFilePath") != null && FileUtils.isFileExist(map.get("cacheFilePath").toString()))) | 
			
		
	
		
			
				
					|  |  |  |  |              return ResultVOUtils.error(9000, "下载文件不存在-"+tableName); | 
			
		
	
		
			
				
					|  |  |  |  |              return ResultVOUtils.error(9000, "下载文件不存在"); | 
			
		
	
		
			
				
					|  |  |  |  |          String json = FileUtils.readFileAll(map.get("cacheFilePath").toString()); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |          JSONObject object = JSON.parseObject(json); | 
			
		
	
	
		
			
				
					|  |  |  | @ -208,7 +208,7 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
			
				
					|  |  |  |  |             String[] syncTables = TableUtils.syncTables(); | 
			
		
	
		
			
				
					|  |  |  |  |             for (int i = 0; i < syncTables.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |  |                 String[] tnames = syncTables[i].split("/"); | 
			
		
	
		
			
				
					|  |  |  |  |                 boolean sync = StringUtils.isEmpty(tnames[0]) || | 
			
		
	
		
			
				
					|  |  |  |  |                 boolean sync = (StringUtils.isEmpty(tnames[0])&&StringUtils.isEmpty(tnames[1]))|| | 
			
		
	
		
			
				
					|  |  |  |  |                         (!StringUtils.isEmpty(tnames[0]) && map != null && map.get(tnames[0]) != null && map.get(tnames[0]).toString().equals("1")); | 
			
		
	
		
			
				
					|  |  |  |  |                 saveIdcLog("---", "", map.get(tnames[0]) + syncTables[i], 0, 0); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (sync) { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |