|
@@ -138,9 +138,27 @@ public class RealExamCollectionController extends BaseController {
|
|
|
return service.deleteRefTypeSelfExercise();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 考试 考试集合 删除
|
|
|
+ *
|
|
|
+ * @param examCollectionId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@PostMapping("/teacher/ref/{examCollectionId}")
|
|
|
@ApiOperation("[教师]删除一个考试集合包括关联数据")
|
|
|
- public AjaxResult deleteRef(@PathVariable Long examCollectionId) {
|
|
|
+ public AjaxResult deleteRefHttpPost(@PathVariable Long examCollectionId) {
|
|
|
+ return service.deleteRef(examCollectionId);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 训练 考试集合 删除
|
|
|
+ *
|
|
|
+ * @param examCollectionId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @DeleteMapping("/teacher/ref/{examCollectionId}")
|
|
|
+ @ApiOperation("[教师]删除一个考试集合包括关联数据")
|
|
|
+ public AjaxResult deleteRefHttpDelete(@PathVariable Long examCollectionId) {
|
|
|
return service.deleteRef(examCollectionId);
|
|
|
}
|
|
|
}
|