@@ -7,4 +7,13 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource
server:
- port: 5115
+ port: 5115
+
+mybatis-plus:
+ global-config:
+ db-config:
+ id-type: auto
+ configuration:
+ database-id: mysql
+ cache-enabled: true
+ jdbc-type-for-null: 'null' #注意:单引号