|  | @ -184,12 +184,15 @@ public class MessageService extends BaseService {
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |         //获取系统消息总数
 | 
												
													
														
															|  | 
 |  |         int count= messageDao.findMessageNum(doctor,3);
 | 
												
													
														
															|  | 
 |  |         JSONObject systemJson = new JSONObject();
 | 
												
													
														
															|  | 
 |  |         systemJson.put("amount", count);
 | 
												
													
														
															|  |         JSONObject json = new JSONObject();
 |  |         JSONObject json = new JSONObject();
 | 
												
													
														
															|  |         getImMsgAmount(json,doctor);
 |  | 
 | 
												
													
														
															|  |         //json.put("consult", consultJson);
 |  | 
 | 
												
													
														
															|  |         //json.put("famousConsult", famousJson);
 |  | 
 | 
												
													
														
															|  |         json.put("sign", signJson);
 |  | 
 | 
												
													
														
															|  |         json.put("healthIndex", indexJson);
 |  | 
 | 
												
													
														
															|  | 
 |  |         getImMsgAmount(json,doctor);//IM消息数量
 | 
												
													
														
															|  | 
 |  |         json.put("sign", signJson);//签约数
 | 
												
													
														
															|  | 
 |  |         json.put("healthIndex", indexJson);//健康指标
 | 
												
													
														
															|  | 
 |  |         json.put("system", systemJson);//系统消息
 | 
												
													
														
															|  |         return json;
 |  |         return json;
 | 
												
													
														
															|  |     }
 |  |     }
 | 
												
													
														
															|  |     private void  getImMsgAmount(JSONObject obj,String doctor){
 |  |     private void  getImMsgAmount(JSONObject obj,String doctor){
 |