瀏覽代碼

添加配置

sgjj 5 年之前
父節點
當前提交
9345bdb426
共有 1 個文件被更改,包括 5 次插入6 次删除
  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