This commit is contained in:
zhangchenbiao
2024-04-15 10:04:20 +08:00
parent f33ae0c30e
commit 44d9f6f95a
3 changed files with 5 additions and 1 deletions

View File

@@ -24,4 +24,7 @@ public class ModifyInterviewerRequest {
@ApiModelProperty("面审官") @ApiModelProperty("面审官")
private String interviewerUserId; private String interviewerUserId;
@ApiModelProperty(value = "当前操作人", hidden = true)
private String operatorUserId;
} }

View File

@@ -237,7 +237,7 @@ public class LineInterviewServiceImpl extends LineFlowService implements LineInt
updateLineInfo.setSecondInterviewer(request.getInterviewerUserId()); updateLineInfo.setSecondInterviewer(request.getInterviewerUserId());
} }
lineInfoDAO.updateLineInfo(updateLineInfo); lineInfoDAO.updateLineInfo(updateLineInfo);
transferLogService.addLog(lineInfo, interviewInfo.getInterviewerUserId(), request.getInterviewerUserId(), OperationLogTypeEnum.ENTRUST_INTERVIEW); transferLogService.addLog(lineInfo, request.getOperatorUserId(), request.getInterviewerUserId(), OperationLogTypeEnum.ENTRUST_INTERVIEW);
return true; return true;
} }

View File

@@ -62,6 +62,7 @@ public class PCLineInterviewController {
@ApiOperation("修改面试官") @ApiOperation("修改面试官")
@PostMapping("/modify") @PostMapping("/modify")
public ResponseResult<Boolean> modifyInterviewer(@RequestBody @Validated ModifyInterviewerRequest request) { public ResponseResult<Boolean> modifyInterviewer(@RequestBody @Validated ModifyInterviewerRequest request) {
request.setOperatorUserId(CurrentUserHolder.getUserId());
return ResponseResult.success(lineInterviewService.modifyInterviewer(request)); return ResponseResult.success(lineInterviewService.modifyInterviewer(request));
} }