mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 23:17:50 +08:00
Compare commits
1 Commits
ca51f8a8d4
...
2909bb4a53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2909bb4a53 |
BIN
libs/jdbc-aarch/kingbase8-8.6.0.jar
Normal file
BIN
libs/jdbc-aarch/kingbase8-8.6.0.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-aarch/kingbase8-8.6.0.jre7.jar
Normal file
BIN
libs/jdbc-aarch/kingbase8-8.6.0.jre7.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-aarch/postgresql-42.2.9.jar
Normal file
BIN
libs/jdbc-aarch/postgresql-42.2.9.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-aarch/postgresql-42.2.9.jre7.jar
Normal file
BIN
libs/jdbc-aarch/postgresql-42.2.9.jre7.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/bcprov-jdk15on-1.70.jar
Normal file
BIN
libs/jdbc-x86/bcprov-jdk15on-1.70.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/kingbase8-8.6.0.jar
Normal file
BIN
libs/jdbc-x86/kingbase8-8.6.0.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/kingbase8-8.6.0.jre6.jar
Normal file
BIN
libs/jdbc-x86/kingbase8-8.6.0.jre6.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/kingbase8-8.6.0.jre7.jar
Normal file
BIN
libs/jdbc-x86/kingbase8-8.6.0.jre7.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/postgresql-42.2.9.jar
Normal file
BIN
libs/jdbc-x86/postgresql-42.2.9.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/postgresql-42.2.9.jre6.jar
Normal file
BIN
libs/jdbc-x86/postgresql-42.2.9.jre6.jar
Normal file
Binary file not shown.
BIN
libs/jdbc-x86/postgresql-42.2.9.jre7.jar
Normal file
BIN
libs/jdbc-x86/postgresql-42.2.9.jre7.jar
Normal file
Binary file not shown.
18
pom.xml
18
pom.xml
@ -178,6 +178,24 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- kingbase人大金仓 -->
|
<!-- kingbase人大金仓 -->
|
||||||
|
<!-- 手动下载驱动后安装 -->
|
||||||
|
<!-- mvn install:install-file -Dfile=/home/lin/soft/kingbase/jdbc-aarch/kingbase8-8.6.0.jar -DgroupId=com.kingbase -DartifactId=kingbase8 -Dversion=8.6.0 -Dpackaging=jar
|
||||||
|
-->
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>com.kingbase</groupId>-->
|
||||||
|
<!-- <artifactId>kingbase8</artifactId>-->
|
||||||
|
<!-- <version>8.6.0</version>-->
|
||||||
|
<!-- <scope>system</scope>-->
|
||||||
|
<!-- <systemPath>${basedir}/libs/jdbc-aarch/kingbase8-8.6.0.jar</systemPath>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>com.kingbase</groupId>-->
|
||||||
|
<!-- <artifactId>kingbase8</artifactId>-->
|
||||||
|
<!-- <version>8.6.0</version>-->
|
||||||
|
<!-- <scope>system</scope>-->
|
||||||
|
<!-- <systemPath>${basedir}/libs/jdbc-x86/kingbase8-8.6.0.jar</systemPath>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.com.kingbase</groupId>
|
<groupId>cn.com.kingbase</groupId>
|
||||||
<artifactId>kingbase8</artifactId>
|
<artifactId>kingbase8</artifactId>
|
||||||
|
|||||||
@ -1,11 +1,8 @@
|
|||||||
package com.genersoft.iot.vmp.gb28181.bean;
|
package com.genersoft.iot.vmp.gb28181.bean;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
@Data
|
||||||
@Setter
|
|
||||||
public class InviteDecodeException extends RuntimeException{
|
public class InviteDecodeException extends RuntimeException{
|
||||||
private int code;
|
private int code;
|
||||||
private String msg;
|
private String msg;
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
package com.genersoft.iot.vmp.gb28181.bean;
|
package com.genersoft.iot.vmp.gb28181.bean;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Data;
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
@Getter
|
@Data
|
||||||
@Setter
|
|
||||||
public class PlayException extends RuntimeException{
|
public class PlayException extends RuntimeException{
|
||||||
private int code;
|
private int code;
|
||||||
private String msg;
|
private String msg;
|
||||||
|
|||||||
@ -233,13 +233,7 @@ public class DeviceServiceImpl implements IDeviceService, CommandLineRunner {
|
|||||||
log.info("[更新多个离线设备信息] 参数为空");
|
log.info("[更新多个离线设备信息] 参数为空");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int limitCount = 400;
|
deviceMapper.offlineByList(offlineDevices);
|
||||||
for (int i = 0; i < offlineDevices.size(); i += limitCount) {
|
|
||||||
int end = Math.min(i + limitCount, offlineDevices.size());
|
|
||||||
List<Device> batchList = offlineDevices.subList(i, end);
|
|
||||||
deviceMapper.offlineByList(batchList);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (Device device : offlineDevices) {
|
for (Device device : offlineDevices) {
|
||||||
device.setOnLine(false);
|
device.setOnLine(false);
|
||||||
redisCatchStorage.updateDevice(device);
|
redisCatchStorage.updateDevice(device);
|
||||||
|
|||||||
@ -1,14 +1,12 @@
|
|||||||
package com.genersoft.iot.vmp.media.event.hook;
|
package com.genersoft.iot.vmp.media.event.hook;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Data;
|
||||||
import lombok.Setter;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* zlm hook事件的参数
|
* zlm hook事件的参数
|
||||||
* @author lin
|
* @author lin
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Data
|
||||||
@Setter
|
|
||||||
public class Hook {
|
public class Hook {
|
||||||
|
|
||||||
private HookType hookType;
|
private HookType hookType;
|
||||||
|
|||||||
@ -29,7 +29,6 @@ import jakarta.servlet.http.HttpServletResponse;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.ObjectUtils;
|
import org.apache.commons.lang3.ObjectUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.util.StringUtils;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.context.request.async.DeferredResult;
|
import org.springframework.web.context.request.async.DeferredResult;
|
||||||
|
|
||||||
@ -362,12 +361,11 @@ public class CloudRecordController {
|
|||||||
@ResponseBody
|
@ResponseBody
|
||||||
@GetMapping("/download/zip")
|
@GetMapping("/download/zip")
|
||||||
public void downloadZipFileFromUrl(HttpServletResponse response, Integer[] ids) {
|
public void downloadZipFileFromUrl(HttpServletResponse response, Integer[] ids) {
|
||||||
String idsStr = StringUtils.arrayToCommaDelimitedString(ids);
|
log.info("[下载指定录像文件的压缩包] 查询 ids->{}", ids);
|
||||||
log.info("[下载指定录像文件的压缩包] 查询 ids->{}", idsStr);
|
|
||||||
List<Integer> arrayList = new ArrayList<>(List.of(ids));
|
List<Integer> arrayList = new ArrayList<>(List.of(ids));
|
||||||
List<CloudRecordUrl> cloudRecordItemList = cloudRecordService.getUrlListByIds(arrayList);
|
List<CloudRecordUrl> cloudRecordItemList = cloudRecordService.getUrlListByIds(arrayList);
|
||||||
if (ObjectUtils.isEmpty(cloudRecordItemList)) {
|
if (ObjectUtils.isEmpty(cloudRecordItemList)) {
|
||||||
log.warn("[下载指定录像文件的压缩包] 未找到录像文件,ids->{}", idsStr);
|
log.warn("[下载指定录像文件的压缩包] 未找到录像文件,ids->{}", ids);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user