考试申请审核功能修改。
This commit is contained in:
parent
e41cd545d8
commit
f88f526861
@ -113,7 +113,7 @@ public class ExaminationController extends DefaultBaseController {
|
|||||||
@GetMapping("sel-exam-user")
|
@GetMapping("sel-exam-user")
|
||||||
public ExaminationDTO selExamUser() throws Exception {
|
public ExaminationDTO selExamUser() throws Exception {
|
||||||
Map<String, Object> params = requestParams();
|
Map<String, Object> params = requestParams();
|
||||||
return examinationService.selExamUser(params);
|
return examinationService.saveExamUser(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "获取剩余监考老师", notes = "获取剩余监考老师接口")
|
@ApiOperation(value = "获取剩余监考老师", notes = "获取剩余监考老师接口")
|
||||||
|
@ -192,7 +192,7 @@ public interface IExaminationService {
|
|||||||
* @return
|
* @return
|
||||||
* @throws SearchException
|
* @throws SearchException
|
||||||
*/
|
*/
|
||||||
ExaminationDTO selExamUser(Map<String, Object> params) throws Exception;
|
ExaminationDTO saveExamUser(Map<String, Object> params) throws Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取剩余监考老师列表
|
* 获取剩余监考老师列表
|
||||||
|
@ -182,7 +182,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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"))) {
|
if(com.alibaba.excel.util.StringUtils.isEmpty(params.get("examId"))) {
|
||||||
throw new SearchException("请传入考试ID");
|
throw new SearchException("请传入考试ID");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user