|
@@ -375,9 +375,9 @@ public class ExamController extends ControllerSupport {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "按ID删除考试批次", notes = "删除")
|
|
|
- @DeleteMapping("{id}")
|
|
|
- public List<Long> deleteExam(@PathVariable String id) {
|
|
|
- List<Long> examIds = Stream.of(id.split(",")).map(s -> Long.parseLong(s.trim()))
|
|
|
+ @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;
|