Sfoglia il codice sorgente

1、配置多环境启动;
2、优化巡查记录展示效果;
3、巡查人员设置模块删除;

songxy 1 anno fa
parent
commit
3e2234b27e
1 ha cambiato i file con 80 aggiunte e 0 eliminazioni
  1. 80 0
      BJYSYBZ_S/src/main/resources/application-tinker-dev.yml

+ 80 - 0
BJYSYBZ_S/src/main/resources/application-tinker-dev.yml

@@ -0,0 +1,80 @@
+spring:
+  datasource:
+    postgre:
+      type: com.alibaba.druid.pool.DruidDataSource
+      driver-class-name: org.postgresql.Driver
+      url: jdbc:postgresql://10.10.9.243:5432/test
+      username: sde
+      password: zdww1402!
+      initialSize: 1
+      minIdle: 3
+      maxActive: 216
+      # 配置获取连接等待超时的时间
+      maxWait: 30000
+      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      timeBetweenEvictionRunsMillis: 60000
+      # 配置一个连接在池中最小生存的时间,单位是毫秒
+      minEvictableIdleTimeMillis: 30000
+      validationQuery: select 1
+      testWhileIdle: true
+      testOnBorrow: false
+      testOnReturn: false
+      # 打开PSCache,并且指定每个连接上PSCache的大小
+      poolPreparedStatements: true
+      maxPoolPreparedStatementPerConnectionSize: 20
+      # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      filters: stat,wall,slf4j
+      # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
+      # 合并多个DruidDataSource的监控数据
+      #useGlobalDataSourceStat: true
+    oracle51:
+      type: com.alibaba.druid.pool.DruidDataSource
+      driver-class-name: org.postgresql.Driver
+      url: jdbc:postgresql://10.10.9.243:5432/test
+      username: sde
+      password: zdww1402!
+      initialSize: 1
+      minIdle: 3
+      maxActive: 216
+      # 配置获取连接等待超时的时间
+      maxWait: 30000
+      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      timeBetweenEvictionRunsMillis: 60000
+      # 配置一个连接在池中最小生存的时间,单位是毫秒
+      minEvictableIdleTimeMillis: 30000
+      validationQuery: select 1
+      testWhileIdle: true
+      testOnBorrow: false
+      testOnReturn: false
+      # 打开PSCache,并且指定每个连接上PSCache的大小
+      poolPreparedStatements: true
+      maxPoolPreparedStatementPerConnectionSize: 20
+      # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      filters: stat,wall,slf4j
+      # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
+      # 合并多个DruidDataSource的监控数据
+      #useGlobalDataSourceStat: true
+
+logging:
+  level:
+    com.zjugis.ysgzybz.dao: debug
+
+mybatis-plus:
+  type-handlers-package: com.zjugis.ysgzybz.beans
+  type-aliases-package: com.zjugis.ysgzybz.beans
+  type-enums-package: com.zjugis.ysgzybz.enums
+  configuration:
+    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
+
+#阿里云oos文件上传配置
+aliyun:
+  location: true
+  oss:
+    file:
+      endpoint: oss-cn-hangzhou-zjzwy01-d01-a.cloud-inner.zj.gov.cn
+      keyid: 1PCJYBQwfVopANMQ
+      keysecret: 1pmClkBy5XfiWUl5IoxgKJVVRqpfbS
+      bucketname: ossserver
+      basedir: lsyd_upload_folder