Commit c74223b1 authored by yanzg's avatar yanzg

消费者自动创建

parent 7d781458
...@@ -137,8 +137,10 @@ public class MessageServiceImpl implements MessageService { ...@@ -137,8 +137,10 @@ public class MessageServiceImpl implements MessageService {
} else { } else {
MessageVo messageTo = messageDao.load(messageVo.getMessageId(), MessageVo.class); MessageVo messageTo = messageDao.load(messageVo.getMessageId(), MessageVo.class);
isEmpty = messageTo == null; isEmpty = messageTo == null;
if(messageTo != null){
messageVo = messageTo; messageVo = messageTo;
} }
}
// 设置处理次数 // 设置处理次数
messageVo.setHandleCount(messageVo.getHandleCount() + 1); messageVo.setHandleCount(messageVo.getHandleCount() + 1);
......
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