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)); + } + /** * 人员离职审核 */