| 
					
				 | 
			
			
				@ -470,11 +470,12 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							map = prescriptionService.cancelOutPatient(outPatientId,cancelType,cancelValue,cancelRemark,2,wxId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							if (map != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("进入外层"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								if (map.get("code").toString().equalsIgnoreCase("1")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String patientName = map.get("patientName").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String patientCode = map.get("patientCode").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String doctor = map.get("doctor").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String doctorName = map.get("doctorName").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String immsg = imService.sendOutPatientCancle(patientName,doctor,doctorName,"system",cancelRemark,cancelValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String immsg = imService.sendOutPatientCancle(patientName,patientCode,doctor,cancelRemark,cancelValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									System.out.println("发送拒绝接诊消息成功:"+immsg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -786,7 +787,7 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						return success("操作成功",prescriptionService.getConsultSuggest(consultcode)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					@PostMapping(value = BaseHospitalRequestMapping.DodtorIM.sendOutPatientCancle) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				/*	@PostMapping(value = BaseHospitalRequestMapping.DodtorIM.sendOutPatientCancle) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					@ApiOperation(value = "医生端:发送医生取消IM消息", notes = "医生端:发送医生取消IM消息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					public Envelop sendOutPatientCancle(@ApiParam(name = "patientName", value = "patientName") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					                                     @RequestParam(value = "patientName", required = true)String patientName, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -810,6 +811,6 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//            e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						return success("操作成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
					}*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				} 
			 |