From 10bf499726acea50b695d215f7f07d9e2cde5bec Mon Sep 17 00:00:00 2001 From: huangzhen <867217663@qq.com> Date: 星期三, 13 九月 2023 16:10:42 +0800 Subject: [PATCH] 文件功能批量通过id进行更新 --- ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java index 6e56f53..7f37906 100644 --- a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java +++ b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java @@ -58,7 +58,7 @@ AttachmentInfo attachmentInfo = new AttachmentInfo(); attachmentInfo.setId(id); attachmentInfo.setUpdateTime(new Date()); - //attachmentInfo.setUpdateBy(SecurityUtils.getUsername()); + attachmentInfo.setUpdateBy(SecurityUtils.getUsername()); attachmentInfo.setDelFlag(1); attachmentInfoMapper.updateById(attachmentInfo); } -- Gitblit v1.9.2