liding
2025-05-07 083b6b602113a19cba898d097c70fe51435bbe12
src/main/resources/application-druid.yml
@@ -13,9 +13,9 @@
            slave:
                # 从数据源开关/默认关闭
                enabled: false
                url:
                username:
                password:
                url:
                username:
                password:
            # 初始连接数
            initialSize: 5
            # 最小连接池数量
@@ -39,7 +39,7 @@
            testWhileIdle: true
            testOnBorrow: false
            testOnReturn: false
            webStatFilter:
            webStatFilter:
                enabled: true
            statViewServlet:
                enabled: true
@@ -58,4 +58,17 @@
                    merge-sql: true
                wall:
                    config:
                        multi-statement-allow: true
                        multi-statement-allow: true
# mybatis-plus配置
mybatis-plus:
    mapper-locations: classpath*:mapper/**/*Mapper.xml
    type-aliases-package: com.ruoyi.**.domain
    global-config:
        banner: off
        db-config:
            id-type: auto
    configuration:
        map-underscore-to-camel-case: true
        cache-enabled: false
        log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl