|
|
@ -248,6 +248,9 @@ public class AlarmServiceImpl extends BaseServiceImpl<AlarmMapper, AlarmEntity> |
|
|
|
.filter(em -> this.isRealIdBanding(realId, em.getNumber())) |
|
|
|
.filter(em -> this.isRealIdBanding(realId, em.getNumber())) |
|
|
|
.map(EmInfoEntity::getNumber) |
|
|
|
.map(EmInfoEntity::getNumber) |
|
|
|
.collect(Collectors.joining(",")); |
|
|
|
.collect(Collectors.joining(",")); |
|
|
|
|
|
|
|
Assert.isTrue(StringUtil.isNotBlank(emCodes) && Func.isNotEmpty(emCodes), () -> { |
|
|
|
|
|
|
|
throw new ServiceException("未获取到设备!"); |
|
|
|
|
|
|
|
}); |
|
|
|
R<List<EmVideoBandingEntity>> videoListR = emVideoClient.getEmBandingVideos(emCodes); |
|
|
|
R<List<EmVideoBandingEntity>> videoListR = emVideoClient.getEmBandingVideos(emCodes); |
|
|
|
Assert.isTrue(videoListR.isSuccess(), () -> { |
|
|
|
Assert.isTrue(videoListR.isSuccess(), () -> { |
|
|
|
throw new ServiceException("获取设备绑定视频列表失败!"); |
|
|
|
throw new ServiceException("获取设备绑定视频列表失败!"); |
|
|
|