|  |  | @ -11,6 +11,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.common.res.BaseResponse; |  |  |  | import com.glxp.api.common.res.BaseResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.constant.ConstantStatus; |  |  |  | import com.glxp.api.constant.ConstantStatus; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.dao.basic.UdiRelevanceDao; |  |  |  | import com.glxp.api.dao.basic.UdiRelevanceDao; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import com.glxp.api.entity.auth.CustomerInfoEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.UdiProductEntity; |  |  |  | import com.glxp.api.entity.basic.UdiProductEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.basic.UdiRelevanceEntity; |  |  |  | import com.glxp.api.entity.basic.UdiRelevanceEntity; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.entity.thrsys.*; |  |  |  | import com.glxp.api.entity.thrsys.*; | 
			
		
	
	
		
		
			
				
					|  |  | @ -26,6 +27,8 @@ import com.glxp.api.req.thrsys.ThrInsDrugFeeRequest; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.req.thrsys.ThrInsMaterialFeeRequest; |  |  |  | import com.glxp.api.req.thrsys.ThrInsMaterialFeeRequest; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.res.PageSimpleResponse; |  |  |  | import com.glxp.api.res.PageSimpleResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.res.basic.UdiRelevanceResponse; |  |  |  | import com.glxp.api.res.basic.UdiRelevanceResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import com.glxp.api.service.auth.CustomerInfoService; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import com.glxp.api.service.auth.CustomerService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.thrsys.BasicInsMaterialService; |  |  |  | import com.glxp.api.service.thrsys.BasicInsMaterialService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.thrsys.ThirdAliDrugService; |  |  |  | import com.glxp.api.service.thrsys.ThirdAliDrugService; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.service.thrsys.ThrProductsService; |  |  |  | import com.glxp.api.service.thrsys.ThrProductsService; | 
			
		
	
	
		
		
			
				
					|  |  | @ -68,6 +71,10 @@ public class UdiContrastService { | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |     YbDrugService ybDrugService; |  |  |  |     YbDrugService ybDrugService; | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     private CustomerService customerService; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     private CustomerInfoService customerInfoService; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |     private AlihealthUtils alihealthUtils; |  |  |  |     private AlihealthUtils alihealthUtils; | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Value("${UDI_SERVER_URL}") |  |  |  |     @Value("${UDI_SERVER_URL}") | 
			
		
	
		
		
			
				
					
					|  |  |  |     private String udiUrl; |  |  |  |     private String udiUrl; | 
			
		
	
	
		
		
			
				
					|  |  | @ -331,8 +338,12 @@ public class UdiContrastService { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                         }else { |  |  |  |                         }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             List<ThirdAliDrug> thirdAliDrugListNew; |  |  |  |                             List<ThirdAliDrug> thirdAliDrugListNew; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             String customerId =customerService.getCustomerId(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             CustomerInfoEntity customerInfoEntity = customerInfoService.selectById(customerId); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                             AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust(); |  |  |  |                             AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             alihealthThirdAliDrugInsertReqeust.setErpId("123"); |  |  |  |                             alihealthThirdAliDrugInsertReqeust.setErpId("73157692795424"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                             alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01"); |  |  |  |                             alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             AlihealthKytDrugrescodeReqeust alihealthKytDrugrescodeReqeust = new AlihealthKytDrugrescodeReqeust(); |  |  |  |                             AlihealthKytDrugrescodeReqeust alihealthKytDrugrescodeReqeust = new AlihealthKytDrugrescodeReqeust(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             alihealthKytDrugrescodeReqeust.setPhysic_name(thrProductsEntity.getName()); |  |  |  |                             alihealthKytDrugrescodeReqeust.setPhysic_name(thrProductsEntity.getName()); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |