From f88f526861f993ce04f67a03b54ad5f14fe8efae Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Wed, 5 May 2021 17:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=94=B3=E8=AF=B7=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/api/examination/ExaminationController.java | 2 +- .../cn/com/tenlion/service/examination/IExaminationService.java | 2 +- .../service/examination/impl/ExaminationServiceImpl.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cn/com/tenlion/controller/api/examination/ExaminationController.java b/src/main/java/cn/com/tenlion/controller/api/examination/ExaminationController.java index 962419d..2468ba0 100644 --- a/src/main/java/cn/com/tenlion/controller/api/examination/ExaminationController.java +++ b/src/main/java/cn/com/tenlion/controller/api/examination/ExaminationController.java @@ -113,7 +113,7 @@ public class ExaminationController extends DefaultBaseController { @GetMapping("sel-exam-user") public ExaminationDTO selExamUser() throws Exception { Map params = requestParams(); - return examinationService.selExamUser(params); + return examinationService.saveExamUser(params); } @ApiOperation(value = "获取剩余监考老师", notes = "获取剩余监考老师接口") diff --git a/src/main/java/cn/com/tenlion/service/examination/IExaminationService.java b/src/main/java/cn/com/tenlion/service/examination/IExaminationService.java index 850467f..3592dae 100644 --- a/src/main/java/cn/com/tenlion/service/examination/IExaminationService.java +++ b/src/main/java/cn/com/tenlion/service/examination/IExaminationService.java @@ -192,7 +192,7 @@ public interface IExaminationService { * @return * @throws SearchException */ - ExaminationDTO selExamUser(Map params) throws Exception; + ExaminationDTO saveExamUser(Map params) throws Exception; /** * 获取剩余监考老师列表 diff --git a/src/main/java/cn/com/tenlion/service/examination/impl/ExaminationServiceImpl.java b/src/main/java/cn/com/tenlion/service/examination/impl/ExaminationServiceImpl.java index ad864e1..2f8e5ea 100644 --- a/src/main/java/cn/com/tenlion/service/examination/impl/ExaminationServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examination/impl/ExaminationServiceImpl.java @@ -182,7 +182,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami } @Override - public ExaminationDTO selExamUser(Map params) throws Exception { + public ExaminationDTO saveExamUser(Map params) throws Exception { if(com.alibaba.excel.util.StringUtils.isEmpty(params.get("examId"))) { throw new SearchException("请传入考试ID"); }