From 2735efaf7df2ad27fe97adb39a053a5de26a84ea Mon Sep 17 00:00:00 2001
From: huangzhen <867217663@qq.com>
Date: 星期四, 28 九月 2023 11:00:07 +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 7c571ec..d3d0329 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