diff --git a/emis-server/src/main/resources/application_local.yml b/emis-server/src/main/resources/application_local.yml index c8c1fdc..2109041 100644 --- a/emis-server/src/main/resources/application_local.yml +++ b/emis-server/src/main/resources/application_local.yml @@ -91,12 +91,12 @@ token: mybatis-plus: type-aliases-package: com.xdadan.**.domain mapper-locations: classpath*:mapper/**/*Mapper.xml - config-location: classpath:mybatis/mybatis-config.xml -# configuration: -# cache-enabled: true -# map-underscore-to-camel-case: true -# lazy-loading-enabled: true -# aggressive-lazy-loading: false +# config-location: classpath:mybatis/mybatis-config.xml + configuration: + cache-enabled: true + map-underscore-to-camel-case: true + lazy-loading-enabled: true + aggressive-lazy-loading: false global-config: #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; id-type: 1