|
@@ -60,7 +60,7 @@ public class BaseDeviceResumeController extends BaseController {
|
|
|
public static List<BaseDeviceResumeVo> removeAdjacentFaults(List<BaseDeviceResumeVo> records) {
|
|
|
List<BaseDeviceResumeVo> resultList = new ArrayList<>();
|
|
|
for (int i = 0; i < records.size(); i++) {
|
|
|
- if (i == 0 || !records.get(i).getIsDisable().equals(records.get(i - 1).getIsDisable()) || "正常".equals(records.get(i).getIsDisable())) {
|
|
|
+ if (i == 0 || !records.get(i).getIsDisable().equals(records.get(i - 1).getIsDisable()) || "设备正常".equals(records.get(i).getIsDisable())) {
|
|
|
resultList.add(records.get(i));
|
|
|
}
|
|
|
}
|