From 54e4fc501232c84ef7a48a606db9025dda18b8aa Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Mon, 15 Jan 2024 13:44:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.1.0=E3=80=91=E3=80=90message?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=AA=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4=E7=9A=84=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kernel/sys/modular/message/factory/MessageFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/message/factory/MessageFactory.java b/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/message/factory/MessageFactory.java index e8331339d..788a2c57f 100644 --- a/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/message/factory/MessageFactory.java +++ b/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/message/factory/MessageFactory.java @@ -6,6 +6,7 @@ import cn.stylefeng.roses.kernel.sys.api.pojo.message.MessageSendDTO; import cn.stylefeng.roses.kernel.sys.modular.message.entity.SysMessage; import java.util.ArrayList; +import java.util.Date; import java.util.List; import java.util.Set; @@ -48,6 +49,7 @@ public class MessageFactory { sysMessage.setBusinessId(messageSendDTO.getBusinessId()); sysMessage.setBusinessType(messageSendDTO.getBusinessType()); sysMessage.setReadFlag(ReadFlagEnum.NO_READ.getCode()); + sysMessage.setMessageSendTime(new Date()); sysMessages.add(sysMessage); }