diff --git a/Readme.md b/Readme.md
index 0f444d2..bcd12ff 100644
--- a/Readme.md
+++ b/Readme.md
@@ -2,3 +2,4 @@
#### 效果图
![](image.png)
+
diff --git a/lib/report/fine-plugin-data-factory-2.3.3.jar b/lib/report/fine-plugin-data-factory-2.3.3.jar
deleted file mode 100644
index f375167..0000000
Binary files a/lib/report/fine-plugin-data-factory-2.3.3.jar and /dev/null differ
diff --git a/lib/report/fine-plugin-data-factory-2.5.7.jar b/lib/report/fine-plugin-data-factory-2.5.7.jar
new file mode 100644
index 0000000..45a1793
Binary files /dev/null and b/lib/report/fine-plugin-data-factory-2.5.7.jar differ
diff --git a/plugin.xml b/plugin.xml
index 8b0ec9b..b705ccd 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -4,7 +4,7 @@
yes
1.0
- 10.0
+ 10.0~11.0
2018-07-31
jee
+
+
+
-
+
\ No newline at end of file
diff --git a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFilter.java b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFilter.java
new file mode 100644
index 0000000..02cebbe
--- /dev/null
+++ b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFilter.java
@@ -0,0 +1,29 @@
+package com.fr.plugin.tptj.tabledata.factory.demo;
+
+import com.fr.general.data.TableDataException;
+import com.fr.log.FineLoggerFactory;
+import com.fr.stable.StringUtils;
+import com.tptj.plugin.hg.impl.AbstractFilter;
+import com.tptj.plugin.hg.stable.SimpleDataModel;
+
+public class DemoFilter extends AbstractFilter {
+ @Override
+ public SimpleDataModel doAction(SimpleDataModel simpleDataModel, String s) {
+ try {
+ simpleDataModel.removeColumn(simpleDataModel.getColumnCount() - 1);
+ } catch (TableDataException e) {
+ FineLoggerFactory.getLogger().error(e, "{}", e.getMessage());
+ }
+ return simpleDataModel;
+ }
+
+ @Override
+ public String getName() {
+ return "Demo_Filter";
+ }
+
+ @Override
+ public String getDefaultConfig() {
+ return StringUtils.EMPTY;
+ }
+}
diff --git a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFormatter.java b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFormatter.java
new file mode 100644
index 0000000..5f0f04c
--- /dev/null
+++ b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoFormatter.java
@@ -0,0 +1,26 @@
+package com.fr.plugin.tptj.tabledata.factory.demo;
+
+import com.tptj.plugin.hg.impl.AbstractFormatter;
+
+public class DemoFormatter extends AbstractFormatter {
+ @Override
+ public Object format(Object o, String s) {
+ String data = (String) o;
+ String[] lines = data.split("\n");
+ StringBuilder result = new StringBuilder();
+ for (int i = 1; i < lines.length; i++) {
+ result.append(lines[i]).append("\n");
+ }
+ return result.toString();
+ }
+
+ @Override
+ public String getName() {
+ return "Demo_Formatter";
+ }
+
+ @Override
+ public String getDefaultConfig() {
+ return "";
+ }
+}
diff --git a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoPreprocessor.java b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoPreprocessor.java
new file mode 100644
index 0000000..def9664
--- /dev/null
+++ b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoPreprocessor.java
@@ -0,0 +1,31 @@
+package com.fr.plugin.tptj.tabledata.factory.demo;
+
+import com.fr.base.Parameter;
+import com.fr.json.JSONObject;
+import com.fr.script.Calculator;
+import com.fr.stable.ParameterProvider;
+import com.tptj.plugin.hg.impl.AbstractPreprocessor;
+
+public class DemoPreprocessor extends AbstractPreprocessor {
+ @Override
+ public ParameterProvider[] process(Calculator calculator, String s) {
+
+ JSONObject jo = new JSONObject(s);
+ ParameterProvider[] results = new ParameterProvider[1];
+ results[0] = new Parameter("token", jo.get("token"));
+ //jo.get("token");
+ return results;
+ }
+
+ @Override
+ public String getName() {
+ return "Demo_PreProcess";
+ }
+
+ @Override
+ public String getDefaultConfig() {
+ return "{\n" +
+ " token:token\n" +
+ "}";
+ }
+}