修复云端录像按年月查询时时间条件错误的BUG
This commit is contained in:
@@ -86,8 +86,8 @@ public class CloudRecordServiceImpl implements ICloudRecordService {
|
||||
}else {
|
||||
endDate = LocalDate.of(year, month + 1, 1);
|
||||
}
|
||||
long startTimeStamp = startDate.atStartOfDay().toInstant(ZoneOffset.ofHours(8)).getEpochSecond();
|
||||
long endTimeStamp = endDate.atStartOfDay().toInstant(ZoneOffset.ofHours(8)).getEpochSecond();
|
||||
long startTimeStamp = startDate.atStartOfDay().toInstant(ZoneOffset.ofHours(8)).getEpochSecond() * 1000;
|
||||
long endTimeStamp = endDate.atStartOfDay().toInstant(ZoneOffset.ofHours(8)).getEpochSecond() * 1000;
|
||||
List<CloudRecordItem> cloudRecordItemList = cloudRecordServiceMapper.getList(null, app, stream, startTimeStamp,
|
||||
endTimeStamp, null, mediaServerItems);
|
||||
if (cloudRecordItemList.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user