| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -30,14 +30,21 @@ namespace Shentun.Peis | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        [Fact] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        public async Task UploadPeisReportAsync() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            var uploadPeisReportIuputDto = new UploadPeisReportIuputDto() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            using (var unitOfWork = _unitOfWorkManager.Begin(isTransactional: true)) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					               PatientRegisterId = new Guid("3a128197-3e61-23d3-1115-aed602ab82a8"), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					               //ReportBase64 = Shentun.Utilities.FileHelper.ToBase64("E:\\Whitedolphins\\prog20230709\\体检报告.pdf"),
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					               ReportBase64 = Shentun.Utilities.FileHelper.ToBase64("E:\\Whitedolphins\\upload.pdf"), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            await _appService.UploadPeisReportAsync(uploadPeisReportIuputDto); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                var uploadPeisReportIuputDto = new UploadPeisReportIuputDto() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    PatientRegisterId = new Guid("3a128197-3e61-23d3-1115-aed602ab82a8"), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    //ReportBase64 = Shentun.Utilities.FileHelper.ToBase64("E:\\Whitedolphins\\prog20230709\\体检报告.pdf"),
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ReportBase64 = Shentun.Utilities.FileHelper.ToBase64("E:\\Whitedolphins\\upload.pdf"), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                }; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                await _appService.UploadPeisReportAsync(uploadPeisReportIuputDto); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                await unitOfWork.CompleteAsync(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} |