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("面审官")
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());
}
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;
}

View File

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