广丰卷烟厂数采质量分析系统
zhuguifei
2026-03-02 974c7aa4010d77bb410b99931b4435d5442deb4b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
spring:
  datasource:
    driver-class-name: org.postgresql.Driver
    # PostgreSQL 驱动不识别 serverTimezone,需要使用 options=-c timezone=...
    url: jdbc:postgresql://10.39.186.6:5432/postgres?currentSchema=public&serverTimezone=Asia/Shanghai";
    username: postgres
    password: 123456 
  jackson:
    time-zone: Asia/Shanghai
    date-format: yyyy-MM-dd HH:mm:ss 
  redis:
    host: 10.39.186.3
    port: 6677
    password: 
    database: 0
    timeout: 3000
    queue-key: redis # Redis Hash Key
    sync-interval-ms: 5000 # 同步间隔(毫秒),最少 1000
 
logging:
  file:
    name: logs/timescaledb-utils.log
  logback:
    rollingpolicy:
      max-file-size: 10MB
      max-history: 30
  level:
    root: INFO
 
server:
  port: 8642
 
mybatis-plus:
  mapper-locations: classpath*:mapper/**/*.xml
  type-aliases-package: com.shlb.timescaledbutils.entity
#  configuration:
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 开启控制台打印 SQL