Commit 9c450814 by 阳浪

消息优化

parent a78932ea
...@@ -104,13 +104,13 @@ public class ExamEvenSendMessage { ...@@ -104,13 +104,13 @@ public class ExamEvenSendMessage {
if (remindVo.getHasDeleted()) { if (remindVo.getHasDeleted()) {
vo.setHasDeleted(remindVo.getHasDeleted()); vo.setHasDeleted(remindVo.getHasDeleted());
publicSendMessageClient.processBizEvent(new EventWrapper<MessageRemindVo>(null, vo)); publicSendMessageClient.processBizEvent(vo);
} else { } else {
//修改考试的状业务态 //修改考试的状业务态
if (remindVo.getTaskStatusUpdate()) { if (remindVo.getTaskStatusUpdate()) {
//1 为消息业务可发送状态 0 则不行 //1 为消息业务可发送状态 0 则不行
vo.setTaskStatusUpdate(remindVo.getTaskStatusUpdate()); vo.setTaskStatusUpdate(remindVo.getTaskStatusUpdate());
publicSendMessageClient.processBizEvent(new EventWrapper<MessageRemindVo>(null, vo)); publicSendMessageClient.processBizEvent(vo);
logger.info("发送修改业务状态消息成功====================="); logger.info("发送修改业务状态消息成功=====================");
return; return;
} }
...@@ -142,7 +142,7 @@ public class ExamEvenSendMessage { ...@@ -142,7 +142,7 @@ public class ExamEvenSendMessage {
return; return;
} }
try { try {
publicSendMessageClient.processBizEvent(new EventWrapper<MessageRemindVo>(null, vo)); publicSendMessageClient.processBizEvent(vo);
logger.info("发送消息成功====================="); logger.info("发送消息成功=====================");
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment