소스 검색

添加配置

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