|
@@ -367,22 +367,6 @@ public class ExamController extends ControllerSupport {
|
|
|
return examService.getOrgProperty(examId, accessUser.getOrgId(), key);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 方法注释
|
|
|
- *
|
|
|
- * @author WANGWEI
|
|
|
- * @param id
|
|
|
- * @return
|
|
|
- */
|
|
|
- @ApiOperation(value = "按ID删除考试批次", notes = "删除")
|
|
|
- @DeleteMapping("{ids}")
|
|
|
- public List<Long> deleteExam(@PathVariable String ids) {
|
|
|
- List<Long> examIds = Stream.of(ids.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
- .collect(Collectors.toList());
|
|
|
- examService.deleteExam(examIds);
|
|
|
- return examIds;
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation(value = "启用考试", notes = "启用考试")
|
|
|
@PutMapping("enable/{ids}")
|
|
|
public void enableUser(@PathVariable String ids) {
|