From 9345bdb42692bf0e138b43978e9cfaaff4dd32fe Mon Sep 17 00:00:00 2001 From: sgjj <995959152@qq.com> Date: Thu, 29 Oct 2020 14:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0e5e9900..e80685cd 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -81,11 +81,10 @@ spring: force: true charset: utf-8 enabled: true -#mybatis-plus: -# global-config: -# db-config: -# id-type: auto -# column-format: "\"%s\"" -mybatis: +mybatis-plus: + global-config: + db-config: + column-format: "\"%s\"" + id-type: assign_id configuration: database-id: mysql \ No newline at end of file