| 
					
				 | 
			
			
				@ -327,7 +327,7 @@ public class PrescriptionInfoService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public int cancelPrescriotion(String code,String reason){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public int cancelPrescriotion(String code,String reason)throws Exception{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Prescription p = prescriptionDao.findByCode(code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        p.setStatus(PrescriptionLog.PrescriptionLogStatus.patient_canel.getValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        p.setCancelReason(reason); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -349,7 +349,7 @@ public class PrescriptionInfoService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        prescriptionLogDao.save(log); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //同步智业接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //upLoadPrescriotionState(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        jwPrescriptionService.fadeRecipe(code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 |