server:
  port: 9111
spring:
  profiles:
    active: dev
  application:
    name: @artifactId@
  datasource:
    dynamic:
      primary: master #设置默认的数据源，默认值为master
      strict: false   #是否弃用严格模式，如果启用在味匹配到指定数据源时抛出异常
      datasource:
        #公司病案的文件服务数据库
        master:
          url: jdbc:log4jdbc:mysql://db.docus.cn:3306/docus_archivefile?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: docus
          password: docus702
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #公司病案的系统服务数据库
        system:
          url: jdbc:log4jdbc:mysql://db.docus.cn:3306/docus_system?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: docus
          password: docus702
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #公司病案的基础服务数据库
        record:
          url: jdbc:log4jdbc:mysql://db.docus.cn:3306/docus_medicalrecord?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: docus
          password: docus702
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #医院的用户/科室/基础数据的数据库
        his:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #病理数据
        bl:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #电生理系统数据
        ecg:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #电子病历系统数据
        emr:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #护理文书系统数据
        hl:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #手麻系统数据
        issubmit:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #lis系统数据
        lis:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/lis?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #Pacs系统数据视图
        pacs:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #vte静脉血栓栓塞症
        vte:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
        #重症系统数据
        zz:
          url: jdbc:log4jdbc:mysql://127.0.0.1:3306/his?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: root
          password: root@123456
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
  #  rabbitmq:
  #    host: 127.0.0.1
  #    port: 5672
  #    username: guest
  #    password: guest
  redis:
    host: redis.docus.cn
    password: JSdocus@702
  cloud:
    nacos:
      discovery:
        server-addr: nacos.docus.cn
        namespace: 34acdf7a-9fc6-4bbd-8aea-9a47c8007ad5
      config:
        server-addr: ${spring.cloud.nacos.discovery.server-addr}
        namespace: 34acdf7a-9fc6-4bbd-8aea-9a47c8007ad5
        file-extension: yml
        shared-configs:
          - comm.${spring.cloud.nacos.config.file-extension}
  rabbitmq:
    addresses:  127.0.0.1
    username: guest
    password: guest
    template:
      mandatory: true
    queue:
      isAck: false
      retryTimes: 5
    publisher-confirms: true
    publisher-returns: true
    listener:
      direct:
        retry:
          enabled: true
      simple:
        retry:
          max-attempts: 3
docus:
  dbtype: mysql
  user:
    # 用户默认密码
    defpwd: fd29cd53ec12616e5f36b77d4afffbff
  job:
    enabled: false
  doctorsyscode: 8
  doctorassortid: AFB9FBE656D7492C80AEDE6E685A851A
  #农垦重症
  #  lkzz:
  #    syscode: 15
  #    assortid: AFB9FBE656D7492C80AEDE6E685A851A
  #    url: http://localhost:9295/api/lkzz/icu/patientInfoIcuQueue/getPatientInfoIcuQueue?IcuQueueId=%s
  #    reportname: 危重症监护单
  #0:默认，1：顺德
  priority: 0
  dispose:
    #队列生成方式：mq rabbitmq,redis
    mode: redis
  task:
    taskurl: http://localhost:9296/api/noviewtask/GetTask
    downurl: http://localhost:9291/api/downplatform/report

mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true
    call-setters-on-nulls: true
    jdbc-type-for-null: null
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      update-strategy: ignored
      field-strategy: NOT_EMPTY
      db-type: MYSQL
  mapper-locations: classpath*:/mapper/*Mapper.xml,file:mybatis.mapper/**/*Mapper.xml
  type-enums-package: com.docus.server.enums

xxl:
  job:
    accessToken:
    admin:
      addresses: http://job.docus.cn:8180/xxl-job-admin
    executor:
      appname: xxl-job-executor-test
      address:
      ip:
      port: 17781
      logretentiondays: 30
      logpath: D:/xxl-job/inspection

#
#ibm:
#  mq:
#    queueManager: MqManager01
#    channel: chl_server01
#    connName: 10.222.23.130(1414)
#    ackUrl: 10.222.23.159:7800/ack
#    domain: CDR
#    key: cdr-0012-adef
#    replica:
#      queueManager: MqManager02
#      channel: chl_server02
#      connName: 10.222.23.131(1414)

#rocketmq:
#  name-server: 127.0.01:9876
#  producer:
#    group: ta-cipher-encode

basic:
  #患者数据采集每页笔数
  pageSize: 100
  #限速笔数，0:为不限数
  ratelimit: 10000
  #间隔时间，单位毫秒
  ratetime: 10000
