|  |  | @ -348,9 +348,6 @@ public class UdiContrastService { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         }else { |  |  |  |                         }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             List<ThirdAliDrug> thirdAliDrugListNew = null; |  |  |  |                             List<ThirdAliDrug> thirdAliDrugListNew = null; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                             String customerId =customerService.getCustomerId(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             CustomerInfoEntity customerInfoEntity = customerInfoService.selectById(customerId); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust(); |  |  |  |                             AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             alihealthThirdAliDrugInsertReqeust.setErpId("73157692795424"); |  |  |  |                             alihealthThirdAliDrugInsertReqeust.setErpId("73157692795424"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01"); |  |  |  |                             alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01"); | 
			
		
	
	
		
		
			
				
					|  |  | @ -368,6 +365,7 @@ public class UdiContrastService { | 
			
		
	
		
		
			
				
					
					|  |  |  |                                  thirdAliDrugService.addOrUpdate(thirdAliDrugListNew); |  |  |  |                                  thirdAliDrugService.addOrUpdate(thirdAliDrugListNew); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                             }else { |  |  |  |                             }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 udiProductService.insertUdiInfo(udiProductEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 log.error("阿里接口未查到产品信息==="+baseResponse.getMessage()); |  |  |  |                                 log.error("阿里接口未查到产品信息==="+baseResponse.getMessage()); | 
			
		
	
		
		
			
				
					
					|  |  |  | //                                throw new JsonException(500, "阿里接口未查到产品信息");
 |  |  |  | //                                throw new JsonException(500, "阿里接口未查到产品信息");
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                             } |  |  |  |                             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -423,6 +421,8 @@ public class UdiContrastService { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         udiProductEntity.setId(IdUtil.getSnowflakeNextId()); |  |  |  |                         udiProductEntity.setId(IdUtil.getSnowflakeNextId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         udiProductService.insertUdiInfo(udiProductEntity); |  |  |  |                         udiProductService.insertUdiInfo(udiProductEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     udiProductService.insertUdiInfo(udiProductEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | //                setLevel(udiRelevanceEntity.getUuid());
 |  |  |  | //                setLevel(udiRelevanceEntity.getUuid());
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |