Jelajahi Sumber

添加配置

sgjj 5 tahun lalu
induk
melakukan
9345bdb426
1 mengubah file dengan 5 tambahan dan 6 penghapusan
  1. 5 6
      src/main/resources/application.yml

+ 5 - 6
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