diff --git a/afterburner-java/src/main/java/io/perfana/afterburner/mybatis/EmployeeMapper.java b/afterburner-java/src/main/java/io/perfana/afterburner/mybatis/EmployeeMapper.java index acf4d5d..5ce73b3 100644 --- a/afterburner-java/src/main/java/io/perfana/afterburner/mybatis/EmployeeMapper.java +++ b/afterburner-java/src/main/java/io/perfana/afterburner/mybatis/EmployeeMapper.java @@ -43,7 +43,7 @@ public interface EmployeeMapper { " JOIN employees em ON dm.emp_no = em.emp_no" + " WHERE em.last_name = #{lastName}" + " AND dm.to_date = (SELECT MAX(to_date) FROM dept_manager WHERE dept_no = dm.dept_no) " + - " AND s.to_date = (SELECT MAX(to_date) FROM salaries WHERE emp_no = em.emp_no)) limit 200;" + ") limit 200;" ) List findEmployeesByManagerLastName(@Param("lastName") String lastName);