| 
					
				 | 
			
			
				@ -1319,10 +1319,12 @@ public class SpecialistService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    planLogDO.setPlanId(plan.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    planLogDO.setCreateTime(new Date()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    planLogDO.setCreateUser(doctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    planLogDO.setCreateUserName(toDoctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    planLogDO.setCreateUserName(doctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    patientRehabilitationPlanLogDao.save(planLogDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    List<RehabilitationDetailDO> planDetails  = rehabilitationDetailDao.findByPlanIdAndTypeAndDoctorAndStatusNot(plan.getId(),2,doctorCode,1);//未完成的任务 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (RehabilitationDetailDO planDetail:planDetails){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        planDetail.setCreateUser(toDoctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        planDetail.setCreateUserName(toDoctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        planDetail.setDoctor(toDoctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        planDetail.setDoctorName(toDoctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        planDetail.setUpdateTime(new Date()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1345,6 +1347,8 @@ public class SpecialistService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<SpecialistPatientRelationDO> relations = specialistPatientRelationDao.findListByTeamCodeAndPatientAndDoctor(Integer.parseInt(teamCode),patientCode,doctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (SpecialistPatientRelationDO relation:relations){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                relation.setCreateUser(toDoctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                relation.setCreateUserName(toDoctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                relation.setDoctor(toDoctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                relation.setDoctorName(toDoctorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                relation.setUpdateTime(new Date()); 
			 |