From 33d913fe745cf11f4972ef82acc5f4c7bf2114cb Mon Sep 17 00:00:00 2001 From: Coolkid Date: Fri, 26 Jan 2024 17:28:35 +0800 Subject: [PATCH] =?UTF-8?q?mybatisplus=20update=20null=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E7=AD=96=E7=95=A5=E6=94=B9=E4=B8=BA=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E6=8A=8A=E5=80=BC=E6=94=B9=E4=B8=BAnull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 5 ++++- src/test/resources/application.yml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b5a8433..3bbdaa9 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -58,4 +58,7 @@ gunshi: mybatis-plus: configuration: - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl \ No newline at end of file + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + global-config: + db-config: + update-strategy: always \ No newline at end of file diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index ebfff32..3bbdaa9 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -56,3 +56,9 @@ gunshi: username: gunshi_logger password: 1234567a +mybatis-plus: + configuration: + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + global-config: + db-config: + update-strategy: always \ No newline at end of file