|
|
@@ -586,7 +586,6 @@ public class RuleEngine {
|
|
|
}
|
|
|
|
|
|
public Result dealMidInterfaceEngin(String intefName, MidIncidentWarningVO midIncidentWarningVO, String ipStr) {
|
|
|
- midIncidentWarningVOThreadLocal.set(midIncidentWarningVO);
|
|
|
JSONObject sendJson = new JSONObject();
|
|
|
try {
|
|
|
List<RuleAttr> ruleAttrList = interfRuleAttrList.get(intefName);
|
|
|
@@ -648,8 +647,6 @@ public class RuleEngine {
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
log.error(e.getMessage(), e);
|
|
|
- } finally {
|
|
|
- midIncidentWarningVOThreadLocal.remove();
|
|
|
}
|
|
|
|
|
|
return Result.ok(sendJson);
|