leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
server:
  port: 9974
  servlet:
    context-path: /electricity
 
 
##配置postgresql连接信息
#spring:
#  datasource:
#    password: 123456
#    url: jdbc:postgresql://localhost:5432/HBLFDC?useSSL=false
#    #url: jdbc:postgresql://192.168.1.40:5432/HBLFDC?useSSL=false
#    platform: postgres
#    driver-class-name: org.postgresql.Driver
#    username: postgres
#
 
 
# 数据源配置
first:
  datasource:
    type: org.apache.commons.dbcp.BasicDataSource
    driverClassName:  org.postgresql.Driver
      jdbc-url: jdbc:postgresql://10.69.206.79:5432/HBLFDC?useSSL=false
    username: postgres
    password: Terra2024!
    #连接池配置
    dbcp2:
      maxWait: 120000
      minIdle: 5
      maxIdle: 250
      maxActive: 250
      initial-size: 5
      #以下几条必须配置,防止服务器因网络原因,导致数据库连接失败
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 120000
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
 
second:
  datasource:
    type: org.apache.commons.dbcp.BasicDataSource
    driverClassName: oracle.jdbc.driver.OracleDriver
    jdbc-url: jdbc:oracle:thin:@10.69.206.35:1521:uaptest
    username: uaptest
    password: uaptest
    #连接池配置
    dbcp2:
      maxWait: 120000
      minIdle: 5
      maxIdle: 250
      maxActive: 250
      initial-size: 5
      min-evictable-idle-time-millis: 120000
 
      #以下几条必须配置,防止服务器因网络原因,导致数据库连接失败
      time-between-eviction-runs-millis: 60000
      validation-query: SELECT 1 FROM DUAL
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
 
 
 
 
logging:
  level:
    com.skyline:  warn
  file: ./info.log
    
  
#配置mybatis映射文件  包别名配置
mybatis:
  type-aliases-package: com.skyline.electricity.pojo,com.skyline.electricity.entity
  mapper-locations: classpath:mapping/*Mapper.xml
  configuration:
    # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#获取人员信息URL
userInfo_url: http://10.69.206.42:86/ims-auth/oauth/IUserInfo
 
#获取token的URL
token_url: http://10.69.206.42:86/ims-data/usersession/getTokenByCode
 
warn_url: http://10.69.206.205:8080/a/ew/ewWarning/warning
 
#岗位ID集合
posIdList: 62409AB3998B442B89D61DF1C679D4EE,D810540183DD4FA7B05AA9ABA273951A,DBE34A28FB21409083C01C1C3714A3AE,ff7e7dccf1f0b78798b26b82363b7378,007E37EE0A894531B6CA973CD4A118FD,237803B077814BBB8BDF48C651F7FFC4,7e6163fdf610c21ab3afaeb191b4b3b9,B87446FCAD7D42698E74C05ABE306771,F984B24BAC6A4D74873B84A395B7DBE2,6891BC4A9FE64726A921135EA7555614,ad08f673503b3a85b6e8827450530e60,E50FAECABD2F437098E16790E8646635,64B937BEA62846EAB005D0856F46E56D,F449C5C5CC6243EB9DECE4F79305A933,6ba561a3333912e73e0e645da3f4c1da,84B733B52DFA489CAFE3BDCF286302DC,12de16cb31f483c859c0d81d34f94102,16E709524A924F7E8C9D064626E44342,96d526dd03d2be96bab32af1b8922d00,E3497687D66C48949ADB5AFA223DDC09,E8454D86B58B4743B3EF928AB13106C7,E924C766C28B4172A8D77611F1001318,258DF09D90634D0F80AC1E2936B5E2B2,C54D58FAED344C15A8ADBA94846E2B57,fcf55fc0112fd7343aba96f6f8a30326,FFE8DB26ACC94577800E30D6242BFA18,40C3A0AB5F6D4714951738B0E6E3CB10,9ed912d0846c4b218f12a2dc6ae3ea0b,3B7611EFA31D419BA0410911E6C0FD07,A08732D6DD654E3EB0263CC103586AFB,B92A9F07993844C5B9BB95024F323B02,0B704C238D9B4FBB95547C54FADA186A,4746A79A06CA41EEB8B77DB16EC6554F,24F0376E529D49C2ACAB6E7F380276D3,AEA1700ACBF9454A84D9B34A7935BF70,FADF9B2076F045DCB3308456C63E9467