add getDepartmentById fix #47