diff --git a/.gitignore b/.gitignore
index 84adb3f..b32075f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
+/bin/
diff --git a/.project b/.project
new file mode 100644
index 0000000..3b1aa08
--- /dev/null
+++ b/.project
@@ -0,0 +1,28 @@
+
+
+ com.connor.jd.plm
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/com.connor.jd.plm/.classpath b/com.connor.jd.plm/.classpath
index 5a7ed5b..9988e7c 100644
--- a/com.connor.jd.plm/.classpath
+++ b/com.connor.jd.plm/.classpath
@@ -1,547 +1,535 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -549,7 +537,5 @@
-
-
diff --git a/com.connor.jd.plm/META-INF/MANIFEST.MF b/com.connor.jd.plm/META-INF/MANIFEST.MF
index e5a65fe..a1e8267 100644
--- a/com.connor.jd.plm/META-INF/MANIFEST.MF
+++ b/com.connor.jd.plm/META-INF/MANIFEST.MF
@@ -10,9 +10,10 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.108.0",
com.teamcenter.rac.aifrcp;bundle-version="12000.1.0",
com.teamcenter.rac.ui.commands;bundle-version="12000.1.0",
com.teamcenter.rac.kernel;bundle-version="12000.1.0",
- com.teamcenter.rac.ui.views;bundle-version="12000.1.0",
+ org.eclipse.ui.views;bundle-version="3.8.100",
org.eclipse.core.runtime;bundle-version="3.12.0",
- org.eclipse.ui.forms;bundle-version="3.7.0"
+ org.eclipse.ui.forms;bundle-version="3.7.0",
+ com.teamcenter.rac.schedule;bundle-version="12000.1.0"
Automatic-Module-Name: JDProject
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: com.connor.jd.operations,
@@ -29,7 +30,11 @@ Export-Package: com.connor.jd.operations,
Import-Package: com.teamcenter.services,
com.teamcenter.services.rac,
com.teamcenter.services.rac.core,
- com.teamcenter.services.rac.core._2008_06
+ com.teamcenter.services.rac.core._2008_06,
+ org.apache.http.client,
+ org.apache.http.client.methods,
+ org.apache.http.client.params,
+ org.apache.http.client.protocol
Bundle-ClassPath: .,
lib/fastjson-1.2.9.jar,
lib/hutool-all-5.0.7.jar,
@@ -49,5 +54,6 @@ Bundle-ClassPath: .,
lib/poi-ooxml-schemas-4.1.1.jar,
lib/poi-scratchpad-4.1.1.jar,
lib/xmlbeans-3.1.0.jar,
+ lib/commons-lang3-3.9.jar,
lib/ojdbc6.jar,
- lib/commons-lang3-3.9.jar
+ config/
diff --git a/com.connor.jd.plm/build.properties b/com.connor.jd.plm/build.properties
index 3886bc0..22a88a1 100644
--- a/com.connor.jd.plm/build.properties
+++ b/com.connor.jd.plm/build.properties
@@ -23,4 +23,6 @@ bin.includes = plugin.xml,\
lib/poi-scratchpad-4.1.1.jar,\
lib/xmlbeans-3.1.0.jar,\
lib/ojdbc6.jar,\
- lib/commons-lang3-3.9.jar
+ lib/commons-lang3-3.9.jar,\
+ config/
+
diff --git a/com.connor.jd.plm/config/db.setting b/com.connor.jd.plm/config/db.setting
new file mode 100644
index 0000000..6ad0551
--- /dev/null
+++ b/com.connor.jd.plm/config/db.setting
@@ -0,0 +1,14 @@
+## db.setting文件
+
+#url = jdbc:oracle:thin:@localhost:1521:TC
+url = jdbc:oracle:thin:@10.20.4.75:1521:TC12
+user = infodba
+pass = infodba
+
+## 可选配置
+# 是否在日志中显示执行的SQL
+showSql = true
+# 是否格式化显示的SQL
+formatSql = false
+# 是否显示SQL参数
+showParams = true
\ No newline at end of file
diff --git a/com.connor.jd.plm/plugin.xml b/com.connor.jd.plm/plugin.xml
index c92e6a3..6b58354 100644
--- a/com.connor.jd.plm/plugin.xml
+++ b/com.connor.jd.plm/plugin.xml
@@ -55,6 +55,7 @@
+
@@ -242,8 +243,6 @@
-
-
@@ -286,14 +285,13 @@
-
-
+
@@ -348,6 +346,7 @@
+