|
@@ -132,7 +132,9 @@ public class StaffController extends BaseController {
|
|
@GetMapping("/getStaffDetail")
|
|
@GetMapping("/getStaffDetail")
|
|
@Operation(summary = "根据用户id获取职工详情")
|
|
@Operation(summary = "根据用户id获取职工详情")
|
|
public CommonResult<StaffRecordsDTO> getStaffDetail(@RequestParam("userId") String userId) {
|
|
public CommonResult<StaffRecordsDTO> getStaffDetail(@RequestParam("userId") String userId) {
|
|
- return CommonResult.success(staffService.getStaffResignDetail(userId));
|
|
|
|
|
|
+ StaffRecordsDTO dto = staffService.getStaffResignDetail(userId);
|
|
|
|
+ System.out.println(dto);
|
|
|
|
+ return CommonResult.success(dto);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|