test:()修改故障
parent
d7fa72be80
commit
b266460a0a
|
@ -39,7 +39,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询车辆故障码管理列表
|
* 查询车辆故障码管理列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:list")
|
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@Operation(summary = "查询车辆故障码管理列表",description ="查询车辆故障码管理列表")
|
@Operation(summary = "查询车辆故障码管理列表",description ="查询车辆故障码管理列表")
|
||||||
public Result<TableDataInfo<SysCarFault>> list(SysCarFault sysCarFault)
|
public Result<TableDataInfo<SysCarFault>> list(SysCarFault sysCarFault)
|
||||||
|
@ -54,7 +54,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 导出车辆故障码管理列表
|
* 导出车辆故障码管理列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:export")
|
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
@Operation(summary = "导出车辆故障码管理列表",description = "导出车辆故障码管理列表")
|
@Operation(summary = "导出车辆故障码管理列表",description = "导出车辆故障码管理列表")
|
||||||
public void export(HttpServletResponse response, SysCarFault sysCarFault)
|
public void export(HttpServletResponse response, SysCarFault sysCarFault)
|
||||||
|
@ -67,7 +67,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取车辆故障码管理详细信息
|
* 获取车辆故障码管理详细信息
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:query")
|
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@Operation(summary = "获取车辆故障码管理详细信息")
|
@Operation(summary = "获取车辆故障码管理详细信息")
|
||||||
public Result<List<SysCarFault>> getInfo(@PathVariable("id") Long id)
|
public Result<List<SysCarFault>> getInfo(@PathVariable("id") Long id)
|
||||||
|
@ -78,7 +78,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 新增车辆故障码管理
|
* 新增车辆故障码管理
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:add")
|
|
||||||
@PostMapping
|
@PostMapping
|
||||||
@Operation(summary = "新增车辆故障码管理")
|
@Operation(summary = "新增车辆故障码管理")
|
||||||
public Result<Integer> add(
|
public Result<Integer> add(
|
||||||
|
@ -97,7 +97,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 修改车辆故障码管理
|
* 修改车辆故障码管理
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:edit")
|
|
||||||
@PutMapping
|
@PutMapping
|
||||||
@Operation(summary = "修改车辆故障码管理")
|
@Operation(summary = "修改车辆故障码管理")
|
||||||
public Result<Integer> edit(
|
public Result<Integer> edit(
|
||||||
|
@ -111,7 +111,7 @@ public class SysCarFaultController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 删除车辆故障码管理
|
* 删除车辆故障码管理
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("breakdown:breakdown:remove")
|
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
@Operation(summary = "删除车辆故障码管理")
|
@Operation(summary = "删除车辆故障码管理")
|
||||||
public Result<Integer> remove(@PathVariable("ids") Long[] ids)
|
public Result<Integer> remove(@PathVariable("ids") Long[] ids)
|
||||||
|
|
Loading…
Reference in New Issue