|  | @ -829,6 +829,10 @@ public class ImService {
 | 
												
													
														
															|  | 			//1、获取his就诊记录详情(保存续方表、药品续方信息表、续方疾病类型表)
 |  | 			//1、获取his就诊记录详情(保存续方表、药品续方信息表、续方疾病类型表)
 | 
												
													
														
															|  | 			WlyyOutpatientDO wlyyOutpatientDO = outpatientDao.findOne(outpatientCode);
 |  | 			WlyyOutpatientDO wlyyOutpatientDO = outpatientDao.findOne(outpatientCode);
 | 
												
													
														
															|  | 			
 |  | 			
 | 
												
													
														
															|  | 
 |  | 			if(!"0".equals(wlyyOutpatientDO.getStatus())){
 | 
												
													
														
															|  | 
 |  | 				throw new RuntimeException("该就诊记录已被取消,无法接单!");
 | 
												
													
														
															|  | 
 |  | 			}
 | 
												
													
														
															|  | 
 |  | 			
 | 
												
													
														
															|  | 			JSONObject jsonObject = new JSONObject();
 |  | 			JSONObject jsonObject = new JSONObject();
 | 
												
													
														
															|  | 			jsonObject.put("title", p.getName() + "申请复诊");
 |  | 			jsonObject.put("title", p.getName() + "申请复诊");
 | 
												
													
														
															|  | 			jsonObject.put("content",wlyyOutpatientDO.getDescription());
 |  | 			jsonObject.put("content",wlyyOutpatientDO.getDescription());
 |