修复忽略的消息一直未标注未已处理。导致一直重复在处理的问题。

This commit is contained in:
zhouxiunai
2019-05-05 09:24:46 +08:00
parent 614a98bb2d
commit 00fb23949e
@@ -43,7 +43,8 @@ public class MsgHandlerDispatcher {
String subType = msg.getMETA().getSTYP().name();
if(!isNeedHandler(type,subType))
{
logger.error("消息type:{},subtype:{},设置不需要处理!",type,subType);
cminmsgService.updateBatchProcessed(Arrays.asList(cminmsg));//更新为已处理
logger.warn("消息type:{},subtype:{},设置不需要处理!",type,subType);
return HandlerResult.success();
}