From 9828f46c632a1ac4cf2ec0a50429436cff8313bf Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Fri, 1 Nov 2024 09:40:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=B4=E4=BF=AE=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/system/system/TdLeaveController.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdLeaveController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdLeaveController.java index 73f9186..1dbfb53 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdLeaveController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdLeaveController.java @@ -146,11 +146,6 @@ public class TdLeaveController extends BaseController @ResponseBody public AjaxResult examinesave(TdLeave tdLeave) { - if (Objects.equals(tdLeave.getLeavestate(),"1")){ - SysUser sysUser = userService.selectUserById(tdLeave.getUserId()); - sysUser.setStatus("1"); - userService.updateUser(sysUser); - } return toAjax(tdLeaveService.updateTdLeave(tdLeave)); }