update 更改 工作流 测试用例接口路径

This commit is contained in:
疯狂的狮子Li
2024-05-31 11:25:12 +08:00
parent 9855f60f1f
commit 0f9936a542
5 changed files with 34 additions and 34 deletions

View File

@ -40,7 +40,7 @@ public class TestLeaveController extends BaseController {
/**
* 查询请假列表
*/
@SaCheckPermission("demo:leave:list")
@SaCheckPermission("workflow:leave:list")
@GetMapping("/list")
public TableDataInfo<TestLeaveVo> list(TestLeaveBo bo, PageQuery pageQuery) {
return testLeaveService.queryPageList(bo, pageQuery);
@ -49,7 +49,7 @@ public class TestLeaveController extends BaseController {
/**
* 导出请假列表
*/
@SaCheckPermission("demo:leave:export")
@SaCheckPermission("workflow:leave:export")
@Log(title = "请假", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(TestLeaveBo bo, HttpServletResponse response) {
@ -62,7 +62,7 @@ public class TestLeaveController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("demo:leave:query")
@SaCheckPermission("workflow:leave:query")
@GetMapping("/{id}")
public R<TestLeaveVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable Long id) {
@ -72,7 +72,7 @@ public class TestLeaveController extends BaseController {
/**
* 新增请假
*/
@SaCheckPermission("demo:leave:add")
@SaCheckPermission("workflow:leave:add")
@Log(title = "请假", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@ -83,7 +83,7 @@ public class TestLeaveController extends BaseController {
/**
* 修改请假
*/
@SaCheckPermission("demo:leave:edit")
@SaCheckPermission("workflow:leave:edit")
@Log(title = "请假", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@ -96,7 +96,7 @@ public class TestLeaveController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("demo:leave:remove")
@SaCheckPermission("workflow:leave:remove")
@Log(title = "请假", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")