EmployeeController类的根据id查询员工信息getById方法
@GetMapping("/{id}")
public R<Employee> getById(@PathVariable Long id) {
log.info("根据id查询员工信息。。。");
Employee employee = employeeService.getById(id);
return R.success(employee);
}
==============================================