考试申请审核功能修改。

This commit is contained in:
Renpc-kilig 2021-05-05 17:09:32 +08:00
parent e41cd545d8
commit f88f526861
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ public class ExaminationController extends DefaultBaseController {
@GetMapping("sel-exam-user")
public ExaminationDTO selExamUser() throws Exception {
Map<String, Object> params = requestParams();
return examinationService.selExamUser(params);
return examinationService.saveExamUser(params);
}
@ApiOperation(value = "获取剩余监考老师", notes = "获取剩余监考老师接口")

View File

@ -192,7 +192,7 @@ public interface IExaminationService {
* @return
* @throws SearchException
*/
ExaminationDTO selExamUser(Map<String, Object> params) throws Exception;
ExaminationDTO saveExamUser(Map<String, Object> params) throws Exception;
/**
* 获取剩余监考老师列表

View File

@ -182,7 +182,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
}
@Override
public ExaminationDTO selExamUser(Map<String, Object> params) throws Exception {
public ExaminationDTO saveExamUser(Map<String, Object> params) throws Exception {
if(com.alibaba.excel.util.StringUtils.isEmpty(params.get("examId"))) {
throw new SearchException("请传入考试ID");
}