...
|
...
|
@@ -240,9 +240,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { |
|
|
public int validateNoteAndFill(MessageNote messageNote) throws Exception
|
|
|
{
|
|
|
if (validateNote(messageNote)) {
|
|
|
// 填充,用户名称
|
|
|
UserInfo userInfo = userInfoService.selectByPrimaryKey(messageNote.getUserId());
|
|
|
messageNote.setUsername(userInfo.getUsername());
|
|
|
// 填充,服务器名称
|
|
|
BusServer busServer = busServerService.selectByPrimaryKey(messageNote.getServerId());
|
|
|
messageNote.setServerName(busServer.getServerName());
|
...
|
...
|
@@ -251,7 +248,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { |
|
|
// 发送到MQ服务器
|
|
|
XmlData xmlData = XmlData.builder()
|
|
|
.sender(note.getUsername())
|
|
|
.password(userInfo.getPassword())
|
|
|
.sendContent(note.getAlias_sendContent())
|
|
|
.sendDateTime(note.getSendTime())
|
|
|
.exchangeName(note.getExchangeName())
|
...
|
...
|
|