mirror of https://gitee.com/stylefeng/roses
【8.1.0】【message】更新消息发送时间
parent
126f40f94c
commit
d1ccf4547e
|
@ -3,6 +3,8 @@ package cn.stylefeng.roses.kernel.sys.api.pojo.message;
|
|||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发送到ws时候用的传输bean
|
||||
*
|
||||
|
@ -71,4 +73,10 @@ public class MessageSendToSocketDTO {
|
|||
@ChineseDescription("业务类型(根据业务id和业务类型可以确定业务数据)")
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 消息发送时间
|
||||
*/
|
||||
@ChineseDescription("消息发送时间")
|
||||
private Date messageSendTime;
|
||||
|
||||
}
|
||||
|
|
|
@ -83,6 +83,7 @@ public class MessageFactory {
|
|||
dto.setPriorityLevel(sysMessage.getPriorityLevel());
|
||||
dto.setBusinessId(sysMessage.getBusinessId());
|
||||
dto.setBusinessType(sysMessage.getBusinessType());
|
||||
dto.setMessageSendTime(sysMessage.getMessageSendTime());
|
||||
messageSendToSocketDTOS.add(dto);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue