private void fillExecutionCourseDTOWithTeachers(DistributionTeacherServicesByCourseDTO dto, IExecutionCourse executionCourse, IDepartment department) {  for(IProfessorship professorShipEntry: executionCourse.getProfessorships()) { ITeacher teacher = professorShipEntry.getTeacher();  Integer teacherIdInternal = teacher.getIdInternal(); String teacherName = teacher.getPerson().getNome(); Double teacherRequiredHours = StrictMath.ceil(teacher.getHoursLecturedOnExecutionCourse(executionCourse));  boolean teacherBelongsToDepartment = false;  if(teacher.getCurrentWorkingDepartment() == department){ teacherBelongsToDepartment = true; }  dto.addTeacherToExecutionCourse(executionCourse.getIdInternal(), teacherIdInternal, teacherName, teacherRequiredHours.intValue(), teacherBelongsToDepartment); }  }
private void fillExecutionCourseDTOWithTeachers(DistributionTeacherServicesByCourseDTO dto, IExecutionCourse executionCourse, IDepartment department) {  for (IProfessorship professorShipEntry : executionCourse.getProfessorships()) { ITeacher teacher = professorShipEntry.getTeacher();  Integer teacherIdInternal = teacher.getIdInternal(); String teacherName = teacher.getPerson().getNome(); Double teacherRequiredHours = StrictMath.ceil(teacher .getHoursLecturedOnExecutionCourse(executionCourse));  boolean teacherBelongsToDepartment = false;       if (teacher.getLastWorkingDepartment() == department) { teacherBelongsToDepartment = true; }  dto.addTeacherToExecutionCourse(executionCourse.getIdInternal(), teacherIdInternal, teacherName, teacherRequiredHours.intValue(), teacherBelongsToDepartment); }  }
	private void fillExecutionCourseDTOWithTeachers(DistributionTeacherServicesByCourseDTO dto, IExecutionCourse executionCourse, IDepartment department) {			for(IProfessorship professorShipEntry: executionCourse.getProfessorships()) {			ITeacher teacher = professorShipEntry.getTeacher();						Integer teacherIdInternal = teacher.getIdInternal();													String teacherName = teacher.getPerson().getNome();			Double teacherRequiredHours = StrictMath.ceil(teacher.getHoursLecturedOnExecutionCourse(executionCourse));						boolean teacherBelongsToDepartment = false;						if(teacher.getCurrentWorkingDepartment() == department){				teacherBelongsToDepartment = true;			} 														dto.addTeacherToExecutionCourse(executionCourse.getIdInternal(), teacherIdInternal, teacherName, teacherRequiredHours.intValue(), teacherBelongsToDepartment);												}			}