| 
					
					
						
							
						
					
					
				 | 
				@ -16,6 +16,7 @@ using System; | 
			
		
		
	
		
			
				 | 
				 | 
				using System.Collections.Generic; | 
				 | 
				 | 
				using System.Collections.Generic; | 
			
		
		
	
		
			
				 | 
				 | 
				using System.IO; | 
				 | 
				 | 
				using System.IO; | 
			
		
		
	
		
			
				 | 
				 | 
				using System.Linq; | 
				 | 
				 | 
				using System.Linq; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				using System.Security.Cryptography.Xml; | 
			
		
		
	
		
			
				 | 
				 | 
				using System.Text; | 
				 | 
				 | 
				using System.Text; | 
			
		
		
	
		
			
				 | 
				 | 
				using System.Threading.Tasks; | 
				 | 
				 | 
				using System.Threading.Tasks; | 
			
		
		
	
		
			
				 | 
				 | 
				using Volo.Abp; | 
				 | 
				 | 
				using Volo.Abp; | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -28,7 +29,7 @@ using Volo.Abp.Users; | 
			
		
		
	
		
			
				 | 
				 | 
				namespace Shentun.Peis.ImportPacsResults | 
				 | 
				 | 
				namespace Shentun.Peis.ImportPacsResults | 
			
		
		
	
		
			
				 | 
				 | 
				{ | 
				 | 
				 | 
				{ | 
			
		
		
	
		
			
				 | 
				 | 
				    [ApiExplorerSettings(GroupName = "Work")] | 
				 | 
				 | 
				    [ApiExplorerSettings(GroupName = "Work")] | 
			
		
		
	
		
			
				 | 
				 | 
				    [Authorize] | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    //[Authorize]
 | 
			
		
		
	
		
			
				 | 
				 | 
				    public class ImportPacsResultAppService : ApplicationService | 
				 | 
				 | 
				    public class ImportPacsResultAppService : ApplicationService | 
			
		
		
	
		
			
				 | 
				 | 
				    { | 
				 | 
				 | 
				    { | 
			
		
		
	
		
			
				 | 
				 | 
				        private readonly IRepository<RegisterCheckItem> _registerCheckItemRepository; | 
				 | 
				 | 
				        private readonly IRepository<RegisterCheckItem> _registerCheckItemRepository; | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -190,6 +191,22 @@ namespace Shentun.Peis.ImportPacsResults | 
			
		
		
	
		
			
				 | 
				 | 
				            string pictureUrl; | 
				 | 
				 | 
				            string pictureUrl; | 
			
		
		
	
		
			
				 | 
				 | 
				            foreach (var file in input.Files) | 
				 | 
				 | 
				            foreach (var file in input.Files) | 
			
		
		
	
		
			
				 | 
				 | 
				            { | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                if(string.IsNullOrWhiteSpace(file.FileTransMode)) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    throw new UserFriendlyException("文件传输模式不能为空"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                if (string.IsNullOrWhiteSpace(file.FileFormat)) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    throw new UserFriendlyException("文件格式不能为空"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                if(file.FileTransMode != "0" && file.FileTransMode != "1") | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    throw new UserFriendlyException("文件传输模式不正确"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                if (file.FileFormat != "0" && file.FileFormat != "1") | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    throw new UserFriendlyException("文件格式不正确"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                } | 
			
		
		
	
		
			
				 | 
				 | 
				                string fileName; | 
				 | 
				 | 
				                string fileName; | 
			
		
		
	
		
			
				 | 
				 | 
				                if (string.IsNullOrWhiteSpace(file.FileName)) | 
				 | 
				 | 
				                if (string.IsNullOrWhiteSpace(file.FileName)) | 
			
		
		
	
		
			
				 | 
				 | 
				                { | 
				 | 
				 | 
				                { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |