| 
					
				 | 
			
			
				@ -5598,7 +5598,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public void followOrgByPatient(String patientid, String doctorid, String type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<BaseDoctorPatientFollowDO> list =baseOrgPatientDao.findByDoctorAndPatient(patientid,doctorid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<BaseDoctorPatientFollowDO> list =baseOrgPatientDao.findByDoctorAndPatient(doctorid,patientid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if("1".equals(type)){//关注 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if(list.isEmpty()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                BaseDoctorPatientFollowDO baseOrgPatientFollowDO = new BaseDoctorPatientFollowDO(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -5606,13 +5606,14 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                baseOrgPatientFollowDO.setPatient(patientid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                baseOrgPatientDao.save(baseOrgPatientFollowDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else if("0".equals(type)){//取消关注 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if("0".equals(type)){//取消关注 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if(!list.isEmpty()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                for (BaseDoctorPatientFollowDO baseOrgPatientFollowDO:list){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    baseOrgPatientDao.delete(baseOrgPatientFollowDO.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else{} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public List<Map<String,Object>> findDeptByKeyWord(String keyWord,Integer page,Integer pagesize) { 
			 |