面试稽核操作update
This commit is contained in:
@@ -6,6 +6,7 @@ import com.cool.store.exception.ApiException;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.InterviewInspectionService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
@@ -26,12 +27,14 @@ public class InterviewInspectionController {
|
||||
private InterviewInspectionService interviewInspectionService;
|
||||
|
||||
@PostMapping("/submission")
|
||||
@ApiOperation("提交稽核结果")
|
||||
public ResponseResult interviewInspectionSubmit(@RequestBody InspectionSubmissionDTO dto) {
|
||||
interviewInspectionService.submit(dto);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@PostMapping("/revocation")
|
||||
@ApiOperation("撤销稽核结果")
|
||||
public ResponseResult interviewInspectionRevoke(@RequestBody InspectionRevocationDTO dto) throws ApiException {
|
||||
interviewInspectionService.revoke(dto);
|
||||
return ResponseResult.success();
|
||||
|
||||
Reference in New Issue
Block a user