Newer
Older
device-data-creator / src / main / resources / config / application.yml
chaizhuang on 17 May 2023 1 KB 中海油新增
##########################################################
spring:
  profiles:
    active: dev
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 80MB
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
mybatis-plus:
  global-config:
    enable-sql-runner: true
  configuration:
    # 配置结果集属性为空时 是否映射返回结果
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用
  mapper-locations: classpath:mapper/*.xml
mybatis:
  mapper-locations: classpath:mapper/*.xml
#mybatis-plus:
#    sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
###################  mybatis-plus配置  ###################
###################  casic配置  ###################
flowable:
  checkProcessDefinitions: false #不校验process文件
casic:
  device:
    redis:
      invalid-time: 86400
      host: 127.0.0.1
      port: 6379
      password: ew5T4K3#203lwh
      config-prefix: 'Casic:'
    hour-types: 8
    day-types: 1,5,7,13,14
  task:
    cron: '0 0/1 * * * ? '
    gas-cron: '0 0 */1 * * ? '