- 新增 alarmBatchBo 类用于批量处理报警记录 - 移除报警记录控制器中的权限注解 - 批量处理接口改为接收 alarmBatchBo 对象 - 引入 ruoyi-quartz 依赖用于定时任务处理- 恢复并优化 InspectionTaskServiceImpl 中设备信息设置 - 更新任务执行时更新最后执行时间与下次执行时间- 视频分析服务中增加报警记录时更新任务报警次数
143 lines
4.6 KiB
XML
143 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi</artifactId>
|
||
<version>3.8.9</version>
|
||
</parent>
|
||
|
||
<artifactId>ruoyi-video</artifactId>
|
||
|
||
<properties>
|
||
<maven.compiler.source>17</maven.compiler.source>
|
||
<maven.compiler.target>17</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>javax.annotation</groupId>
|
||
<artifactId>javax.annotation-api</artifactId>
|
||
<version>1.3.2</version>
|
||
</dependency>
|
||
|
||
<!-- 通用工具 -->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-common</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.24</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<!-- 包含 OpenCV/FFmpeg 等全部平台原生库(win/linux/mac) -->
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>javacv-platform</artifactId>
|
||
<version>1.5.12</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>opencv</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- 明确指定OpenCV版本 -->
|
||
<dependency>
|
||
<groupId>org.bytedeco</groupId>
|
||
<artifactId>opencv-platform</artifactId>
|
||
<version>4.11.0-1.5.12</version>
|
||
</dependency>
|
||
|
||
|
||
<!-- 解析 models.json-->
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<version>2.17.1</version>
|
||
</dependency>
|
||
|
||
<!-- 你的其它业务依赖:保持不变 -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.3.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-all</artifactId>
|
||
<version>4.1.59.Final</version>
|
||
</dependency>
|
||
|
||
<!-- commons-io -->
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.11.0</version>
|
||
</dependency>
|
||
|
||
<!-- commons-lang(注意这是 2.x 老版,如果无强依赖可考虑迁移到 commons-lang3) -->
|
||
<dependency>
|
||
<groupId>commons-lang</groupId>
|
||
<artifactId>commons-lang</artifactId>
|
||
<version>2.6</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.testng</groupId>
|
||
<artifactId>testng</artifactId>
|
||
<version>7.11.0</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-common</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-framework</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-quartz</artifactId>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 其他插件 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-enforcer-plugin</artifactId>
|
||
<version>3.4.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>enforce-versions</id>
|
||
<goals>
|
||
<goal>enforce</goal>
|
||
</goals>
|
||
<configuration>
|
||
<rules>
|
||
<dependencyConvergence />
|
||
</rules>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |