| 
					
				 | 
			
			
				@ -244,14 +244,12 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return success("该身份证无法找到医生",-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"));//图文复诊数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //医生咨询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer unreadMessageCount = imService.SessionsUnreadMessageCount(doctor.getId(),1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        result.put("zxCount",unreadMessageCount);//咨询数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        result.put("fzCount",prescriptionService.getWaitVideoCount(doctor.getId(),"1","1"));//图文复诊数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return success("请求成功",result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 |