修复查询历史录像无记录时报错问题
parent
c662a53098
commit
2177e9dbf9
|
@ -94,8 +94,7 @@ public class RecordInfoResponseMessageHandler extends SIPRequestProcessorParent
|
||||||
recordInfo.setCount(sumNum);
|
recordInfo.setCount(sumNum);
|
||||||
eventPublisher.recordEndEventPush(recordInfo);
|
eventPublisher.recordEndEventPush(recordInfo);
|
||||||
releaseRequest(device.getDeviceId(), sn,recordInfo);
|
releaseRequest(device.getDeviceId(), sn,recordInfo);
|
||||||
} else
|
} else {
|
||||||
{
|
|
||||||
Iterator<Element> recordListIterator = recordListElement.elementIterator();
|
Iterator<Element> recordListIterator = recordListElement.elementIterator();
|
||||||
if (recordListIterator != null) {
|
if (recordListIterator != null) {
|
||||||
List<RecordItem> recordList = new ArrayList<>();
|
List<RecordItem> recordList = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in New Issue