| 
					
				 | 
			
			
				@ -11740,6 +11740,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String result = "作废成功"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if("xm_zsyy_wx".equalsIgnoreCase(wechatId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                /*prescriptionDao.updateCheckStatus(prescriptionId,2,reason,20);*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("作废处方开始" + prescriptionDO.getCheckStatus()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -11774,15 +11775,13 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    net.sf.json.JSONObject jsonObject = entranceService.BS10112(jsonData.toJSONString(), demoFlag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    wlyyHttpLogDO.setResponse(jsonObject.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if(jsonObject.getString("@RESULT").equalsIgnoreCase("-1")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        return jsonObject.getString("@MSG"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    result = jsonObject.getString("@MSG"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    return "作废失败"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                wlyyHttpLogDO.setRequest(jsonData.toJSONString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                wlyyHttpLogDO.setName("作废处方"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -11802,7 +11801,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            prescriptionDO.setCheckStatus(5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            prescriptionDO.setCheckReason("已作废"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            prescriptionDao.save(prescriptionDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return "已作废"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return "作废失败"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 |