spring:
  # 生产环境数据源（通过环境变量覆盖）
  datasource:
    url: jdbc:mysql://${DB_HOST}:${DB_PORT:3306}/${DB_NAME:erp_db}?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    druid:
      initial-size: 10
      min-idle: 10
      max-active: 50

# 日志配置 - 生产环境
logging:
  level:
    root: INFO
    com.erp.report: INFO
    com.erp.report.export: INFO
  file:
    name: /var/log/report-service/application.log

# 导出配置 - 生产环境
export:
  max-rows: 50000
  async:
    core-pool-size: 8
    max-pool-size: 16
    queue-capacity: 500
