@GetMapping("/{id}")
public R<Employee> getById(@PathVariable Long id) {
log.info("根据id查询员工信息。。。");
Employee employee = employeeService.getById(id);
return R.success(employee);
}
==============================================
标签:员工,getById,employee,EmployeeController,查询,id From: https://www.cnblogs.com/dahuilang21/p/17235326.html