From c9768346fc8bc1cc6326e06125deaf57ff423eaf Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 19 九月 2023 16:17:07 +0800 Subject: [PATCH] 修改三厂数字化使用原生jdbc连接 --- pom.xml | 47 +++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 43 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 07bbe5e..fd515f5 100644 --- a/pom.xml +++ b/pom.xml @@ -47,10 +47,7 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> - <dependency> - <groupId>org.postgresql</groupId> - <artifactId>postgresql</artifactId> - </dependency> + <!--娴峰悍褰曞儚鏈轰簩娆″紑鍙戜緷璧杍ar鍖�--> <dependency> <groupId>net.java.jna</groupId> @@ -68,6 +65,18 @@ <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.2.2</version> </dependency> + <!--Oracle jdbc--> + <!--杩欓噷娉ㄦ剰锛屾煇浜沷jdbc鐨勭増鏈笉鏀寔jdk1.8锛岄亣鍒拌繃锛岀綉涓婅杩欎釜ojdbc8鏀寔锛屾墍浠ヨ繖閲屼娇鐢ㄥ畠--> + <dependency> + <groupId>com.oracle.ojdbc</groupId> + <artifactId>ojdbc8</artifactId> + <version>19.3.0.0</version> + </dependency> + <dependency> + <groupId>com.oracle.database.nls</groupId> + <artifactId>orai18n</artifactId> + <version>21.1.0.0</version> + </dependency> <!--minio渚濊禆--> <dependency> <groupId>io.minio</groupId> @@ -78,6 +87,25 @@ <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> + </dependency> + <dependency> + <groupId>org.gavaghan</groupId> + <artifactId>geodesy</artifactId> + <version>1.1.3</version> + </dependency> + <!--druid渚濊禆--> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>druid-spring-boot-starter</artifactId> + <version>1.2.14</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-jdbc</artifactId> + </dependency> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> </dependency> </dependencies> @@ -108,6 +136,17 @@ </buildArgs> </configuration> </plugin> + <plugin> + <groupId>org.mybatis.generator</groupId> + <artifactId>mybatis-generator-maven-plugin</artifactId> + <version>1.4.1</version> + <configuration> + <!--閰嶇疆鏂囦欢浣嶇疆--> + <configurationFile>src/main/resources/GeneratorMapper.xml</configurationFile> + <verbose>true</verbose> + <overwrite>true</overwrite> + </configuration> + </plugin> </plugins> </build> -- Gitblit v1.9.3