|
|
@@ -50,7 +50,6 @@ public class UseRecordController extends BaseController<UseRecord> {
|
|
|
/**
|
|
|
* 查询使用记录列表(学生端)
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = PerPrefix.BOTTLE_USERECORD + PerFun.LIST)
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation(value = "查询使用记录列表")
|
|
|
public TableDataInfo<UseRecordVo> list(UseRecord useRecord) {
|
|
|
@@ -150,7 +149,6 @@ public class UseRecordController extends BaseController<UseRecord> {
|
|
|
/**
|
|
|
* 管理端端获取使用记录详细信息(学生端)
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = PerPrefix.BOTTLE_USERECORD + PerFun.QUERY)
|
|
|
@ApiOperation(value = "管理端端获取使用记录详细信息")
|
|
|
@GetMapping(value = "/bottle/{id}")
|
|
|
public ResultData<WebUseRecordVo> getBottleInfo(@PathVariable("id") Long id) {
|
|
|
@@ -239,7 +237,6 @@ public class UseRecordController extends BaseController<UseRecord> {
|
|
|
* 4:气瓶正在使用中
|
|
|
*/
|
|
|
@ApiOperation(value = "领用气瓶-学生端")
|
|
|
- @PreAuthorize(hasPermi = PerPrefix.BOTTLE_USERECORDADMIN + PerFun.ADD)
|
|
|
@Log(title = "领用气瓶-学生端", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/student")
|
|
|
public ResultData<Integer> addStudent(@RequestBody UseRecordDto recordDto) {
|
|
|
@@ -250,7 +247,6 @@ public class UseRecordController extends BaseController<UseRecord> {
|
|
|
* 归还登记-学生端
|
|
|
*/
|
|
|
@ApiOperation(value = "归还登记-学生端")
|
|
|
- @PreAuthorize(hasPermi = PerPrefix.BOTTLE_USERECORDADMIN + PerFun.EDIT)
|
|
|
@Log(title = "归还登记-学生端", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/editStudent")
|
|
|
public ResultData<Boolean> editStudent(@RequestBody UseRecord useRecord) {
|
|
|
@@ -260,7 +256,6 @@ public class UseRecordController extends BaseController<UseRecord> {
|
|
|
/***
|
|
|
* 查询使用记录(学生端)
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = PerPrefix.BOTTLE_USERECORD + PerFun.LISTDETAIL)
|
|
|
@ApiOperation(value = "查询使用记录")
|
|
|
@GetMapping(value = "/getUseDetails")
|
|
|
public TableDataInfo<UseRecord> getUseDetails(UseRecord useRecord) {
|