puzhibing
2025-07-25 b83a7d0a9249e74ee337cc5ef2a97d1a100e08fe
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/staff/SysStaffServiceImpl.java
@@ -176,6 +176,7 @@
            sysUser.setNickName(mgtStaffEditDto.getStaffName());
            sysUser.setAvatar(mgtStaffEditDto.getStaffAvatar());
            sysUser.setEmail(mgtStaffEditDto.getStaffEmail());
            sysUser.setDeptId(mgtStaffEditDto.getDeptId());
            sysUserService.updateOnlyUser(sysUser);
        }else{
            if(sysStaffSame!=null){