|  | @@ -22,6 +22,7 @@ import com.ym.mec.biz.dal.page.*;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.page.PageUtil;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  | +import org.springframework.beans.BeanUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.data.redis.core.RedisTemplate;
 | 
	
		
			
				|  |  |  import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
 | 
	
	
		
			
				|  | @@ -238,6 +239,7 @@ public class TeacherServiceImpl extends BaseServiceImpl<Integer, Teacher> implem
 | 
	
		
			
				|  |  |                  throw new BizException("入职日期不可晚于转正日期");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        BeanUtils.copyProperties(user, teacher);
 | 
	
		
			
				|  |  |          teacher.setUpdateTime(new Date());
 | 
	
		
			
				|  |  |          teacher.setTeacherOrganId(teacher.getOrganId());
 | 
	
		
			
				|  |  |          teacherDao.eduUpdateTeacher(teacher);
 |