|  | @ -27,6 +27,7 @@ import com.yihu.jw.im.util.ImageCompress;
 | 
												
													
														
															|  | import com.yihu.jw.patient.dao.BasePatientDao;
 |  | import com.yihu.jw.patient.dao.BasePatientDao;
 | 
												
													
														
															|  | import com.yihu.jw.restmodel.hospital.prescription.WlyyPrescriptionVO;
 |  | import com.yihu.jw.restmodel.hospital.prescription.WlyyPrescriptionVO;
 | 
												
													
														
															|  | import com.yihu.jw.restmodel.im.ConsultVO;
 |  | import com.yihu.jw.restmodel.im.ConsultVO;
 | 
												
													
														
															|  | 
 |  | import com.yihu.jw.rm.base.BaseRequestMapping;
 | 
												
													
														
															|  | import com.yihu.jw.util.common.FileUtil;
 |  | import com.yihu.jw.util.common.FileUtil;
 | 
												
													
														
															|  | import com.yihu.jw.util.date.DateUtil;
 |  | import com.yihu.jw.util.date.DateUtil;
 | 
												
													
														
															|  | import com.yihu.jw.wechat.service.WxAccessTokenService;
 |  | import com.yihu.jw.wechat.service.WxAccessTokenService;
 | 
												
											
												
													
														
															|  | @ -1173,4 +1174,15 @@ public class ImService {
 | 
												
													
														
															|  | 		}
 |  | 		}
 | 
												
													
														
															|  | 		
 |  | 		
 | 
												
													
														
															|  | 	}
 |  | 	}
 | 
												
													
														
															|  | 
 |  | 	
 | 
												
													
														
															|  | 
 |  | 	/**
 | 
												
													
														
															|  | 
 |  | 	 * 修改医生在线状态
 | 
												
													
														
															|  | 
 |  | 	 * @param consultStatus
 | 
												
													
														
															|  | 
 |  | 	 * @param doctor
 | 
												
													
														
															|  | 
 |  | 	 */
 | 
												
													
														
															|  | 
 |  | 	public void updateDoctorConsultStatus(String consultStatus, String doctor) {
 | 
												
													
														
															|  | 
 |  | 		BaseDoctorDO baseDoctorDO = baseDoctorDao.findById(doctor);
 | 
												
													
														
															|  | 
 |  | 		baseDoctorDO.setConsultStatus(consultStatus);
 | 
												
													
														
															|  | 
 |  | 		baseDoctorDao.save(baseDoctorDO);
 | 
												
													
														
															|  | 
 |  | 	}
 | 
												
													
														
															|  | }
 |  | }
 |