录像回放 单次上报条数改为 500

This commit is contained in:
shikong 2023-09-27 10:26:20 +08:00
parent a208bc5433
commit 8634c8ffa4

View File

@ -82,7 +82,7 @@ public class RecordInfoRequestProcessor {
recordInfoItemDTO.setDeviceId(device.getGbChannelId());
FromHeader fromHeader = request.getFromHeader();
ListUtil.partition(recordInfoItemDTOList,2).forEach(recordList->{
ListUtil.partition(recordInfoItemDTOList,500).forEach(recordList->{
RecordInfoResponseDTO recordInfoResponseDTO = new RecordInfoResponseDTO();
recordInfoResponseDTO.setSn(recordInfoRequestDTO.getSn());
recordInfoResponseDTO.setDeviceId(device.getGbChannelId());