diff --git a/code/java/天气灾害预警/db.json b/code/java/天气灾害预警/db.json new file mode 100644 index 0000000..6d84bbf --- /dev/null +++ b/code/java/天气灾害预警/db.json @@ -0,0 +1,6 @@ +{ + "tns_name": "xmcx1", + "ip_addr": "10.39.0.86", + "user_name": "", + "password": "" +} \ No newline at end of file diff --git a/code/java/天气灾害预警/disaster_warning.iml b/code/java/天气灾害预警/disaster_warning.iml index 90a51a4..c49b959 100644 --- a/code/java/天气灾害预警/disaster_warning.iml +++ b/code/java/天气灾害预警/disaster_warning.iml @@ -1,112 +1,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + \ No newline at end of file diff --git a/code/java/天气灾害预警/disaster_warning.iws b/code/java/天气灾害预警/disaster_warning.iws index 06969c6..4b696ec 100644 --- a/code/java/天气灾害预警/disaster_warning.iws +++ b/code/java/天气灾害预警/disaster_warning.iws @@ -5,8 +5,10 @@ - + + + diff --git a/code/java/天气灾害预警/pom.xml b/code/java/天气灾害预警/pom.xml index 74b4bdb..78f3d9c 100644 --- a/code/java/天气灾害预警/pom.xml +++ b/code/java/天气灾害预警/pom.xml @@ -56,6 +56,13 @@ jackson-annotations 2.9.8 + + com.oracle + ojdbc8 + 12.2.0.1 + system + ${basedir}/lib/ojdbc8.jar + 1.8 diff --git a/code/java/天气灾害预警/src/main/java/com/cpic/xim/config/db/OracleConfig.java b/code/java/天气灾害预警/src/main/java/com/cpic/xim/config/db/OracleConfig.java new file mode 100644 index 0000000..5962e23 --- /dev/null +++ b/code/java/天气灾害预警/src/main/java/com/cpic/xim/config/db/OracleConfig.java @@ -0,0 +1,12 @@ +package com.cpic.xim.config.db; + +import java.util.Map; + +public class OracleConfig +{ + private String tnsName; + private String ipAddr; + private String userName; + private String password; + private Map tables; +}