修复云端录像按年月查询时时间条件错误的BUG
parent
78c2b5a63d
commit
2ae4226e89
|
@ -86,8 +86,8 @@ public class CloudRecordServiceImpl implements ICloudRecordService {
|
||||||
}else {
|
}else {
|
||||||
endDate = LocalDate.of(year, month + 1, 1);
|
endDate = LocalDate.of(year, month + 1, 1);
|
||||||
}
|
}
|
||||||
long startTimeStamp = startDate.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();
|
long endTimeStamp = endDate.atStartOfDay().toInstant(ZoneOffset.ofHours(8)).getEpochSecond() * 1000;
|
||||||
List<CloudRecordItem> cloudRecordItemList = cloudRecordServiceMapper.getList(null, app, stream, startTimeStamp,
|
List<CloudRecordItem> cloudRecordItemList = cloudRecordServiceMapper.getList(null, app, stream, startTimeStamp,
|
||||||
endTimeStamp, null, mediaServerItems);
|
endTimeStamp, null, mediaServerItems);
|
||||||
if (cloudRecordItemList.isEmpty()) {
|
if (cloudRecordItemList.isEmpty()) {
|
||||||
|
|
|
@ -230,9 +230,6 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
this.recordListStyle.height = this.winHeight + "px";
|
this.recordListStyle.height = this.winHeight + "px";
|
||||||
this.playerStyle["height"] = this.winHeight + "px";
|
this.playerStyle["height"] = this.winHeight + "px";
|
||||||
console.log(this.app)
|
|
||||||
console.log(this.stream)
|
|
||||||
console.log(this.mediaServerId)
|
|
||||||
// 查询当年有视频的日期
|
// 查询当年有视频的日期
|
||||||
this.getDateInYear(()=>{
|
this.getDateInYear(()=>{
|
||||||
if (Object.values(this.dateFilesObj).length > 0){
|
if (Object.values(this.dateFilesObj).length > 0){
|
||||||
|
@ -349,9 +346,6 @@
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
},
|
},
|
||||||
getFileShowName(item) {
|
getFileShowName(item) {
|
||||||
console.log("getFileShowName")
|
|
||||||
console.log(item.startTime)
|
|
||||||
console.log(item.endTime)
|
|
||||||
return moment(item.startTime).format('HH:mm:ss') + "-" + moment(item.endTime).format('HH:mm:ss')
|
return moment(item.startTime).format('HH:mm:ss') + "-" + moment(item.endTime).format('HH:mm:ss')
|
||||||
},
|
},
|
||||||
chooseMediaChange() {
|
chooseMediaChange() {
|
||||||
|
|
Loading…
Reference in New Issue