From b877447925005df964217e96a407870df9e1c0bf Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Thu, 11 Jul 2024 14:54:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AF=BC=E5=85=A5=E6=B5=81=E9=87=8A?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/system/SysUserExamineController.java | 2 +- .../ruoyi/system/service/ISysUserService.java | 10 ++++++++++ .../system/service/impl/SysUserServiceImpl.java | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserExamineController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserExamineController.java index 8e0f543..f3dbd97 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserExamineController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserExamineController.java @@ -90,7 +90,7 @@ public class SysUserExamineController extends BaseController { sysUser.setExamine(examine); sysUser.setExaminedate(examinedate); sysUser.setExamineuser(examineuser); - return toAjax(userService.updateUser(sysUser)); + return toAjax(userService.updateUserAudit(sysUser)); } /** diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java index 9b2ba9f..f86a733 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java @@ -121,6 +121,16 @@ public interface ISysUserService extends IService */ public int updateUser(SysUser user); + + + /** + * 保存用户信息 + * + * @param user 用户信息 + * @return 结果 + */ + public int updateUserAudit(SysUser user); + /** * 修改用户详细信息 * diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java index 1a88c4b..aed3c9c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java @@ -265,6 +265,22 @@ public class SysUserServiceImpl extends ServiceImpl imple return userMapper.updateUser(user); } + + /** + * 修改保存用户信息 + * + * @param user 用户信息 + * @return 结果 + */ + @Override + @Transactional + public int updateUserAudit(SysUser user) + { + + return userMapper.updateUser(user); + } + + /** * 修改用户个人详细信息 *