Newer
Older
smartwell_demos / src / main / resources / config / application.yml
chaizhuang on 15 Sep 2023 1 KB 人员数据同步
##########################################################
spring:
  profiles:
    active: dz
  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:' #下发配置,key前缀
    apn: "dashoa.sc.iot" # 平台对应的apn
    appName: "XLJCYJ"  #应用名称-泄露监测预警
    appUrl: "http://10.80.12.33"  #普光服务的url
    online:
      cron: 0 0 0/1 * * ? # 多长时间判断离线
    transfer-user:
      cron: 0 0 0,12 * * ?  # 数据同步,每天凌晨0点、中午12点各进行同步一次
    data-day:  3 #多少天为离线
    type: 14  #硫化氢

swagger:
  enable: true
  groupName: "硫化氢课题"