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