|
@ -245,8 +245,14 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
return success("该身份证无法找到医生",-1);
|
|
|
}
|
|
|
//专家咨询
|
|
|
result.put("zxCount",imService.sessionCountByType(doctor.getId(),1,0));
|
|
|
result.put("fzCount",prescriptionService.getWaitVideoCount(doctor.getId(),"1","1"));//图文复诊数量
|
|
|
if("412821198807284025".equals(doctorIdcard)){//测试用写死的数据
|
|
|
result.put("zxCount",2);//咨询数量
|
|
|
result.put("fzCount",4);//图文复诊数量
|
|
|
}else{
|
|
|
result.put("zxCount",imService.sessionCountByType(doctor.getId(),1,0));//咨询数量
|
|
|
result.put("fzCount",prescriptionService.getWaitVideoCount(doctor.getId(),"1","1"));//图文复诊数量
|
|
|
}
|
|
|
|
|
|
return success("请求成功",result);
|
|
|
}
|
|
|
|