|
@ -2420,6 +2420,24 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
BaseDoctorDO baseDoctorDO = baseDoctorDao.findByIdcardAndDel(doctorIdcard);
|
|
|
if (baseDoctorDO!=null){
|
|
|
doctor = baseDoctorDO.getId();
|
|
|
}else {
|
|
|
result.put("imgCount",0);//图文复诊数量
|
|
|
result.put("imgTotal",0);//图文复诊总数量
|
|
|
result.put("videoCount",0);//视频复诊数量
|
|
|
result.put("videoTotal",0);//视频复诊总数量
|
|
|
result.put("xtCount",0);//协同门诊候诊数量
|
|
|
result.put("xtTotal",0);//协同门诊候诊总数量
|
|
|
result.put("imgConsultCount",0);//图文咨询数量
|
|
|
result.put("imgConsultTotal",0);//图文咨询总数量
|
|
|
result.put("videoConsultCount",0);//视频咨询数量
|
|
|
result.put("videoConsultTotal",0);//视频咨询总数量
|
|
|
result.put("homeConsultCount",0);//家医咨询数量
|
|
|
result.put("homeConsultTotal",0);//家医咨询总数量
|
|
|
result.put("zjUnreadMessageCount",0);//专家咨询未读数
|
|
|
if ("sd_tnzyy_wx".equalsIgnoreCase(wxId)){
|
|
|
result.put("doorServiceCount",0);//上门服务数量
|
|
|
}
|
|
|
return success("请求成功",result);
|
|
|
}
|
|
|
logger.info("action:doctorReviewConsultCount--start:doctor"+doctor);
|
|
|
result.put("imgCount",prescriptionService.getWaitVideoCount(doctor,"1","1",wxId));//图文复诊数量
|