|
@ -142,12 +142,16 @@ public class imController extends BaseController {
|
|
|
map.put("sex", doc.get("sex").toString());
|
|
|
map.put("doctor", doctor);
|
|
|
map.put("type",doc.get("level")==null?"":doc.get("level").toString());
|
|
|
// 未回复
|
|
|
String totalUnReply = ImUtill.getConsultData(doctor, 0, 0);
|
|
|
int unReply = Integer.parseInt(totalUnReply);
|
|
|
map.put("totalUnReply", unReply);
|
|
|
// 已回复
|
|
|
String totalReply = ImUtill.getConsultData(doctor, 0, 1);
|
|
|
int reply = Integer.parseInt(totalReply);
|
|
|
String totalReply1 = ImUtill.getConsultData(doctor, 10, null);
|
|
|
int reply = Integer.parseInt(totalReply)+Integer.parseInt(totalReply1);
|
|
|
map.put("totalReply", reply);
|
|
|
// 总咨询量
|
|
|
String totalConsult = ImUtill.getConsultData(doctor, null, null);
|
|
|
int consult = Integer.parseInt(totalConsult);
|
|
|
map.put("totalConsult", consult);
|