From 19cbfb1f981bf0a4c83c1155b124d76ee15ca22b Mon Sep 17 00:00:00 2001 From: 20918 <2091823062@qq.com> Date: Wed, 17 Apr 2024 14:35:28 +0800 Subject: [PATCH] userleave --- .../ruoyi/web/controller/system/TdLeaveController.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdLeaveController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdLeaveController.java index d0c20f9..2fd9b51 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdLeaveController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdLeaveController.java @@ -136,6 +136,15 @@ public class TdLeaveController extends BaseController return toAjax(tdLeaveService.deleteTdLeaveByIds(ids)); } + @RequiresPermissions("system:leave:examine") + @Log(title = "人员离职", businessType = BusinessType.EXAMINE) + @PostMapping("/examine") + @ResponseBody + public AjaxResult examinesave(TdLeave tdLeave) + { + return toAjax(tdLeaveService.updateTdLeave(tdLeave)); + } + /** * 人员离职审核 */