diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 1d7bf75..3b66250 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -5,13 +5,13 @@ spring.servlet.multipart.location: /ruoyi/server/temp mybatis-flex: # 搜索指定包别名 typeAliasesPackage: com.ruoyi.**.domain + # 不支持多包, 如有需要可在注解配置 或 提升扫包等级:com.**.**.mapper + mapperPackage: com.ruoyi.**.mapper # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapper-locations: classpath*:mapper/**/*Mapper.xml + mapperLocations: classpath*:mapper/**/*Mapper.xml cacheEnabled: true - useGeneratedKeys: true - defaultExecutorType: SIMPLE - #本部分(Configuration)的配置都为 MyBatis 原生支持的配置,有关配置请参考:https://mybatis.org/mybatis-3/zh/configuration.html#%E8%AE%BE%E7%BD%AE%EF%BC%88settings%EF%BC%89 + #本部分(Configuration)的配置都为 MyBatis 原生支持的配置,有关配置请参考:https://mybatis.org/mybatis-3/zh/configuration.html#%E8%AE%BE%E7%BD%AE%EF%BC%88settings%EF%BC%89 configuration: # 自动驼峰命名规则(camel case)映射 mapUnderscoreToCamelCase: true @@ -44,7 +44,7 @@ mybatis-flex: # 指定为HikariDataSource type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/jjry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true username: root123 password: Root@369---0000