|
@@ -57,7 +57,7 @@ public class MajorExamineController extends BaseController {
|
|
|
/**
|
|
|
* 导出考期列表
|
|
|
*/
|
|
|
- @ApiOperation("导出考期列表")
|
|
|
+/* @ApiOperation("导出考期列表")
|
|
|
@PreAuthorize("@ss.hasPermi('course:examine:export')")
|
|
|
@Log(title = "考期", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
@@ -65,7 +65,7 @@ public class MajorExamineController extends BaseController {
|
|
|
List<MajorExamineVo> list = iMajorExamineService.queryList(bo);
|
|
|
ExcelUtil<MajorExamineVo> util = new ExcelUtil<MajorExamineVo>(MajorExamineVo.class);
|
|
|
return util.exportExcel(list, "考期");
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* 获取考期详细信息
|
|
@@ -94,7 +94,7 @@ public class MajorExamineController extends BaseController {
|
|
|
@ApiOperation("修改考期")
|
|
|
@PreAuthorize("@ss.hasPermi('course:examine:edit')")
|
|
|
@Log(title = "考期", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping()
|
|
|
+ @PostMapping("/edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody MajorExamineEditBo bo) {
|
|
|
return toAjax(iMajorExamineService.updateByEditBo(bo) ? 1 : 0);
|
|
|
}
|
|
@@ -102,11 +102,11 @@ public class MajorExamineController extends BaseController {
|
|
|
/**
|
|
|
* 删除考期
|
|
|
*/
|
|
|
- @ApiOperation("删除考期")
|
|
|
+ /* @ApiOperation("删除考期")
|
|
|
@PreAuthorize("@ss.hasPermi('course:examine:remove')")
|
|
|
@Log(title = "考期" , businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult<Void> remove(@PathVariable Long[] ids) {
|
|
|
return toAjax(iMajorExamineService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|