|
|
@@ -57,7 +57,7 @@ public class ExamArrangementController extends BaseController {
|
|
|
/**
|
|
|
* 导出考试安排,包含考试指引列表
|
|
|
*/
|
|
|
- @ApiOperation("导出考试安排,包含考试指引列表")
|
|
|
+ /* @ApiOperation("导出考试安排,包含考试指引列表")
|
|
|
@PreAuthorize("@ss.hasPermi('modules.exam:arrangement:export')")
|
|
|
@Log(title = "考试安排,包含考试指引", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
@@ -65,7 +65,7 @@ public class ExamArrangementController extends BaseController {
|
|
|
List<ExamArrangementVo> list = iExamArrangementService.queryList(bo);
|
|
|
ExcelUtil<ExamArrangementVo> util = new ExcelUtil<ExamArrangementVo>(ExamArrangementVo.class);
|
|
|
return util.exportExcel(list, "考试安排,包含考试指引");
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* 获取考试安排,包含考试指引详细信息
|
|
|
@@ -83,7 +83,7 @@ public class ExamArrangementController extends BaseController {
|
|
|
@ApiOperation("新增考试安排,包含考试指引")
|
|
|
@PreAuthorize("@ss.hasPermi('modules.exam:arrangement:add')")
|
|
|
@Log(title = "考试安排,包含考试指引", businessType = BusinessType.INSERT)
|
|
|
- @PostMapping()
|
|
|
+ @PostMapping("/addExam")
|
|
|
public AjaxResult<Void> add(@RequestBody ExamArrangementAddBo bo) {
|
|
|
return toAjax(iExamArrangementService.insertByAddBo(bo) ? 1 : 0);
|
|
|
}
|
|
|
@@ -94,7 +94,7 @@ public class ExamArrangementController extends BaseController {
|
|
|
@ApiOperation("修改考试安排,包含考试指引")
|
|
|
@PreAuthorize("@ss.hasPermi('modules.exam:arrangement:edit')")
|
|
|
@Log(title = "考试安排,包含考试指引", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping()
|
|
|
+ @PostMapping("/editExam")
|
|
|
public AjaxResult<Void> edit(@RequestBody ExamArrangementEditBo bo) {
|
|
|
return toAjax(iExamArrangementService.updateByEditBo(bo) ? 1 : 0);
|
|
|
}
|
|
|
@@ -105,7 +105,7 @@ public class ExamArrangementController extends BaseController {
|
|
|
@ApiOperation("删除考试安排,包含考试指引")
|
|
|
@PreAuthorize("@ss.hasPermi('modules.exam:arrangement:remove')")
|
|
|
@Log(title = "考试安排,包含考试指引" , businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{ids}")
|
|
|
+ @PostMapping("/{ids}")
|
|
|
public AjaxResult<Void> remove(@PathVariable Long[] ids) {
|
|
|
return toAjax(iExamArrangementService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
|
|
|
}
|