1、修改测站改基站后,测站告警仍存在的bug

This commit is contained in:
weidong 2024-04-30 18:35:51 +08:00
parent f7b1b2cf56
commit 37ed7e8e66

View File

@ -196,9 +196,11 @@ public class WarningServiceImpl implements WarningService {
if(status != null) {
boolean isUpdated = false;
// 清除b562告警
if((status.getWarningcode() & (WarningCfg.TYPE_NO_FIXED_RESULT
|WarningCfg.TYPE_LESS_B562)) !=0 ) {
if((status.getWarningcode() & WarningCfg.TYPE_NO_FIXED_RESULT) !=0 ) {
status.setWarningcode(status.getWarningcode() & ~WarningCfg.TYPE_NO_FIXED_RESULT);
isUpdated = true;
}
if((status.getWarningcode() & WarningCfg.TYPE_LESS_B562) !=0 ) {
status.setWarningcode(status.getWarningcode() & ~WarningCfg.TYPE_LESS_B562);
isUpdated = true;
}