Bladeren bron

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

lyr 8 jaren geleden
bovenliggende
commit
48eb5ae48b

+ 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){