1 2 3 4 5 6 7 8 9 10 11 12 13
| DEBUG [main] - ==> Preparing: select e.employee_id, e.employee_name, ( CASE e.employee_gender WHEN 'M' THEN '男' ELSE '女' END ) as "employee_gender", e.age, e.hire_date, e.department_id, d.department_name, d.location from employee e INNER JOIN department d ON e.department_id = d.department_id DEBUG [main] - ==> Parameters: DEBUG [main] - <== Total: 10 EmployeeVo3 [employee_id=1, employee_name=staff1, employee_gender=男, age=31, hire_date=Wed Sep 01 00:00:00 CST 2021, department_id=1, department=Department [department_id=1, department_name=Retail Department, location=5 floor]] EmployeeVo3 [employee_id=2, employee_name=staff2, employee_gender=女, age=32, hire_date=Thu Sep 02 00:00:00 CST 2021, department_id=2, department=Department [department_id=2, department_name=Operations Management Department, location=6 floor]] EmployeeVo3 [employee_id=3, employee_name=staff3, employee_gender=男, age=33, hire_date=Fri Sep 03 00:00:00 CST 2021, department_id=3, department=Department [department_id=3, department_name=Information technology department, location=9 floor]] EmployeeVo3 [employee_id=4, employee_name=staff4, employee_gender=女, age=34, hire_date=Sat Sep 04 00:00:00 CST 2021, department_id=4, department=Department [department_id=4, department_name=accounting department, location=10 floor]] EmployeeVo3 [employee_id=5, employee_name=staff5, employee_gender=男, age=35, hire_date=Sun Sep 05 00:00:00 CST 2021, department_id=5, department=Department [department_id=5, department_name=Marketing Department, location=12 floor]] EmployeeVo3 [employee_id=6, employee_name=staff6, employee_gender=女, age=36, hire_date=Mon Sep 06 00:00:00 CST 2021, department_id=1, department=Department [department_id=1, department_name=Retail Department, location=5 floor]] EmployeeVo3 [employee_id=7, employee_name=staff7, employee_gender=男, age=37, hire_date=Tue Sep 07 00:00:00 CST 2021, department_id=2, department=Department [department_id=2, department_name=Operations Management Department, location=6 floor]] EmployeeVo3 [employee_id=8, employee_name=staff8, employee_gender=女, age=38, hire_date=Wed Sep 08 00:00:00 CST 2021, department_id=3, department=Department [department_id=3, department_name=Information technology department, location=9 floor]] EmployeeVo3 [employee_id=9, employee_name=staff9, employee_gender=男, age=39, hire_date=Thu Sep 09 00:00:00 CST 2021, department_id=4, department=Department [department_id=4, department_name=accounting department, location=10 floor]] EmployeeVo3 [employee_id=10, employee_name=staff10, employee_gender=女, age=40, hire_date=Fri Sep 10 00:00:00 CST 2021, department_id=5, department=Department [department_id=5, department_name=Marketing Department, location=12 floor]]
|