bootstrap.yml 431 B

12345678910111213141516
  1. # Tomcat
  2. server:
  3. port: ${service.port.chemical}
  4. # mybatis配置
  5. mybatis:
  6. # 搜索指定包别名
  7. typeAliasesPackage: com.zd.chemical
  8. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  9. mapperLocations: classpath:mapper/**/*.xml
  10. # 配置项
  11. configuration:
  12. # 配置日志打印
  13. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  14. # Mybatis开启驼峰映射
  15. mapUnderscoreToCamelCase: true