[6.4.0]FM信息增加消息过滤

This commit is contained in:
xuxinchao
2024-05-06 16:01:07 +08:00
parent 9e5624e78e
commit fc487e77bf

View File

@@ -83,7 +83,11 @@ object CallerFaultManagementStateListenerManager : CallerBase<IMoGoFaultManageme
//判断两个集合重复 true:return
var sameResult = false
list.forEach {
sameResult = fmFilterInfoMsg.cacheFilterList?.contains(it.faultId) == true
if(fmFilterInfoMsg.cacheFilterList?.contains(it.faultId) == true){
if(System.currentTimeMillis()-fmFilterInfoMsg.receiveTime < 10*60*1000){
sameResult = true
}
}
}
if (sameResult) {
return