|
@@ -21,7 +21,7 @@ public class SysExamSongAccompanimentController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "修改")
|
|
@ApiOperation(value = "修改")
|
|
@PostMapping("/update")
|
|
@PostMapping("/update")
|
|
- @PreAuthorize("@pcs.hasPermissions('sysExamSong/update')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('sysExamSongAccompaniment/update')")
|
|
public Object update(@RequestBody SysExamSongAccompaniment sysExamSongAccompaniment) {
|
|
public Object update(@RequestBody SysExamSongAccompaniment sysExamSongAccompaniment) {
|
|
sysExamSongAccompanimentService.updateAcc(sysExamSongAccompaniment);
|
|
sysExamSongAccompanimentService.updateAcc(sysExamSongAccompaniment);
|
|
return succeed();
|
|
return succeed();
|
|
@@ -29,7 +29,7 @@ public class SysExamSongAccompanimentController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "删除")
|
|
@ApiOperation(value = "删除")
|
|
@PostMapping("/del/{id}")
|
|
@PostMapping("/del/{id}")
|
|
- @PreAuthorize("@pcs.hasPermissions('sysExamSong/del')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('sysExamSongAccompaniment/del')")
|
|
public Object del(@ApiParam(value = "收费类型编号", required = true) @PathVariable("id") Integer id) {
|
|
public Object del(@ApiParam(value = "收费类型编号", required = true) @PathVariable("id") Integer id) {
|
|
sysExamSongAccompanimentService.delete(id);
|
|
sysExamSongAccompanimentService.delete(id);
|
|
return succeed();
|
|
return succeed();
|
|
@@ -37,7 +37,7 @@ public class SysExamSongAccompanimentController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "分页查询")
|
|
@ApiOperation(value = "分页查询")
|
|
@GetMapping("/queryPage")
|
|
@GetMapping("/queryPage")
|
|
- @PreAuthorize("@pcs.hasPermissions('sysExamSong/queryPage')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('sysExamSongAccompaniment/queryPage')")
|
|
public Object queryPage(SysExamSongQueryInfo queryInfo) {
|
|
public Object queryPage(SysExamSongQueryInfo queryInfo) {
|
|
return succeed(sysExamSongAccompanimentService.queryPage(queryInfo));
|
|
return succeed(sysExamSongAccompanimentService.queryPage(queryInfo));
|
|
}
|
|
}
|