瀏覽代碼

Merge branch 'dev' of linzhuo/patient-co-management into dev

lyr 8 年之前
父節點
當前提交
48eb5ae48b
共有 1 個文件被更改,包括 8 次插入5 次删除
  1. 8 5
      patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/message/MessageService.java

+ 8 - 5
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/message/MessageService.java

@ -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();
        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;
    }
    private void  getImMsgAmount(JSONObject obj,String doctor){