| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -895,11 +895,11 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //BufferedImage 转化为 ByteArrayOutputStream
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ByteArrayOutputStream out = new ByteArrayOutputStream(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ImageIO.write(image, "jpg", out); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ImageIO.write(image, "png", out); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //ByteArrayOutputStream 转化为 byte[]
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            byte[] imageByte = out.toByteArray(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //将 byte[] 转为 MultipartFile
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            MultipartFile multipartFile = new ConvertToMultipartFile(imageByte, "newNamepic", "pic1", "jpg", imageByte.length); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            MultipartFile multipartFile = new ConvertToMultipartFile(imageByte, "newNamepic", "pic1", "png", imageByte.length); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            Result<UploadImgResultDTO> uploadResult = ossFeignClient.uploadImportTaskDescFile(multipartFile); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (uploadResult == null || !uploadResult.success()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "上传一户一档二维码失败", "上传一户一档二维码失败"); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |