From dca26f239eb286ff4333132f797d5cff39fb926e Mon Sep 17 00:00:00 2001
From: huangzhen <867217663@qq.com>
Date: 星期三, 13 九月 2023 16:07:25 +0800
Subject: [PATCH] 文件增加批量保存功能

---
 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