|  |  | @ -253,25 +253,21 @@ public class AlihealthBusServiceImpl implements AlihealthBusService { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     CustomerService customerService; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     private AddBizProductReqeust buildProductRequest(YcFileOrderUploadVo orderUploadVo, IoOrderEntity orderEntity, String fromCorp) { |  |  |  |     private AddBizProductReqeust buildProductRequest(YcFileOrderUploadVo orderUploadVo, IoOrderEntity orderEntity, String fromCorp) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderEntity.setYcBillNo(orderUploadVo.getYcBillNo()); |  |  |  |         orderEntity.setYcBillNo(orderUploadVo.getYcBillNo()); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         UdiRelevanceResponse udiRelevance = udiRelevanceService.selectByMainIdOne(orderUploadVo.getDrugUnifiedCode()); |  |  |  |         UdiRelevanceResponse udiRelevance = udiRelevanceService.selectByMainIdOne(orderUploadVo.getDrugUnifiedCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (udiRelevance == null) { |  |  |  |         if (udiRelevance == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             throw new JsonException(500, "未通过药品标识获取详情信息!"); |  |  |  |             throw new JsonException(500, "文件中的药品统一编码:【"+orderUploadVo.getDrugUnifiedCode() + "】" +"没有维护产品信息!"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         Long id = udiRelevance.getId(); |  |  |  |         Long id = udiRelevance.getId(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         String supId = udiRelevance.getSupId(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         String userId = customerService.getCustomerId(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<CompanyProductRelevanceEntity> companyProductRelevanceEntities = companyProductRelevanceDao.selectList(new LambdaQueryWrapper<CompanyProductRelevanceEntity>() |  |  |  |         List<CompanyProductRelevanceEntity> companyProductRelevanceEntities = companyProductRelevanceDao.selectList(new LambdaQueryWrapper<CompanyProductRelevanceEntity>() | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .eq(CompanyProductRelevanceEntity::getUdiRlIdFk, id) |  |  |  |                 .eq(CompanyProductRelevanceEntity::getUdiRlIdFk, id) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .eq(CompanyProductRelevanceEntity::getCustomerId, userId)); |  |  |  |                 .eq(CompanyProductRelevanceEntity::getCustomerId, fromCorp)); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         if (CollUtil.isEmpty(companyProductRelevanceEntities)) { |  |  |  |         if (CollUtil.isEmpty(companyProductRelevanceEntities)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             throw new JsonException(500, "当前产品标识:【" + udiRelevance.getNameCode() + "】未添加文件中供应商配送服务!"); |  |  |  |             throw new JsonException(500, "文件中的药品统一编码:【"+orderUploadVo.getDrugUnifiedCode() + "】 产品标识:【" + udiRelevance.getNameCode() + "】未添加文件中供应商配送服务!"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         AddBizProductReqeust productRequest = new AddBizProductReqeust(); |  |  |  |         AddBizProductReqeust productRequest = new AddBizProductReqeust(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |