错误一:
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 20' at line 3
原因:
resultMap里的department_id的参数类型应该为integer,而不是varchar