Преглед изворни кода

新增实际生产库配置

huangws пре 10 месеци
родитељ
комит
eb275bf221
1 измењених фајлова са 13 додато и 1 уклоњено
  1. 13 1
      exchange/src/main/resources/application.properties

+ 13 - 1
exchange/src/main/resources/application.properties

@@ -7,4 +7,16 @@ spring.second-datasource.username = root
 spring.second-datasource.password = test001
 spring.second-datasource.driver-class-name = com.mysql.cj.jdbc.Driver
 fetch.sql=select * from v_get_ref_temperature  where date(\u91c7\u96c6\u65f6\u95f4)=curdate()
-fetch.condition=DATEDIFF(day, LOGS_TIME, GETDATE()) = 0
+fetch.condition=DATEDIFF(day, LOGS_TIME, GETDATE()) = 0
+
+#?????
+#spring.datasource.jdbc-url=jdbc:sqlserver://10.117.27.14:1433;databaseName=huatu
+#spring.datasource.username=sa
+#spring.datasource.password=55969126
+#spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
+#spring.second-datasource.jdbc-url = jdbc:mysql://198.168.0.135:3306/klims-ibps3?characterEncoding=utf8&useSSL=false
+#spring.second-datasource.username = root
+#spring.second-datasource.password = test001
+#spring.second-datasource.driver-class-name = com.mysql.cj.jdbc.Driver
+#fetch.sql=select * from v_get_ref_temperature  where date(\u91c7\u96c6\u65f6\u95f4)=curdate()
+#fetch.condition=DATEDIFF(day, LOGS_TIME, GETDATE()) = 1