Commit 77af1c9b57db909c6dec1a3f24ef2e51fb5e22b4
1 parent
9d734fa4c5
Exists in
master
and in
6 other branches
修改数据库ip
Showing 10 changed files with 13 additions and 13 deletions
- platform-operate-api/src/main/java/com/lyms/hospitalapi/lcfy/ConnTools.java
- platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/ConnTools.java
- platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/JDBCUtil.java
- platform-operate-api/src/main/java/com/lyms/hospitalapi/rcfy/ConnTools.java
- platform-operate-api/src/main/java/com/lyms/hospitalapi/zcfy/ConnTools.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/JdbcUtil.java
- platform-operate-api/src/main/resources/database.properties
- platform-resource/resources/config-dev.properties
- regional-etl/src/main/resources/application.yml
platform-operate-api/src/main/java/com/lyms/hospitalapi/lcfy/ConnTools.java
View file @
77af1c9
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | //测试 |
20 | 20 | private static String cslisDirverClassName = "com.mysql.jdbc.Driver"; |
21 | - private static String cslisUrl = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
21 | + private static String cslisUrl = "jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
22 | 22 | private static String cslisUser = "platform"; |
23 | 23 | private static String cslisPassword = "platform123"; |
24 | 24 |
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/ConnTools.java
View file @
77af1c9
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | |
50 | 50 | |
51 | 51 | private static String cslDirverClassName = "com.mysql.jdbc.Driver"; |
52 | - private static String cslUrl = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
52 | + private static String cslUrl = "jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
53 | 53 | private static String cslUser = "platform"; |
54 | 54 | private static String cslPassword = "platform123"; |
55 | 55 |
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/JDBCUtil.java
View file @
77af1c9
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | static String oracle_url = "jdbc:oracle:thin:@168.254.0.159:1521:prmi"; |
17 | 17 | static String oracle_name = "LYMS_QHD_ORG"; |
18 | 18 | static String oracle_pwd = "LYMS_QHD_ORG"; |
19 | -// static String oracle_url = "jdbc:oracle:thin:@119.90.57.26:1522:orcl"; | |
19 | +// static String oracle_url = "jdbc:oracle:thin:@111.206.6.150:1522:orcl"; | |
20 | 20 | // static String oracle_name = "LYMS_ODS"; |
21 | 21 | // static String oracle_pwd = "Welcome1"; |
22 | 22 |
platform-operate-api/src/main/java/com/lyms/hospitalapi/rcfy/ConnTools.java
View file @
77af1c9
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | |
12 | 12 | //测试环境 |
13 | 13 | private static String dirverClassName = "com.mysql.jdbc.Driver"; |
14 | - private static String url = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
14 | + private static String url = "jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
15 | 15 | private static String user = "platform"; |
16 | 16 | private static String password = "platform123"; |
17 | 17 |
platform-operate-api/src/main/java/com/lyms/hospitalapi/zcfy/ConnTools.java
View file @
77af1c9
... | ... | @@ -24,7 +24,7 @@ |
24 | 24 | private static String fmPassword = "lyms123"; |
25 | 25 | |
26 | 26 | private static String csczDirverClassName = "com.mysql.jdbc.Driver"; |
27 | - private static String csczUrl = "jdbc:mysql://119.90.57.26:3306/platform?useUnicode=true&characterEncoding=utf8"; | |
27 | + private static String csczUrl = "jdbc:mysql://111.206.6.150:3306/platform?useUnicode=true&characterEncoding=utf8"; | |
28 | 28 | private static String csczUser = "platform"; |
29 | 29 | private static String csczPassword = "platform123"; |
30 | 30 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
View file @
77af1c9
... | ... | @@ -85,7 +85,7 @@ |
85 | 85 | |
86 | 86 | List<BasicConfig> mainBasicConfigList = new ArrayList<>(); |
87 | 87 | try { |
88 | - Mongo mongo = new Mongo("119.90.57.26", 10001); | |
88 | + Mongo mongo = new Mongo("111.206.6.150", 10001); | |
89 | 89 | UserCredentials credentials = new UserCredentials("platform", "platform123"); |
90 | 90 | MongoTemplate mongoTemplate = new MongoTemplate(mongo, "sync-platform-data", credentials); |
91 | 91 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/JdbcUtil.java
View file @
77af1c9
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | Connection con = null; |
46 | 46 | try { |
47 | 47 | Class.forName("com.mysql.jdbc.Driver"); |
48 | - String url = "jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
48 | + String url = "jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"; | |
49 | 49 | String userName = "platform"; |
50 | 50 | String pwd = "platform123"; |
51 | 51 | con = DriverManager.getConnection(url, userName, pwd); |
platform-operate-api/src/main/resources/database.properties
View file @
77af1c9
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | server.startup=2 |
20 | 20 | |
21 | 21 | mysql.slave.driver=com.mysql.jdbc.Driver |
22 | -mysql.slave.jdbcurl=jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | |
22 | +mysql.slave.jdbcurl=jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | |
23 | 23 | mysql.slave.db.name=platform |
24 | 24 | mysql.slave.db.password=platform123 |
25 | 25 |
platform-resource/resources/config-dev.properties
View file @
77af1c9
1 | -mongo.db.host=119.90.57.26 | |
1 | +mongo.db.host=111.206.6.150 | |
2 | 2 | mongo.db.port=10001 |
3 | 3 | mongo.db.dbname=platform |
4 | 4 | |
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | mysql.db.name=platform |
18 | 18 | mysql.db.password=platform123 |
19 | 19 | mysql.driver=com.mysql.jdbc.Driver |
20 | -mysql.jdbcurl=jdbc:mysql://119.90.57.26:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | |
20 | +mysql.jdbcurl=jdbc:mysql://111.206.6.150:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | |
21 | 21 | |
22 | 22 | mysql.maxpoolsize=5 |
23 | 23 | mysql.initialpoolsize=2 |
regional-etl/src/main/resources/application.yml
View file @
77af1c9
1 | 1 | spring: |
2 | 2 | datasource: |
3 | - url: jdbc:mysql://119.90.57.26:3306/platform | |
3 | + url: jdbc:mysql://111.206.6.150:3306/platform | |
4 | 4 | username: platform |
5 | 5 | password: platform123 |
6 | 6 | driver-class-name: com.mysql.jdbc.Driver |
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | init: "true" |
9 | 9 | |
10 | 10 | default: |
11 | - url: jdbc:mysql://119.90.57.26:3306/platform | |
11 | + url: jdbc:mysql://111.206.6.150:3306/platform | |
12 | 12 | username: platform |
13 | 13 | password: platform123 |
14 | 14 | driver-class-name: com.mysql.jdbc.Driver |
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | |
22 | 22 | data: |
23 | 23 | mongodb: |
24 | - host: 119.90.57.26 | |
24 | + host: 111.206.6.150 | |
25 | 25 | port: 10001 |
26 | 26 | database: platform |
27 | 27 | username: platform |