| 
					
				 | 
			
			
				@ -5,6 +5,8 @@ import com.alibaba.fastjson.JSONArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.service.family.PatientFamilyMemberService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.service.sign.ServicePackageService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.doctor.dao.BaseDoctorDao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.entity.base.doctor.BaseDoctorDO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.entity.base.patient.BasePatientDO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.im.util.ImUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.patient.dao.BasePatientDao; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -36,6 +38,9 @@ public class OnlineContactService extends BaseJpaService<BasePatientDO, BasePati 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private PatientFamilyMemberService familyMemberService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private ServicePackageService servicePackageService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private BaseDoctorDao doctorDao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONObject getOnLineObj(String patient){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject obj = new JSONObject(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -139,6 +144,7 @@ public class OnlineContactService extends BaseJpaService<BasePatientDO, BasePati 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            tmpObj.put("avatar",tmp.get("photo")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            tmpObj.put("userType","1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            tmpObj.put("doctorId",tmp.get("doctor")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            tmp.put("doctorLevel",tmp.get("doctorLevel")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            tmpObj.put("relationName","助老员"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            doctorResult.add(tmpObj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 |