|  | @ -156,6 +156,7 @@ public class JwPrescriptionService {
 | 
	
		
			
				|  |  |         return response;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      * 院内结算确认接口
 | 
	
		
			
				|  |  |      * @param prescriptionCode 处方CODE
 | 
	
	
		
			
				|  | @ -167,6 +168,18 @@ public class JwPrescriptionService {
 | 
	
		
			
				|  |  |         List<NameValuePair> params = new ArrayList<>();
 | 
	
		
			
				|  |  |         params.add(new BasicNameValuePair("prescriptionCode", prescriptionCode));
 | 
	
		
			
				|  |  |         String response = httpClientUtil.post(url, params, "UTF-8");
 | 
	
		
			
				|  |  |         if(StringUtils.isNotBlank(response)){
 | 
	
		
			
				|  |  |             JSONObject reobj =  JSON.parseObject(response);
 | 
	
		
			
				|  |  |             Integer status = reobj.getInteger("status");
 | 
	
		
			
				|  |  |             String errmsg = reobj.getString("msg");
 | 
	
		
			
				|  |  |             if(-1 == status){
 | 
	
		
			
				|  |  |                 throw new Exception("基卫接口(院内结算确认接口)请求失败,"+errmsg);
 | 
	
		
			
				|  |  |             }else{
 | 
	
		
			
				|  |  |                 prescriptionDao.updatejwPayStatus(prescriptionCode);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |         }else{
 | 
	
		
			
				|  |  |             throw new Exception("基卫接口(院内结算确认接口)请求失败,无数据返回!");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return response;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 |