历史录像回复 deviceId 修正为 channelId

This commit is contained in:
shikong 2023-09-15 08:55:04 +08:00
parent 6354ab343c
commit afd9e47223

View File

@ -62,12 +62,12 @@ public class RecordInfoRequestProcessor {
recordInfoItemDTO.setStartTime(startTime);
recordInfoItemDTO.setEndTime(endTime);
recordInfoItemDTO.setSecrecy(recordInfoRequestDTO.getSecrecy());
recordInfoItemDTO.setDeviceId(device.getGbDeviceId());
recordInfoItemDTO.setDeviceId(device.getGbChannelId());
List<RecordInfoItemDTO> recordInfoItemDTOList = Collections.singletonList(recordInfoItemDTO);
RecordInfoResponseDTO recordInfoResponseDTO = new RecordInfoResponseDTO();
recordInfoResponseDTO.setSn(recordInfoRequestDTO.getSn());
recordInfoResponseDTO.setDeviceId(device.getGbDeviceId());
recordInfoResponseDTO.setDeviceId(device.getGbChannelId());
recordInfoResponseDTO.setName(device.getName());
recordInfoResponseDTO.setSumNum((long) recordInfoItemDTOList.size());
recordInfoResponseDTO.setRecordList(recordInfoItemDTOList);