|  |  | @ -309,8 +309,10 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String datePath = DateUtil.formatDate(new Date(),"yyyy-MM-dd"); |  |  |  | 		String datePath = DateUtil.formatDate(new Date(),"yyyy-MM-dd"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String fileName = filePath +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi"; |  |  |  | 		String fileName = filePath +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String backFileName = backFilePath +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi"; |  |  |  | 		String backFileName = backFilePath +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.makeDirectory( filePath +datePath+"/"); |  |  |  | 		if(!FileUtils.makeDirectory( filePath +datePath)) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.makeDirectory(backFilePath +datePath+"/"); |  |  |  | 			IDCUtils.createDirectory(filePath +datePath+"/"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(!FileUtils.makeDirectory(backFilePath +datePath)) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			IDCUtils.createDirectory(filePath +datePath+"/"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		 |  |  |  | 		 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.SaveFileAs(content, fileName); |  |  |  | 		FileUtils.SaveFileAs(content, fileName); | 
			
		
	
		
		
			
				
					
					|  |  |  |         FileUtils.SaveFileAs(content, backFileName); |  |  |  |         FileUtils.SaveFileAs(content, backFileName); | 
			
		
	
	
		
		
			
				
					|  |  | @ -549,8 +551,10 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String datePath = DateUtil.formatDate(new Date(),"yyyy-MM-dd"); |  |  |  | 		String datePath = DateUtil.formatDate(new Date(),"yyyy-MM-dd"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String fileName = filePath +datePath+"/"+json.get("messageType")+"-"+json.get("messageId")+".udi"; |  |  |  | 		String fileName = filePath +datePath+"/"+json.get("messageType")+"-"+json.get("messageId")+".udi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		String backFileName = backFilePath +datePath+"/"+json.get("messageType")+"-"+json.get("messageId")+".udi"; |  |  |  | 		String backFileName = backFilePath +datePath+"/"+json.get("messageType")+"-"+json.get("messageId")+".udi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.makeDirectory(filePath +datePath+"/"); |  |  |  | 		if(!FileUtils.makeDirectory( filePath +datePath)) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.makeDirectory(backFilePath +datePath+"/"); |  |  |  | 			IDCUtils.createDirectory(filePath +datePath+"/"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(!FileUtils.makeDirectory(backFilePath +datePath)) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			IDCUtils.createDirectory(filePath +datePath+"/"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		 |  |  |  | 		 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		FileUtils.SaveFileAs(content, fileName); |  |  |  | 		FileUtils.SaveFileAs(content, fileName); | 
			
		
	
		
		
			
				
					
					|  |  |  |         FileUtils.SaveFileAs(content, backFileName); |  |  |  |         FileUtils.SaveFileAs(content, backFileName); | 
			
		
	
	
		
		
			
				
					|  |  | @ -563,11 +567,7 @@ public class IdcServiceImpl implements IdcService { | 
			
		
	
		
		
			
				
					
					|  |  |  |         map.put("taskId", json.get("messageId")); |  |  |  |         map.put("taskId", json.get("messageId")); | 
			
		
	
		
		
			
				
					
					|  |  |  |         map.put("cacheFilePath", fileName); |  |  |  |         map.put("cacheFilePath", fileName); | 
			
		
	
		
		
			
				
					
					|  |  |  |         map.put("status", success ? "1" : "0"); |  |  |  |         map.put("status", success ? "1" : "0"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(isUpload) { |  |  |  |         saveExportStatus(map); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         	saveUploadStatus(map); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         	saveExportStatus(map); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	 |  |  |  | 	 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	 |  |  |  | 	 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |