|
@@ -439,11 +439,12 @@ public class HealthJudgeService {
|
|
|
|
|
|
if (maps.containsKey(po.getWpId())) {
|
|
|
int temp = maps.get(po.getWpId()) + 1;
|
|
|
- if (StringUtils.notEmp(po.getTop1())) {
|
|
|
+ if (temp > 1) {
|
|
|
+ po.setJudgmentDescribe("设备健康情况不良,但推荐等级偏低,还需继续观察!");
|
|
|
+ }else if (StringUtils.notEmp(po.getTop1())) {
|
|
|
po.setJudgmentDescribe("健康报告达到推荐级别,推荐检修!");
|
|
|
maps.put(po.getWpId(), 1);
|
|
|
- }else if (temp > 1) {
|
|
|
- po.setJudgmentDescribe("设备健康情况不良,但推荐等级偏低,还需继续观察!");
|
|
|
+
|
|
|
} else {
|
|
|
po.setJudgmentDescribe("健康报告达到推荐级别,推荐检修!");
|
|
|
}
|