|
@@ -32,7 +32,7 @@ public class TbCctvMonitoringService {
|
|
|
|
|
|
List<TbStrmIceSvrInfo> iceSvrList = strmIceSvrInfoRepo.findAll();
|
|
|
Map<String, TbStrmIceSvrInfo> map = iceSvrList.stream()
|
|
|
- .collect(Collectors.toMap(TbStrmIceSvrInfo::getSvrId, dto -> dto));
|
|
|
+ .collect(Collectors.toMap(TbStrmIceSvrInfo::getSvrIp, dto -> dto));
|
|
|
|
|
|
result.forEach(obj -> {
|
|
|
TbStrmIceSvrInfo webIceSvr = map.get(obj.getWebRtcSvrIp());
|