|  |  | @ -34,16 +34,10 @@ import java.util.Map; | 
			
		
	
		
		
			
				
					
					|  |  |  | @Component |  |  |  | @Component | 
			
		
	
		
		
			
				
					
					|  |  |  | @Slf4j |  |  |  | @Slf4j | 
			
		
	
		
		
			
				
					
					|  |  |  | public class AlihealthYljgUtils { |  |  |  | public class AlihealthYljgUtils { | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     private CustomerInfoService customerInfoService; |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     private AlihealthUtils alihealthUtils; |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     private RelCodeDetailService relCodeDetailService; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     private RelCodeBatchService relCodeBatchService; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Value("${ALIHEALTH_URL:http://gw.api.taobao.com/router/rest}") |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     private String alihealthUrl; |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |     @Resource | 
			
		
	
		
		
			
				
					
					|  |  |  |     private AuthCompanyMapper authCompanyMapper; |  |  |  |     private AuthCompanyMapper authCompanyMapper; | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Resource |  |  |  |     @Resource | 
			
		
	
	
		
		
			
				
					|  |  | @ -103,8 +97,7 @@ public class AlihealthYljgUtils { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 && org.apache.commons.lang3.StringUtils.isNotEmpty(authCompany.getAppSecret()) |  |  |  |                 && org.apache.commons.lang3.StringUtils.isNotEmpty(authCompany.getAppSecret()) | 
			
		
	
		
		
			
				
					
					|  |  |  |         ) { |  |  |  |         ) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             try { |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 Map map = alihealthUtils.disposeSign(reqeust, authCompany.getAppSecret()); |  |  |  |                 String json = alihealthClient.accessAliInterface(reqeust, authCompany.getAppSecret()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 String json = HttpUtil.get(alihealthUrl, map); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 log.error("阿里单据上传返回参数===" + json); |  |  |  |                 log.error("阿里单据上传返回参数===" + json); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 alihealthYljgUploadinoutbillResponse = JSONUtil.toBean(json, AlihealthYljgUploadinoutbillResponse.class); |  |  |  |                 alihealthYljgUploadinoutbillResponse = JSONUtil.toBean(json, AlihealthYljgUploadinoutbillResponse.class); | 
			
		
	
	
		
		
			
				
					|  |  | @ -249,9 +242,7 @@ public class AlihealthYljgUtils { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 && org.apache.commons.lang3.StringUtils.isNotEmpty(authCompany.getAppSecret()) |  |  |  |                 && org.apache.commons.lang3.StringUtils.isNotEmpty(authCompany.getAppSecret()) | 
			
		
	
		
		
			
				
					
					|  |  |  |         ) { |  |  |  |         ) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             try { |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |                 String json = alihealthClient.accessAliInterface(reqeust, authCompany.getAppSecret()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 Map map = alihealthUtils.disposeSign(reqeust, authCompany.getAppSecret()); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 String json = HttpUtil.get(alihealthUrl, map); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 alihealthYljgListupoutResponse = new AlihealthYljgListupoutResponse(json); |  |  |  |                 alihealthYljgListupoutResponse = new AlihealthYljgListupoutResponse(json); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             } catch (Exception e) { |  |  |  |             } catch (Exception e) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |