|  | @ -29,6 +29,7 @@ import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | import org.springframework.beans.factory.annotation.Value;
 | 
	
		
			
				|  |  | import org.springframework.jdbc.core.JdbcTemplate;
 | 
	
		
			
				|  |  | import org.springframework.scheduling.annotation.Async;
 | 
	
		
			
				|  |  | import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import java.net.URLEncoder;
 | 
	
	
		
			
				|  | @ -403,17 +404,22 @@ public class MedicineService {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                 } else {
 | 
	
		
			
				|  |  |                     if ("succ".equals(result)) {//交易成功 (微信/支付宝成功,HIS成功)
 | 
	
		
			
				|  |  |                         String url = "http://127.0.0.1:10020/baseOrder/open/hlwyyRechargeNotify";
 | 
	
		
			
				|  |  |                         List<NameValuePair> params = new ArrayList<>();
 | 
	
		
			
				|  |  |                         JSONObject paramTmp = new JSONObject();
 | 
	
		
			
				|  |  |                         paramTmp.put("outChargeNo",tmp.getOutChargeNo());
 | 
	
		
			
				|  |  |                         JSONObject paramTmpObj = new JSONObject();
 | 
	
		
			
				|  |  |                         paramTmpObj.put("param",paramTmp);
 | 
	
		
			
				|  |  |                         params.add(new BasicNameValuePair("responsStr",paramTmpObj.toJSONString()));
 | 
	
		
			
				|  |  |                         httpClientUtil.post(url, params, "UTF-8");
 | 
	
		
			
				|  |  |                         hlwyyRechargeNotify(tmp.getOutChargeNo());
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Async
 | 
	
		
			
				|  |  |     public void hlwyyRechargeNotify(String outChargeNo){
 | 
	
		
			
				|  |  |         String url = "http://127.0.0.1:10020/baseOrder/open/hlwyyRechargeNotify";
 | 
	
		
			
				|  |  |         List<NameValuePair> params = new ArrayList<>();
 | 
	
		
			
				|  |  |         JSONObject paramTmp = new JSONObject();
 | 
	
		
			
				|  |  |         paramTmp.put("outChargeNo",outChargeNo);
 | 
	
		
			
				|  |  |         JSONObject paramTmpObj = new JSONObject();
 | 
	
		
			
				|  |  |         paramTmpObj.put("param",paramTmp);
 | 
	
		
			
				|  |  |         params.add(new BasicNameValuePair("responsStr",paramTmpObj.toJSONString()));
 | 
	
		
			
				|  |  |         httpClientUtil.post(url, params, "UTF-8");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |