|  | @ -1144,7 +1144,7 @@ public class ImService {
 | 
	
		
			
				|  |  | 			BaseDoctorDO doctor = baseDoctorDao.findById(doctorCode);
 | 
	
		
			
				|  |  | //			doctorCode = doctor.getCode();
 | 
	
		
			
				|  |  | 			// 查询患者信息
 | 
	
		
			
				|  |  | 			BasePatientDO p = basePatientDao.findById(patient);
 | 
	
		
			
				|  |  | 			BasePatientDO p = basePatientDao.findById(wlyyOutpatientDO.getPatient());
 | 
	
		
			
				|  |  | 			
 | 
	
		
			
				|  |  | 			if(!"0".equals(wlyyOutpatientDO.getStatus())){
 | 
	
		
			
				|  |  | 				throw new RuntimeException("该就诊记录已被取消,无法接单!");
 |