|  | @ -9,7 +9,6 @@ import com.yihu.jw.entity.base.doctor.BaseDoctorHospitalDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.im.ConsultDo;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.im.ConsultTeamDo;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.patient.BasePatientDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.mapping.PatientMappingDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.message.SystemMessageDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.prescription.WlyyOutpatientDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.prescription.WlyyPrescriptionEmrDO;
 | 
	
	
		
			
				|  | @ -414,7 +413,7 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 		msgObj.put("msg",baseDoctorDO.getName()+"结束了咨询");
 | 
	
		
			
				|  |  | 		msgObj.put("consultcode",consult);
 | 
	
		
			
				|  |  | 		String jsonStr = "";
 | 
	
		
			
				|  |  | 		ConsultDo cons = consultDao.findOne(consult);
 | 
	
		
			
				|  |  | 		/*ConsultDo cons = consultDao.findOne(consult);
 | 
	
		
			
				|  |  | 		if (StringUtils.isNoneBlank(cons.getRelationCode())){
 | 
	
		
			
				|  |  | 			List<WlyyOutpatientDO> wlyyOutpatientDOList = outpatientDao.findByPatientListNoStatus(cons.getPatient());
 | 
	
		
			
				|  |  | 			//发送诊断消息
 | 
	
	
		
			
				|  | @ -440,7 +439,7 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 				ylzPayService.msgPush("01", cardNo, "01", patientDO.getMobile(), "00", userNo, userName, idcard, null, outpatientDO.getDeptName(), outpatientDO.getDoctorName(), date, "15", "1");
 | 
	
		
			
				|  |  | 			}
 | 
	
		
			
				|  |  | 		}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | */
 | 
	
		
			
				|  |  | 		if(1 == resutl){
 | 
	
		
			
				|  |  | 			jsonStr = "{\"id\":\""+ UUID.randomUUID().toString()+"\",\"sender_id\":\""+doctorCode+"\",\"sender_name\":\"系统\",\"timestamp\":"+new Date().getTime()+",\"content_type\":7,\"content\":"+msgObj.toString()+",\"business_type\":1}";
 | 
	
		
			
				|  |  | 		}
 |