调整pom文件

This commit is contained in:
wangliwen 2022-09-02 17:11:27 +08:00
parent 348d466310
commit 91dcf7ddd8
2 changed files with 29 additions and 13 deletions

39
pom.xml
View File

@ -12,6 +12,19 @@
<javacv.version>1.5.7</javacv.version>
<system.linux-x86_64>linux-x86_64</system.linux-x86_64>
<ffmpeg.version>5.0</ffmpeg.version>
<fastjson.version>1.2.72</fastjson.version>
<mybatis-plus-boot-starter.version>3.4.2</mybatis-plus-boot-starter.version>
<mysql-connector-java.version>8.0.20</mysql-connector-java.version>
<guava.version>21.0</guava.version>
<mybatis-plus-generate.version>2.3</mybatis-plus-generate.version>
<spring-boot-starter-cache.version>2.4.4</spring-boot-starter-cache.version>
<ehcache.version>2.10.6</ehcache.version>
<hutool-all.version>5.7.18</hutool-all.version>
<springfox-swagger2.version>2.9.2</springfox-swagger2.version>
<springfox-swagger-ui.version>2.9.2</springfox-swagger-ui.version>
<swagger-bootstrap-ui.version>1.9.2</swagger-bootstrap-ui.version>
<poi-ooxml.version>3.11</poi-ooxml.version>
<easyexcel.version>2.2.6</easyexcel.version>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -27,19 +40,19 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.72</version>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.2</version>
<version>${mybatis-plus-boot-starter.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.20</version>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
@ -49,7 +62,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>21.0</version>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -65,7 +78,7 @@
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generate</artifactId>
<version>2.3</version>
<version>${mybatis-plus-generate.version}</version>
</dependency>
<!-- javacv+javacpp核心库-->
@ -91,50 +104,50 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
<version>2.4.4</version>
<version>${spring-boot-starter-cache.version}</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.6</version>
<version>${ehcache.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.7.18</version>
<version>${hutool-all.version}</version>
</dependency>
<!--swagger -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
<version>${springfox-swagger2.version}</version>
</dependency>
<!--swagger-ui.html模式 -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
<version>${springfox-swagger-ui.version}</version>
</dependency>
<!--doc.html模式 -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
<version>1.9.2</version>
<version>${swagger-bootstrap-ui.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.11</version>
<version>${poi-ooxml.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.2.6</version>
<version>${easyexcel.version}</version>
</dependency>
</dependencies>

View File

@ -14,6 +14,7 @@ import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@ -26,6 +27,8 @@ import java.util.List;
public class WaterPointController {
@Autowired
private WaterPointMapper waterPointMapper;
@Autowired
JdbcTemplate jdbcTemplate;
/**
* 查询积水点列表