|
|
|
@ -2973,18 +2973,24 @@ public class PatrolTaskController extends BaseController { |
|
|
|
|
|
|
|
Map<String, String> map1 = new HashMap<>(); |
|
|
|
if (!listPointStatus.contains(item.getPointStatus())) { |
|
|
|
if (item.getPointStatus().equals("1")) { |
|
|
|
map1.put("value", "1"); |
|
|
|
map1.put("label", MessageUtils.get("正常")); |
|
|
|
} |
|
|
|
if (StringUtils.isNotEmpty(item.getPointStatus())) { |
|
|
|
if (item.getPointStatus().equals("1")) { |
|
|
|
map1.put("value", "1"); |
|
|
|
map1.put("label", MessageUtils.get("正常")); |
|
|
|
} |
|
|
|
|
|
|
|
if (item.getPointStatus().equals("0")) { |
|
|
|
map1.put("value", "0"); |
|
|
|
map1.put("label", MessageUtils.get("异常")); |
|
|
|
} |
|
|
|
if (item.getPointStatus().equals("0")) { |
|
|
|
map1.put("value", "0"); |
|
|
|
map1.put("label", MessageUtils.get("异常")); |
|
|
|
} |
|
|
|
|
|
|
|
listPointStatus.add(item.getPointStatus()); |
|
|
|
mapList.add(map1); |
|
|
|
listPointStatus.add(item.getPointStatus()); |
|
|
|
mapList.add(map1); |
|
|
|
} else { |
|
|
|
logger.info("GET_PATROL_POINT_NAME taskPatrolId: {} result_analysis point_status is null, item: {}", |
|
|
|
patro.getTaskPatrolledId(), |
|
|
|
item); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!listDeviceSource.contains(item.getDeviceSource())) { |
|
|
|
|