|  | @@ -23,6 +23,7 @@ import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  |  import org.apache.commons.collections.ListUtils;
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  | +import org.codehaus.jackson.map.util.BeanUtil;
 | 
	
		
			
				|  |  |  import org.slf4j.Logger;
 | 
	
		
			
				|  |  |  import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  |  import org.springframework.beans.BeanUtils;
 | 
	
	
		
			
				|  | @@ -2996,7 +2997,13 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  			List<CourseScheduleEndDto> results = new ArrayList<>();
 | 
	
		
			
				|  |  |  			for (CourseSchedule oldCours : oldCourses) {
 | 
	
		
			
				|  |  |  				CourseScheduleEndDto courseEnd = new CourseScheduleEndDto();
 | 
	
		
			
				|  |  | -				BeanUtils.copyProperties(oldCours, courseEnd);
 | 
	
		
			
				|  |  | +				try {
 | 
	
		
			
				|  |  | +					org.apache.commons.beanutils.BeanUtils.copyProperties(courseEnd, oldCours);
 | 
	
		
			
				|  |  | +				} catch (IllegalAccessException e) {
 | 
	
		
			
				|  |  | +					e.printStackTrace();
 | 
	
		
			
				|  |  | +				} catch (InvocationTargetException e) {
 | 
	
		
			
				|  |  | +					e.printStackTrace();
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  |  				courseEnd.setTeacherName(idNameMap.get(oldCours.getActualTeacherId()));
 | 
	
		
			
				|  |  |  				if(courseTeachTypeTeacherIdsMap.containsKey(oldCours.getId())){
 | 
	
		
			
				|  |  |  					Set<Integer> teacherIds = courseTeachTypeTeacherIdsMap.get(oldCours.getId());
 |