|  |  | @ -24,6 +24,7 @@ import org.springframework.web.multipart.MultipartFile; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import javax.annotation.Resource; |  |  |  | import javax.annotation.Resource; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.io.File; |  |  |  | import java.io.File; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import java.nio.charset.StandardCharsets; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.Date; |  |  |  | import java.util.Date; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.List; |  |  |  | import java.util.List; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -91,7 +92,7 @@ public class BasicCorpImportLogController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             try { |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 String fileType = fileName.substring(fileName.lastIndexOf(".")); |  |  |  |                 String fileType = fileName.substring(fileName.lastIndexOf(".")); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (".udi".equalsIgnoreCase(fileType) || ".LowerIn".equalsIgnoreCase(fileType)) { |  |  |  |                 if (".udi".equalsIgnoreCase(fileType) || ".LowerIn".equalsIgnoreCase(fileType)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     String jsonData = IoUtil.read(file.getInputStream()).toString(); |  |  |  |                     String jsonData = IoUtil.read(file.getInputStream(), StandardCharsets.UTF_8).toString(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     BasicCorpExportLogResponse data = JSONUtil.toBean(jsonData, BasicCorpExportLogResponse.class); |  |  |  |                     BasicCorpExportLogResponse data = JSONUtil.toBean(jsonData, BasicCorpExportLogResponse.class); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //导入日志
 |  |  |  |                     //导入日志
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -106,7 +107,7 @@ public class BasicCorpImportLogController { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     corpImportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_UNPROCESS); |  |  |  |                     corpImportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_UNPROCESS); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     corpImportLogEntity.setUpdateTime(new Date(System.currentTimeMillis())); |  |  |  |                     corpImportLogEntity.setUpdateTime(new Date(System.currentTimeMillis())); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     basicCorpImportLogService.insertImportLog(corpImportLogEntity); |  |  |  |                     basicCorpImportLogService.insertImportLog(corpImportLogEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     basicCorpImportLogService.importJsonData(data,corpImportLogEntity.getGenKey()); |  |  |  |                     basicCorpImportLogService.importJsonData(data, corpImportLogEntity.getGenKey()); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     corpImportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_SUCCESS); |  |  |  |                     corpImportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_SUCCESS); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     basicCorpImportLogService.updateImportLog(corpImportLogEntity); |  |  |  |                     basicCorpImportLogService.updateImportLog(corpImportLogEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } else { |  |  |  |                 } else { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |