From 631ffae9460ba255e28674aa7018a07a0866e99e Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期四, 17 十月 2024 15:07:23 +0800
Subject: [PATCH] 新增pg数据库的driver

---
 iailab-framework/iailab-common-biz-tenant/pom.xml          |    4 ++++
 iailab-module-data/iailab-module-data-biz/pom.xml          |    4 ++++
 iailab-module-infra/iailab-module-infra-biz/pom.xml        |    5 +++++
 pom.xml                                                    |    6 ++++++
 iailab-framework/iailab-common-biz-data-permission/pom.xml |    4 ++++
 5 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/iailab-framework/iailab-common-biz-data-permission/pom.xml b/iailab-framework/iailab-common-biz-data-permission/pom.xml
index 743b7be..785ab6d 100644
--- a/iailab-framework/iailab-common-biz-data-permission/pom.xml
+++ b/iailab-framework/iailab-common-biz-data-permission/pom.xml
@@ -33,6 +33,10 @@
             <groupId>com.iailab</groupId>
             <artifactId>iailab-common-mybatis</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+        </dependency>
 
         <!-- RPC 远程调用相关 -->
         <dependency>
diff --git a/iailab-framework/iailab-common-biz-tenant/pom.xml b/iailab-framework/iailab-common-biz-tenant/pom.xml
index 61b521d..19d06b4 100644
--- a/iailab-framework/iailab-common-biz-tenant/pom.xml
+++ b/iailab-framework/iailab-common-biz-tenant/pom.xml
@@ -37,6 +37,10 @@
             <groupId>com.iailab</groupId>
             <artifactId>iailab-common-redis</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+        </dependency>
 
         <!-- RPC 远程调用相关 -->
         <dependency>
diff --git a/iailab-module-data/iailab-module-data-biz/pom.xml b/iailab-module-data/iailab-module-data-biz/pom.xml
index 1589b01..9f95a2d 100644
--- a/iailab-module-data/iailab-module-data-biz/pom.xml
+++ b/iailab-module-data/iailab-module-data-biz/pom.xml
@@ -66,6 +66,10 @@
             <groupId>com.iailab</groupId>
             <artifactId>iailab-common-mybatis</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+        </dependency>
 
         <!-- RPC 远程调用相关 -->
         <dependency>
diff --git a/iailab-module-infra/iailab-module-infra-biz/pom.xml b/iailab-module-infra/iailab-module-infra-biz/pom.xml
index e9608d9..c5265da 100644
--- a/iailab-module-infra/iailab-module-infra-biz/pom.xml
+++ b/iailab-module-infra/iailab-module-infra-biz/pom.xml
@@ -141,6 +141,11 @@
             <artifactId>tika-core</artifactId> <!-- 文件客户端:文件类型的识别 -->
         </dependency>
 
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+        </dependency>
+
     </dependencies>
     <build>
         <!-- 设置构建的 jar 包名 -->
diff --git a/pom.xml b/pom.xml
index d7ec98b..9cf9b04 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,6 +102,7 @@
         <xercesImpl.version>2.12.2</xercesImpl.version>
         <weixin-java.version>4.6.0</weixin-java.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <postgresql.version>42.7.2</postgresql.version>
     </properties>
 
     <profiles>
@@ -258,6 +259,11 @@
 
             <!-- DB 相关 -->
             <dependency>
+                <groupId>org.postgresql</groupId>
+                <artifactId>postgresql</artifactId>
+                <version>${postgresql.version}</version>
+            </dependency>
+            <dependency>
                 <groupId>com.iailab</groupId>
                 <artifactId>iailab-common-mybatis</artifactId>
                 <version>${revision}</version>

--
Gitblit v1.9.3