【8.1.0】【message】更新一个消息发送时间的填充

pull/60/head
fengshuonan 2024-01-15 13:44:56 +08:00
parent 71dad3e585
commit 54e4fc5012
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}