正在显示
2 个修改的文件
包含
0 行增加
和
5 行删除
| @@ -240,9 +240,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { | @@ -240,9 +240,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { | ||
| 240 | public int validateNoteAndFill(MessageNote messageNote) throws Exception | 240 | public int validateNoteAndFill(MessageNote messageNote) throws Exception |
| 241 | { | 241 | { |
| 242 | if (validateNote(messageNote)) { | 242 | if (validateNote(messageNote)) { |
| 243 | - // 填充,用户名称 | ||
| 244 | - UserInfo userInfo = userInfoService.selectByPrimaryKey(messageNote.getUserId()); | ||
| 245 | - messageNote.setUsername(userInfo.getUsername()); | ||
| 246 | // 填充,服务器名称 | 243 | // 填充,服务器名称 |
| 247 | BusServer busServer = busServerService.selectByPrimaryKey(messageNote.getServerId()); | 244 | BusServer busServer = busServerService.selectByPrimaryKey(messageNote.getServerId()); |
| 248 | messageNote.setServerName(busServer.getServerName()); | 245 | messageNote.setServerName(busServer.getServerName()); |
| @@ -251,7 +248,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { | @@ -251,7 +248,6 @@ public class MessageNoteServiceImpl implements MessageNoteService { | ||
| 251 | // 发送到MQ服务器 | 248 | // 发送到MQ服务器 |
| 252 | XmlData xmlData = XmlData.builder() | 249 | XmlData xmlData = XmlData.builder() |
| 253 | .sender(note.getUsername()) | 250 | .sender(note.getUsername()) |
| 254 | - .password(userInfo.getPassword()) | ||
| 255 | .sendContent(note.getAlias_sendContent()) | 251 | .sendContent(note.getAlias_sendContent()) |
| 256 | .sendDateTime(note.getSendTime()) | 252 | .sendDateTime(note.getSendTime()) |
| 257 | .exchangeName(note.getExchangeName()) | 253 | .exchangeName(note.getExchangeName()) |
-
请 注册 或 登录 后发表评论