From b2d5a4425bc78c9c60b54145339554caf4c15443 Mon Sep 17 00:00:00 2001 From: xierz Date: Sat, 19 Dec 2020 12:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 5941c8d4..7edaf064 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -7,4 +7,13 @@ spring: type: com.alibaba.druid.pool.DruidDataSource server: - port: 5115 \ No newline at end of file + port: 5115 + +mybatis-plus: + global-config: + db-config: + id-type: auto + configuration: + database-id: mysql + cache-enabled: true + jdbc-type-for-null: 'null' #注意:单引号