diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index bc65cf7..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index de9ebf1..16d0c81 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,10 @@ log /src/main/jitu-src/ /target .idea/ +*.jar +*.log +.Ds_Store +*.iml src/main/java/.gitignore src/main/java/README.md !/src/main/resources/WEB-INF/prop/prop2map/*.properties diff --git a/ecology-weaver.iml b/ecology-weaver.iml deleted file mode 100644 index 47e0c99..0000000 --- a/ecology-weaver.iml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jitu-lib/FontBox-0.1.0-dev.jar b/jitu-lib/FontBox-0.1.0-dev.jar deleted file mode 100644 index c9030fe..0000000 Binary files a/jitu-lib/FontBox-0.1.0-dev.jar and /dev/null differ diff --git a/jitu-lib/MMAnalyzer.jar b/jitu-lib/MMAnalyzer.jar deleted file mode 100644 index 2e6e448..0000000 Binary files a/jitu-lib/MMAnalyzer.jar and /dev/null differ diff --git a/jitu-lib/Opta2000.jar b/jitu-lib/Opta2000.jar deleted file mode 100644 index 8e04fb5..0000000 Binary files a/jitu-lib/Opta2000.jar and /dev/null differ diff --git a/jitu-lib/PDFBox-0.7.3.jar b/jitu-lib/PDFBox-0.7.3.jar deleted file mode 100644 index f821d64..0000000 Binary files a/jitu-lib/PDFBox-0.7.3.jar and /dev/null differ diff --git a/jitu-lib/Partner.jar b/jitu-lib/Partner.jar deleted file mode 100644 index b3a45f7..0000000 Binary files a/jitu-lib/Partner.jar and /dev/null differ diff --git a/jitu-lib/US_export_policy.jar b/jitu-lib/US_export_policy.jar deleted file mode 100644 index a9b78c3..0000000 Binary files a/jitu-lib/US_export_policy.jar and /dev/null differ diff --git a/jitu-lib/WeaverBoot-E9.jar b/jitu-lib/WeaverBoot-E9.jar deleted file mode 100644 index a8573a3..0000000 Binary files a/jitu-lib/WeaverBoot-E9.jar and /dev/null differ diff --git a/jitu-lib/WkJavaApi.jar b/jitu-lib/WkJavaApi.jar deleted file mode 100644 index a167a62..0000000 Binary files a/jitu-lib/WkJavaApi.jar and /dev/null differ diff --git a/jitu-lib/XmlSchema-1.4.3.jar b/jitu-lib/XmlSchema-1.4.3.jar deleted file mode 100644 index 656eced..0000000 Binary files a/jitu-lib/XmlSchema-1.4.3.jar and /dev/null differ diff --git a/jitu-lib/activation-1.1.jar b/jitu-lib/activation-1.1.jar deleted file mode 100644 index 53f82a1..0000000 Binary files a/jitu-lib/activation-1.1.jar and /dev/null differ diff --git a/jitu-lib/activation.jar b/jitu-lib/activation.jar deleted file mode 100644 index 29a59a9..0000000 Binary files a/jitu-lib/activation.jar and /dev/null differ diff --git a/jitu-lib/asm-1.0.2.jar b/jitu-lib/asm-1.0.2.jar deleted file mode 100644 index 00764ec..0000000 Binary files a/jitu-lib/asm-1.0.2.jar and /dev/null differ diff --git a/jitu-lib/axiom-api-1.2.12.jar b/jitu-lib/axiom-api-1.2.12.jar deleted file mode 100644 index 4ee047d..0000000 Binary files a/jitu-lib/axiom-api-1.2.12.jar and /dev/null differ diff --git a/jitu-lib/axiom-impl-1.2.12.jar b/jitu-lib/axiom-impl-1.2.12.jar deleted file mode 100644 index 0929d8c..0000000 Binary files a/jitu-lib/axiom-impl-1.2.12.jar and /dev/null differ diff --git a/jitu-lib/axis2-adb-1.5.6.jar b/jitu-lib/axis2-adb-1.5.6.jar deleted file mode 100644 index c10c594..0000000 Binary files a/jitu-lib/axis2-adb-1.5.6.jar and /dev/null differ diff --git a/jitu-lib/axis2-kernel-1.5.6.jar b/jitu-lib/axis2-kernel-1.5.6.jar deleted file mode 100644 index 3b45700..0000000 Binary files a/jitu-lib/axis2-kernel-1.5.6.jar and /dev/null differ diff --git a/jitu-lib/axis2-transport-http-1.5.6.jar b/jitu-lib/axis2-transport-http-1.5.6.jar deleted file mode 100644 index babdaf3..0000000 Binary files a/jitu-lib/axis2-transport-http-1.5.6.jar and /dev/null differ diff --git a/jitu-lib/axis2-transport-local-1.5.6.jar b/jitu-lib/axis2-transport-local-1.5.6.jar deleted file mode 100644 index 3bdbe58..0000000 Binary files a/jitu-lib/axis2-transport-local-1.5.6.jar and /dev/null differ diff --git a/jitu-lib/bcmail-jdk14-132.jar b/jitu-lib/bcmail-jdk14-132.jar deleted file mode 100644 index 680f8c6..0000000 Binary files a/jitu-lib/bcmail-jdk14-132.jar and /dev/null differ diff --git a/jitu-lib/bcprov-ext-jdk15on-1.49.jar b/jitu-lib/bcprov-ext-jdk15on-1.49.jar deleted file mode 100644 index cb0e0be..0000000 Binary files a/jitu-lib/bcprov-ext-jdk15on-1.49.jar and /dev/null differ diff --git a/jitu-lib/bcprov-jdk14-132.jar b/jitu-lib/bcprov-jdk14-132.jar deleted file mode 100644 index 552721d..0000000 Binary files a/jitu-lib/bcprov-jdk14-132.jar and /dev/null differ diff --git a/jitu-lib/bcprov-jdk16-146.jar b/jitu-lib/bcprov-jdk16-146.jar deleted file mode 100644 index 27d3481..0000000 Binary files a/jitu-lib/bcprov-jdk16-146.jar and /dev/null differ diff --git a/jitu-lib/bouncycastle-jce-jdk13-112.jar b/jitu-lib/bouncycastle-jce-jdk13-112.jar deleted file mode 100644 index 0b56b95..0000000 Binary files a/jitu-lib/bouncycastle-jce-jdk13-112.jar and /dev/null differ diff --git a/jitu-lib/bsh-2[1].0b4.jar b/jitu-lib/bsh-2[1].0b4.jar deleted file mode 100644 index 36fe03d..0000000 Binary files a/jitu-lib/bsh-2[1].0b4.jar and /dev/null differ diff --git a/jitu-lib/c3p0-0.8.5.2.jar b/jitu-lib/c3p0-0.8.5.2.jar deleted file mode 100644 index 9b31270..0000000 Binary files a/jitu-lib/c3p0-0.8.5.2.jar and /dev/null differ diff --git a/jitu-lib/c3p0-oracle-thin-extras-0.8.5.2.jar b/jitu-lib/c3p0-oracle-thin-extras-0.8.5.2.jar deleted file mode 100644 index 480c62c..0000000 Binary files a/jitu-lib/c3p0-oracle-thin-extras-0.8.5.2.jar and /dev/null differ diff --git a/jitu-lib/castor.jar b/jitu-lib/castor.jar deleted file mode 100644 index d72dadd..0000000 Binary files a/jitu-lib/castor.jar and /dev/null differ diff --git a/jitu-lib/com.ibm.mq.commonservices.jar b/jitu-lib/com.ibm.mq.commonservices.jar deleted file mode 100644 index 24108d2..0000000 Binary files a/jitu-lib/com.ibm.mq.commonservices.jar and /dev/null differ diff --git a/jitu-lib/com.ibm.mq.headers.jar b/jitu-lib/com.ibm.mq.headers.jar deleted file mode 100644 index 263f37c..0000000 Binary files a/jitu-lib/com.ibm.mq.headers.jar and /dev/null differ diff --git a/jitu-lib/com.ibm.mq.jar b/jitu-lib/com.ibm.mq.jar deleted file mode 100644 index 60ffa78..0000000 Binary files a/jitu-lib/com.ibm.mq.jar and /dev/null differ diff --git a/jitu-lib/com.ibm.mq.jmqi.jar b/jitu-lib/com.ibm.mq.jmqi.jar deleted file mode 100644 index a8ccad7..0000000 Binary files a/jitu-lib/com.ibm.mq.jmqi.jar and /dev/null differ diff --git a/jitu-lib/com.ibm.mq.pcf.jar b/jitu-lib/com.ibm.mq.pcf.jar deleted file mode 100644 index 077c826..0000000 Binary files a/jitu-lib/com.ibm.mq.pcf.jar and /dev/null differ diff --git a/jitu-lib/commons-beanutils.jar b/jitu-lib/commons-beanutils.jar deleted file mode 100644 index 795655a..0000000 Binary files a/jitu-lib/commons-beanutils.jar and /dev/null differ diff --git a/jitu-lib/commons-codec-1.3.jar b/jitu-lib/commons-codec-1.3.jar deleted file mode 100644 index 957b675..0000000 Binary files a/jitu-lib/commons-codec-1.3.jar and /dev/null differ diff --git a/jitu-lib/commons-collections.jar b/jitu-lib/commons-collections.jar deleted file mode 100644 index fa5df82..0000000 Binary files a/jitu-lib/commons-collections.jar and /dev/null differ diff --git a/jitu-lib/commons-configuration-1.5.jar b/jitu-lib/commons-configuration-1.5.jar deleted file mode 100644 index e4f4362..0000000 Binary files a/jitu-lib/commons-configuration-1.5.jar and /dev/null differ diff --git a/jitu-lib/commons-dbcp-1.2.1.jar b/jitu-lib/commons-dbcp-1.2.1.jar deleted file mode 100644 index 08440c0..0000000 Binary files a/jitu-lib/commons-dbcp-1.2.1.jar and /dev/null differ diff --git a/jitu-lib/commons-discovery.jar b/jitu-lib/commons-discovery.jar deleted file mode 100644 index eff4db1..0000000 Binary files a/jitu-lib/commons-discovery.jar and /dev/null differ diff --git a/jitu-lib/commons-fileupload.jar b/jitu-lib/commons-fileupload.jar deleted file mode 100644 index 1ca4a9c..0000000 Binary files a/jitu-lib/commons-fileupload.jar and /dev/null differ diff --git a/jitu-lib/commons-httpclient-3.1.jar b/jitu-lib/commons-httpclient-3.1.jar deleted file mode 100644 index 7c59774..0000000 Binary files a/jitu-lib/commons-httpclient-3.1.jar and /dev/null differ diff --git a/jitu-lib/commons-io-1.3.1.jar b/jitu-lib/commons-io-1.3.1.jar deleted file mode 100644 index 7affdef..0000000 Binary files a/jitu-lib/commons-io-1.3.1.jar and /dev/null differ diff --git a/jitu-lib/commons-lang3-3.1.jar b/jitu-lib/commons-lang3-3.1.jar deleted file mode 100644 index 9dfdd0f..0000000 Binary files a/jitu-lib/commons-lang3-3.1.jar and /dev/null differ diff --git a/jitu-lib/commons-lang3-3.8.1.jar b/jitu-lib/commons-lang3-3.8.1.jar deleted file mode 100644 index 2c65ce6..0000000 Binary files a/jitu-lib/commons-lang3-3.8.1.jar and /dev/null differ diff --git a/jitu-lib/commons-logging-1.1.1.jar b/jitu-lib/commons-logging-1.1.1.jar deleted file mode 100644 index 1deef14..0000000 Binary files a/jitu-lib/commons-logging-1.1.1.jar and /dev/null differ diff --git a/jitu-lib/commons-logging.jar b/jitu-lib/commons-logging.jar deleted file mode 100644 index b69fffb..0000000 Binary files a/jitu-lib/commons-logging.jar and /dev/null differ diff --git a/jitu-lib/commons-net-3.1.jar b/jitu-lib/commons-net-3.1.jar deleted file mode 100644 index b75f1a5..0000000 Binary files a/jitu-lib/commons-net-3.1.jar and /dev/null differ diff --git a/jitu-lib/concurrent.jar b/jitu-lib/concurrent.jar deleted file mode 100644 index 1ad2d95..0000000 Binary files a/jitu-lib/concurrent.jar and /dev/null differ diff --git a/jitu-lib/config-sdk-1.0.3.jar b/jitu-lib/config-sdk-1.0.3.jar deleted file mode 100644 index 7727c97..0000000 Binary files a/jitu-lib/config-sdk-1.0.3.jar and /dev/null differ diff --git a/jitu-lib/connector.jar b/jitu-lib/connector.jar deleted file mode 100644 index 438c315..0000000 Binary files a/jitu-lib/connector.jar and /dev/null differ diff --git a/jitu-lib/csvjdbc.jar b/jitu-lib/csvjdbc.jar deleted file mode 100644 index 5934210..0000000 Binary files a/jitu-lib/csvjdbc.jar and /dev/null differ diff --git a/jitu-lib/ddjdbc.jar b/jitu-lib/ddjdbc.jar deleted file mode 100644 index f36011e..0000000 Binary files a/jitu-lib/ddjdbc.jar and /dev/null differ diff --git a/jitu-lib/dom.jar b/jitu-lib/dom.jar deleted file mode 100644 index 465c251..0000000 Binary files a/jitu-lib/dom.jar and /dev/null differ diff --git a/jitu-lib/dom4j.jar b/jitu-lib/dom4j.jar deleted file mode 100644 index 2a58756..0000000 Binary files a/jitu-lib/dom4j.jar and /dev/null differ diff --git a/jitu-lib/easyexcel-1.1.1.jar b/jitu-lib/easyexcel-1.1.1.jar deleted file mode 100644 index 9035e91..0000000 Binary files a/jitu-lib/easyexcel-1.1.1.jar and /dev/null differ diff --git a/jitu-lib/ecology9_2011.jar b/jitu-lib/ecology9_2011.jar deleted file mode 100644 index f55d954..0000000 Binary files a/jitu-lib/ecology9_2011.jar and /dev/null differ diff --git a/jitu-lib/ejb-15.jar b/jitu-lib/ejb-15.jar deleted file mode 100644 index 0fdd31f..0000000 Binary files a/jitu-lib/ejb-15.jar and /dev/null differ diff --git a/jitu-lib/ezmorph-1.0.4.jar b/jitu-lib/ezmorph-1.0.4.jar deleted file mode 100644 index 7625af6..0000000 Binary files a/jitu-lib/ezmorph-1.0.4.jar and /dev/null differ diff --git a/jitu-lib/fastjson-1.1.31.jar b/jitu-lib/fastjson-1.1.31.jar deleted file mode 100644 index 2131dd8..0000000 Binary files a/jitu-lib/fastjson-1.1.31.jar and /dev/null differ diff --git a/jitu-lib/fontbox-1.5.0.jar b/jitu-lib/fontbox-1.5.0.jar deleted file mode 100644 index 7a91fbe..0000000 Binary files a/jitu-lib/fontbox-1.5.0.jar and /dev/null differ diff --git a/jitu-lib/force-wsc-42.0.0.jar b/jitu-lib/force-wsc-42.0.0.jar deleted file mode 100644 index 9f45e68..0000000 Binary files a/jitu-lib/force-wsc-42.0.0.jar and /dev/null differ diff --git a/jitu-lib/freemarker-2.3.8.jar b/jitu-lib/freemarker-2.3.8.jar deleted file mode 100644 index 737bfb5..0000000 Binary files a/jitu-lib/freemarker-2.3.8.jar and /dev/null differ diff --git a/jitu-lib/generic-axis1.3-api-100525.jar b/jitu-lib/generic-axis1.3-api-100525.jar deleted file mode 100644 index 68de785..0000000 Binary files a/jitu-lib/generic-axis1.3-api-100525.jar and /dev/null differ diff --git a/jitu-lib/geronimo-stax-api_1.0_spec-1.0.1.jar b/jitu-lib/geronimo-stax-api_1.0_spec-1.0.1.jar deleted file mode 100644 index ab1ee3b..0000000 Binary files a/jitu-lib/geronimo-stax-api_1.0_spec-1.0.1.jar and /dev/null differ diff --git a/jitu-lib/gson-2.8.5.jar b/jitu-lib/gson-2.8.5.jar deleted file mode 100644 index 0d5baf3..0000000 Binary files a/jitu-lib/gson-2.8.5.jar and /dev/null differ diff --git a/jitu-lib/h4a-sdk-1.0.5.jar b/jitu-lib/h4a-sdk-1.0.5.jar deleted file mode 100644 index 184485a..0000000 Binary files a/jitu-lib/h4a-sdk-1.0.5.jar and /dev/null differ diff --git a/jitu-lib/hessian.jar b/jitu-lib/hessian.jar deleted file mode 100644 index b0cd41a..0000000 Binary files a/jitu-lib/hessian.jar and /dev/null differ diff --git a/jitu-lib/hivemind.jar b/jitu-lib/hivemind.jar deleted file mode 100644 index f2e7641..0000000 Binary files a/jitu-lib/hivemind.jar and /dev/null differ diff --git a/jitu-lib/httpclient-4.4.1.jar b/jitu-lib/httpclient-4.4.1.jar deleted file mode 100644 index b80d379..0000000 Binary files a/jitu-lib/httpclient-4.4.1.jar and /dev/null differ diff --git a/jitu-lib/httpcore-4.4.1.jar b/jitu-lib/httpcore-4.4.1.jar deleted file mode 100644 index 99715b6..0000000 Binary files a/jitu-lib/httpcore-4.4.1.jar and /dev/null differ diff --git a/jitu-lib/httpmime-4.1.1.jar b/jitu-lib/httpmime-4.1.1.jar deleted file mode 100644 index 01af40b..0000000 Binary files a/jitu-lib/httpmime-4.1.1.jar and /dev/null differ diff --git a/jitu-lib/httpmime-4.3.1.jar b/jitu-lib/httpmime-4.3.1.jar deleted file mode 100644 index 2b26d7a..0000000 Binary files a/jitu-lib/httpmime-4.3.1.jar and /dev/null differ diff --git a/jitu-lib/iTextAsian.jar b/jitu-lib/iTextAsian.jar deleted file mode 100644 index 3267e58..0000000 Binary files a/jitu-lib/iTextAsian.jar and /dev/null differ diff --git a/jitu-lib/ibatis-common-2.jar b/jitu-lib/ibatis-common-2.jar deleted file mode 100644 index 3043259..0000000 Binary files a/jitu-lib/ibatis-common-2.jar and /dev/null differ diff --git a/jitu-lib/ibatis-dao-2.jar b/jitu-lib/ibatis-dao-2.jar deleted file mode 100644 index 73320ed..0000000 Binary files a/jitu-lib/ibatis-dao-2.jar and /dev/null differ diff --git a/jitu-lib/ibatis-sqlmap-2.jar b/jitu-lib/ibatis-sqlmap-2.jar deleted file mode 100644 index 4ae75e5..0000000 Binary files a/jitu-lib/ibatis-sqlmap-2.jar and /dev/null differ diff --git a/jitu-lib/ifxjdbc221_CE.jar b/jitu-lib/ifxjdbc221_CE.jar deleted file mode 100644 index 0dff51b..0000000 Binary files a/jitu-lib/ifxjdbc221_CE.jar and /dev/null differ diff --git a/jitu-lib/j2ee-management-10.jar b/jitu-lib/j2ee-management-10.jar deleted file mode 100644 index 5753660..0000000 Binary files a/jitu-lib/j2ee-management-10.jar and /dev/null differ diff --git a/jitu-lib/jackson-annotations-2.1.0.jar b/jitu-lib/jackson-annotations-2.1.0.jar deleted file mode 100644 index e4ca559..0000000 Binary files a/jitu-lib/jackson-annotations-2.1.0.jar and /dev/null differ diff --git a/jitu-lib/jackson-core-2.1.0.jar b/jitu-lib/jackson-core-2.1.0.jar deleted file mode 100644 index 6899eda..0000000 Binary files a/jitu-lib/jackson-core-2.1.0.jar and /dev/null differ diff --git a/jitu-lib/jackson-databind-2.1.0.jar b/jitu-lib/jackson-databind-2.1.0.jar deleted file mode 100644 index 5eceb00..0000000 Binary files a/jitu-lib/jackson-databind-2.1.0.jar and /dev/null differ diff --git a/jitu-lib/jai_codec.jar b/jitu-lib/jai_codec.jar deleted file mode 100644 index 7f59ad2..0000000 Binary files a/jitu-lib/jai_codec.jar and /dev/null differ diff --git a/jitu-lib/jai_core.jar b/jitu-lib/jai_core.jar deleted file mode 100644 index 69cd233..0000000 Binary files a/jitu-lib/jai_core.jar and /dev/null differ diff --git a/jitu-lib/jakarta-oro-2.0.8.jar b/jitu-lib/jakarta-oro-2.0.8.jar deleted file mode 100644 index 23488d2..0000000 Binary files a/jitu-lib/jakarta-oro-2.0.8.jar and /dev/null differ diff --git a/jitu-lib/jakarta-poi-1.9.0-dev-20021010.jar b/jitu-lib/jakarta-poi-1.9.0-dev-20021010.jar deleted file mode 100644 index d86b1b0..0000000 Binary files a/jitu-lib/jakarta-poi-1.9.0-dev-20021010.jar and /dev/null differ diff --git a/jitu-lib/java-jwt-3.4.0.jar b/jitu-lib/java-jwt-3.4.0.jar deleted file mode 100644 index 4785c3f..0000000 Binary files a/jitu-lib/java-jwt-3.4.0.jar and /dev/null differ diff --git a/jitu-lib/javaee-api-7.0.jar b/jitu-lib/javaee-api-7.0.jar deleted file mode 100644 index dbdd028..0000000 Binary files a/jitu-lib/javaee-api-7.0.jar and /dev/null differ diff --git a/jitu-lib/javassist.jar b/jitu-lib/javassist.jar deleted file mode 100644 index 57bbf97..0000000 Binary files a/jitu-lib/javassist.jar and /dev/null differ diff --git a/jitu-lib/javax.mail-1.5.0.jar b/jitu-lib/javax.mail-1.5.0.jar deleted file mode 100644 index f27414b..0000000 Binary files a/jitu-lib/javax.mail-1.5.0.jar and /dev/null differ diff --git a/jitu-lib/jaws.jar b/jitu-lib/jaws.jar deleted file mode 100644 index 443e8cd..0000000 Binary files a/jitu-lib/jaws.jar and /dev/null differ diff --git a/jitu-lib/jaxen-core.jar b/jitu-lib/jaxen-core.jar deleted file mode 100644 index e52bf67..0000000 Binary files a/jitu-lib/jaxen-core.jar and /dev/null differ diff --git a/jitu-lib/jaxen-jdom.jar b/jitu-lib/jaxen-jdom.jar deleted file mode 100644 index 978bd02..0000000 Binary files a/jitu-lib/jaxen-jdom.jar and /dev/null differ diff --git a/jitu-lib/jaxrpc-15.jar b/jitu-lib/jaxrpc-15.jar deleted file mode 100644 index 5cd98c7..0000000 Binary files a/jitu-lib/jaxrpc-15.jar and /dev/null differ diff --git a/jitu-lib/jaxrpc.jar b/jitu-lib/jaxrpc.jar deleted file mode 100644 index 6c8fd67..0000000 Binary files a/jitu-lib/jaxrpc.jar and /dev/null differ diff --git a/jitu-lib/jaxws-api.jar b/jitu-lib/jaxws-api.jar deleted file mode 100644 index 9f937c0..0000000 Binary files a/jitu-lib/jaxws-api.jar and /dev/null differ diff --git a/jitu-lib/jca-15.jar b/jitu-lib/jca-15.jar deleted file mode 100644 index ec31259..0000000 Binary files a/jitu-lib/jca-15.jar and /dev/null differ diff --git a/jitu-lib/jce1_2_2.jar b/jitu-lib/jce1_2_2.jar deleted file mode 100644 index 666a7e7..0000000 Binary files a/jitu-lib/jce1_2_2.jar and /dev/null differ diff --git a/jitu-lib/jconn2.jar b/jitu-lib/jconn2.jar deleted file mode 100644 index b90040c..0000000 Binary files a/jitu-lib/jconn2.jar and /dev/null differ diff --git a/jitu-lib/jdbc2_0-stdext.jar b/jitu-lib/jdbc2_0-stdext.jar deleted file mode 100644 index ddafa13..0000000 Binary files a/jitu-lib/jdbc2_0-stdext.jar and /dev/null differ diff --git a/jitu-lib/jdom.jar b/jitu-lib/jdom.jar deleted file mode 100644 index 288e64c..0000000 Binary files a/jitu-lib/jdom.jar and /dev/null differ diff --git a/jitu-lib/jgroups-all.jar b/jitu-lib/jgroups-all.jar deleted file mode 100644 index e0ac5ea..0000000 Binary files a/jitu-lib/jgroups-all.jar and /dev/null differ diff --git a/jitu-lib/jjwt-0.6.0.jar b/jitu-lib/jjwt-0.6.0.jar deleted file mode 100644 index 7b16b42..0000000 Binary files a/jitu-lib/jjwt-0.6.0.jar and /dev/null differ diff --git a/jitu-lib/jms-11.jar b/jitu-lib/jms-11.jar deleted file mode 100644 index b2afb97..0000000 Binary files a/jitu-lib/jms-11.jar and /dev/null differ diff --git a/jitu-lib/jmx.jar b/jitu-lib/jmx.jar deleted file mode 100644 index bb60029..0000000 Binary files a/jitu-lib/jmx.jar and /dev/null differ diff --git a/jitu-lib/jndi.jar b/jitu-lib/jndi.jar deleted file mode 100644 index 52baa1c..0000000 Binary files a/jitu-lib/jndi.jar and /dev/null differ diff --git a/jitu-lib/jpa-15.jar b/jitu-lib/jpa-15.jar deleted file mode 100644 index 011fda3..0000000 Binary files a/jitu-lib/jpa-15.jar and /dev/null differ diff --git a/jitu-lib/jsdk-15.jar b/jitu-lib/jsdk-15.jar deleted file mode 100644 index 5ec34c5..0000000 Binary files a/jitu-lib/jsdk-15.jar and /dev/null differ diff --git a/jitu-lib/jsdk22.jar b/jitu-lib/jsdk22.jar deleted file mode 100644 index 4ef6fd9..0000000 Binary files a/jitu-lib/jsdk22.jar and /dev/null differ diff --git a/jitu-lib/jsf-12.jar b/jitu-lib/jsf-12.jar deleted file mode 100644 index 0221f8d..0000000 Binary files a/jitu-lib/jsf-12.jar and /dev/null differ diff --git a/jitu-lib/json-lib-2.2.1-jdk13.jar b/jitu-lib/json-lib-2.2.1-jdk13.jar deleted file mode 100644 index f434570..0000000 Binary files a/jitu-lib/json-lib-2.2.1-jdk13.jar and /dev/null differ diff --git a/jitu-lib/json-lib-2.4-jdk15.jar b/jitu-lib/json-lib-2.4-jdk15.jar deleted file mode 100644 index 68d4f3b..0000000 Binary files a/jitu-lib/json-lib-2.4-jdk15.jar and /dev/null differ diff --git a/jitu-lib/json-path-2.0.0.jar b/jitu-lib/json-path-2.0.0.jar deleted file mode 100644 index 2076c58..0000000 Binary files a/jitu-lib/json-path-2.0.0.jar and /dev/null differ diff --git a/jitu-lib/json-smart-2.1.1.jar b/jitu-lib/json-smart-2.1.1.jar deleted file mode 100644 index abb8c32..0000000 Binary files a/jitu-lib/json-smart-2.1.1.jar and /dev/null differ diff --git a/jitu-lib/jsoup-1.6.1.jar b/jitu-lib/jsoup-1.6.1.jar deleted file mode 100644 index 87126a4..0000000 Binary files a/jitu-lib/jsoup-1.6.1.jar and /dev/null differ diff --git a/jitu-lib/jsr88.jar b/jitu-lib/jsr88.jar deleted file mode 100644 index 64cfee7..0000000 Binary files a/jitu-lib/jsr88.jar and /dev/null differ diff --git a/jitu-lib/jstl-11.jar b/jitu-lib/jstl-11.jar deleted file mode 100644 index 34e943a..0000000 Binary files a/jitu-lib/jstl-11.jar and /dev/null differ diff --git a/jitu-lib/jta-101.jar b/jitu-lib/jta-101.jar deleted file mode 100644 index db90071..0000000 Binary files a/jitu-lib/jta-101.jar and /dev/null differ diff --git a/jitu-lib/jta-spec1_0_1.jar b/jitu-lib/jta-spec1_0_1.jar deleted file mode 100644 index 705e8c8..0000000 Binary files a/jitu-lib/jta-spec1_0_1.jar and /dev/null differ diff --git a/jitu-lib/jtds-1.2.2.jar b/jitu-lib/jtds-1.2.2.jar deleted file mode 100644 index d0d8c95..0000000 Binary files a/jitu-lib/jtds-1.2.2.jar and /dev/null differ diff --git a/jitu-lib/jws-15.jar b/jitu-lib/jws-15.jar deleted file mode 100644 index 00948ce..0000000 Binary files a/jitu-lib/jws-15.jar and /dev/null differ diff --git a/jitu-lib/k3cloud-webapi-client.jar b/jitu-lib/k3cloud-webapi-client.jar deleted file mode 100644 index bd63987..0000000 Binary files a/jitu-lib/k3cloud-webapi-client.jar and /dev/null differ diff --git a/jitu-lib/local_policy.jar b/jitu-lib/local_policy.jar deleted file mode 100644 index 1754fe0..0000000 Binary files a/jitu-lib/local_policy.jar and /dev/null differ diff --git a/jitu-lib/log4j-1.2.13.jar b/jitu-lib/log4j-1.2.13.jar deleted file mode 100644 index dde9972..0000000 Binary files a/jitu-lib/log4j-1.2.13.jar and /dev/null differ diff --git a/jitu-lib/lucene-core-2.1.0.jar b/jitu-lib/lucene-core-2.1.0.jar deleted file mode 100644 index 6660095..0000000 Binary files a/jitu-lib/lucene-core-2.1.0.jar and /dev/null differ diff --git a/jitu-lib/lucene-highlighter-2.1.0.jar b/jitu-lib/lucene-highlighter-2.1.0.jar deleted file mode 100644 index bc034c2..0000000 Binary files a/jitu-lib/lucene-highlighter-2.1.0.jar and /dev/null differ diff --git a/jitu-lib/mail-1.4.jar b/jitu-lib/mail-1.4.jar deleted file mode 100644 index fd4555b..0000000 Binary files a/jitu-lib/mail-1.4.jar and /dev/null differ diff --git a/jitu-lib/mlibwrapper_jai.jar b/jitu-lib/mlibwrapper_jai.jar deleted file mode 100644 index 7cbf4ce..0000000 Binary files a/jitu-lib/mlibwrapper_jai.jar and /dev/null differ diff --git a/jitu-lib/msbase.jar b/jitu-lib/msbase.jar deleted file mode 100644 index 04b02a4..0000000 Binary files a/jitu-lib/msbase.jar and /dev/null differ diff --git a/jitu-lib/mssqlserver.jar b/jitu-lib/mssqlserver.jar deleted file mode 100644 index d48528f..0000000 Binary files a/jitu-lib/mssqlserver.jar and /dev/null differ diff --git a/jitu-lib/msutil.jar b/jitu-lib/msutil.jar deleted file mode 100644 index 9481c4e..0000000 Binary files a/jitu-lib/msutil.jar and /dev/null differ diff --git a/jitu-lib/mysql-connector-java-3.1.11-bin.jar b/jitu-lib/mysql-connector-java-3.1.11-bin.jar deleted file mode 100644 index 96dd865..0000000 Binary files a/jitu-lib/mysql-connector-java-3.1.11-bin.jar and /dev/null differ diff --git a/jitu-lib/mysql_both_uncomp.jar b/jitu-lib/mysql_both_uncomp.jar deleted file mode 100644 index 657ed35..0000000 Binary files a/jitu-lib/mysql_both_uncomp.jar and /dev/null differ diff --git a/jitu-lib/neethi-2.0.5.jar b/jitu-lib/neethi-2.0.5.jar deleted file mode 100644 index 0b8703b..0000000 Binary files a/jitu-lib/neethi-2.0.5.jar and /dev/null differ diff --git a/jitu-lib/ngdbc.jar b/jitu-lib/ngdbc.jar deleted file mode 100644 index 35de13b..0000000 Binary files a/jitu-lib/ngdbc.jar and /dev/null differ diff --git a/jitu-lib/ojdbc14.jar b/jitu-lib/ojdbc14.jar deleted file mode 100644 index be9b8a4..0000000 Binary files a/jitu-lib/ojdbc14.jar and /dev/null differ diff --git a/jitu-lib/okhttp-3.3.0.jar b/jitu-lib/okhttp-3.3.0.jar deleted file mode 100644 index cbcfa64..0000000 Binary files a/jitu-lib/okhttp-3.3.0.jar and /dev/null differ diff --git a/jitu-lib/okio-1.8.0.jar b/jitu-lib/okio-1.8.0.jar deleted file mode 100644 index bb70f75..0000000 Binary files a/jitu-lib/okio-1.8.0.jar and /dev/null differ diff --git a/jitu-lib/onlinedebug.jar b/jitu-lib/onlinedebug.jar deleted file mode 100644 index 143ece2..0000000 Binary files a/jitu-lib/onlinedebug.jar and /dev/null differ diff --git a/jitu-lib/pdfbox-1.5.0.jar b/jitu-lib/pdfbox-1.5.0.jar deleted file mode 100644 index f11f4c1..0000000 Binary files a/jitu-lib/pdfbox-1.5.0.jar and /dev/null differ diff --git a/jitu-lib/pinyin4j.jar b/jitu-lib/pinyin4j.jar deleted file mode 100644 index e8ede13..0000000 Binary files a/jitu-lib/pinyin4j.jar and /dev/null differ diff --git a/jitu-lib/poi-2.5.1-final-20040804.jar b/jitu-lib/poi-2.5.1-final-20040804.jar deleted file mode 100644 index 149b801..0000000 Binary files a/jitu-lib/poi-2.5.1-final-20040804.jar and /dev/null differ diff --git a/jitu-lib/poi-contrib-2.5.1-final-20040804.jar b/jitu-lib/poi-contrib-2.5.1-final-20040804.jar deleted file mode 100644 index 95123a8..0000000 Binary files a/jitu-lib/poi-contrib-2.5.1-final-20040804.jar and /dev/null differ diff --git a/jitu-lib/poi-scratchpad-2.5.1-final-20040804.jar b/jitu-lib/poi-scratchpad-2.5.1-final-20040804.jar deleted file mode 100644 index fef6e3d..0000000 Binary files a/jitu-lib/poi-scratchpad-2.5.1-final-20040804.jar and /dev/null differ diff --git a/jitu-lib/portlet-10.jar b/jitu-lib/portlet-10.jar deleted file mode 100644 index ad7aadc..0000000 Binary files a/jitu-lib/portlet-10.jar and /dev/null differ diff --git a/jitu-lib/proxool-0.9.0RC2.jar b/jitu-lib/proxool-0.9.0RC2.jar deleted file mode 100644 index 827aa77..0000000 Binary files a/jitu-lib/proxool-0.9.0RC2.jar and /dev/null differ diff --git a/jitu-lib/qiyuesuo-public-2.6.0-jdk6.jar b/jitu-lib/qiyuesuo-public-2.6.0-jdk6.jar deleted file mode 100644 index 36d872f..0000000 Binary files a/jitu-lib/qiyuesuo-public-2.6.0-jdk6.jar and /dev/null differ diff --git a/jitu-lib/quartz.jar b/jitu-lib/quartz.jar deleted file mode 100644 index fb653cc..0000000 Binary files a/jitu-lib/quartz.jar and /dev/null differ diff --git a/jitu-lib/quercus.jar b/jitu-lib/quercus.jar deleted file mode 100644 index df081f9..0000000 Binary files a/jitu-lib/quercus.jar and /dev/null differ diff --git a/jitu-lib/resin-deploy.jar b/jitu-lib/resin-deploy.jar deleted file mode 100644 index 3cc5df2..0000000 Binary files a/jitu-lib/resin-deploy.jar and /dev/null differ diff --git a/jitu-lib/resin-hook.jar b/jitu-lib/resin-hook.jar deleted file mode 100644 index 1df6956..0000000 Binary files a/jitu-lib/resin-hook.jar and /dev/null differ diff --git a/jitu-lib/resin-util.jar b/jitu-lib/resin-util.jar deleted file mode 100644 index 38ce252..0000000 Binary files a/jitu-lib/resin-util.jar and /dev/null differ diff --git a/jitu-lib/resin.jar b/jitu-lib/resin.jar deleted file mode 100644 index 0857cb8..0000000 Binary files a/jitu-lib/resin.jar and /dev/null differ diff --git a/jitu-lib/rt.jar b/jitu-lib/rt.jar deleted file mode 100644 index 2b3d9cf..0000000 Binary files a/jitu-lib/rt.jar and /dev/null differ diff --git a/jitu-lib/saaj.jar b/jitu-lib/saaj.jar deleted file mode 100644 index 44c4e86..0000000 Binary files a/jitu-lib/saaj.jar and /dev/null differ diff --git a/jitu-lib/sac.jar b/jitu-lib/sac.jar deleted file mode 100644 index 6ff0b70..0000000 Binary files a/jitu-lib/sac.jar and /dev/null differ diff --git a/jitu-lib/sapjco3.jar b/jitu-lib/sapjco3.jar deleted file mode 100644 index 2abce67..0000000 Binary files a/jitu-lib/sapjco3.jar and /dev/null differ diff --git a/jitu-lib/sax.jar b/jitu-lib/sax.jar deleted file mode 100644 index 7898180..0000000 Binary files a/jitu-lib/sax.jar and /dev/null differ diff --git a/jitu-lib/saxpath.jar b/jitu-lib/saxpath.jar deleted file mode 100644 index 2b43955..0000000 Binary files a/jitu-lib/saxpath.jar and /dev/null differ diff --git a/jitu-lib/script-10.jar b/jitu-lib/script-10.jar deleted file mode 100644 index 0ec2eeb..0000000 Binary files a/jitu-lib/script-10.jar and /dev/null differ diff --git a/jitu-lib/spring-core-5.2.6.RELEASE.jar b/jitu-lib/spring-core-5.2.6.RELEASE.jar deleted file mode 100644 index 92c02c4..0000000 Binary files a/jitu-lib/spring-core-5.2.6.RELEASE.jar and /dev/null differ diff --git a/jitu-lib/sqljdbc.jar b/jitu-lib/sqljdbc.jar deleted file mode 100644 index 240872c..0000000 Binary files a/jitu-lib/sqljdbc.jar and /dev/null differ diff --git a/jitu-lib/sso-sdk-1.0.2.jar b/jitu-lib/sso-sdk-1.0.2.jar deleted file mode 100644 index 52d5523..0000000 Binary files a/jitu-lib/sso-sdk-1.0.2.jar and /dev/null differ diff --git a/jitu-lib/sunjce_provider.jar b/jitu-lib/sunjce_provider.jar deleted file mode 100644 index 30fae04..0000000 Binary files a/jitu-lib/sunjce_provider.jar and /dev/null differ diff --git a/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127-source.jar b/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127-source.jar deleted file mode 100644 index 8074ca2..0000000 Binary files a/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127-source.jar and /dev/null differ diff --git a/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127.jar b/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127.jar deleted file mode 100644 index 05af30c..0000000 Binary files a/jitu-lib/taobao-sdk-java-auto_1479188381469-20190127.jar and /dev/null differ diff --git a/jitu-lib/tm-extractors-0.4.jar b/jitu-lib/tm-extractors-0.4.jar deleted file mode 100644 index 701b712..0000000 Binary files a/jitu-lib/tm-extractors-0.4.jar and /dev/null differ diff --git a/jitu-lib/truezip-6.6.jar b/jitu-lib/truezip-6.6.jar deleted file mode 100644 index 1bf79fa..0000000 Binary files a/jitu-lib/truezip-6.6.jar and /dev/null differ diff --git a/jitu-lib/wbi_core.jar b/jitu-lib/wbi_core.jar deleted file mode 100644 index bbf0add..0000000 Binary files a/jitu-lib/wbi_core.jar and /dev/null differ diff --git a/jitu-lib/webbeans-16.jar b/jitu-lib/webbeans-16.jar deleted file mode 100644 index 525e20c..0000000 Binary files a/jitu-lib/webbeans-16.jar and /dev/null differ diff --git a/jitu-lib/webutil.jar b/jitu-lib/webutil.jar deleted file mode 100644 index 607cfe1..0000000 Binary files a/jitu-lib/webutil.jar and /dev/null differ diff --git a/jitu-lib/wsdl4j-1.5.1.jar b/jitu-lib/wsdl4j-1.5.1.jar deleted file mode 100644 index 8d1a01d..0000000 Binary files a/jitu-lib/wsdl4j-1.5.1.jar and /dev/null differ diff --git a/jitu-lib/wsdl4j-1.6.2.jar b/jitu-lib/wsdl4j-1.6.2.jar deleted file mode 100644 index 3b17553..0000000 Binary files a/jitu-lib/wsdl4j-1.6.2.jar and /dev/null differ diff --git a/jitu-lib/wsdl4j.jar b/jitu-lib/wsdl4j.jar deleted file mode 100644 index b9c10b9..0000000 Binary files a/jitu-lib/wsdl4j.jar and /dev/null differ diff --git a/jitu-lib/wstx-asl-3.2.9.jar b/jitu-lib/wstx-asl-3.2.9.jar deleted file mode 100644 index ffdbd1f..0000000 Binary files a/jitu-lib/wstx-asl-3.2.9.jar and /dev/null differ diff --git a/jitu-lib/xalan.jar b/jitu-lib/xalan.jar deleted file mode 100644 index b8f2575..0000000 Binary files a/jitu-lib/xalan.jar and /dev/null differ diff --git a/jitu-lib/xerces.jar b/jitu-lib/xerces.jar deleted file mode 100644 index d72dadd..0000000 Binary files a/jitu-lib/xerces.jar and /dev/null differ diff --git a/jitu-lib/xml-apis.jar b/jitu-lib/xml-apis.jar deleted file mode 100644 index 2dd8377..0000000 Binary files a/jitu-lib/xml-apis.jar and /dev/null differ diff --git a/src/.DS_Store b/src/.DS_Store deleted file mode 100644 index 35f7ab0..0000000 Binary files a/src/.DS_Store and /dev/null differ diff --git a/src/main/.DS_Store b/src/main/.DS_Store deleted file mode 100644 index 97993d9..0000000 Binary files a/src/main/.DS_Store and /dev/null differ diff --git a/src/main/java b/src/main/java new file mode 160000 index 0000000..9172551 --- /dev/null +++ b/src/main/java @@ -0,0 +1 @@ +Subproject commit 91725513d57f3903aa41d145bf26a013fa7864c2 diff --git a/src/main/java/aiyh/utils/ApiResult.java b/src/main/java/aiyh/utils/ApiResult.java deleted file mode 100644 index 74e6e88..0000000 --- a/src/main/java/aiyh/utils/ApiResult.java +++ /dev/null @@ -1,65 +0,0 @@ -package aiyh.utils; - -import com.alibaba.fastjson.JSON; - - -/** - * @author EBU7-dev1-ayh - * @create 2021/8/27 0027 10:21 - * api调用结果类封装 - */ - - -public class ApiResult { - private final int code; - private final String msg; - private final Object data; - - public ApiResult(int code, String msg, Object data) { - this.code = code; - this.msg = msg; - this.data = data; - } - - - public static String successNoData() { - return ApiResult.success(null, 200, "请求成功!"); - } - - public static String success(Object data) { - return ApiResult.success(data, 200, "请求成功!"); - } - - public static String success(Object data, String msg) { - return ApiResult.success(data, 200, msg); - } - - public static String success(Object data, int code, String msg) { - return JSON.toJSONString(new ApiResult(code, msg, data)); - } - - public static String error() { - return ApiResult.error(0, "服务器异常!"); - } - - public static String error(String msg) { - return ApiResult.error(0, msg); - } - - public static String error(int code, String msg) { - return JSON.toJSONString(new ApiResult(code, msg, null)); - } - - public int getCode() { - return code; - } - - public String getMsg() { - return msg; - } - - public Object getData() { - return data; - } - -} diff --git a/src/main/java/aiyh/utils/GenerateFileUtil.java b/src/main/java/aiyh/utils/GenerateFileUtil.java deleted file mode 100644 index 54b3cda..0000000 --- a/src/main/java/aiyh/utils/GenerateFileUtil.java +++ /dev/null @@ -1,224 +0,0 @@ -package aiyh.utils; - -import aiyh.utils.annotation.ActionDefaultTestValue; -import aiyh.utils.annotation.ActionDesc; -import aiyh.utils.annotation.ActionOptionalParam; -import aiyh.utils.annotation.RequiredMark; -import aiyh.utils.entity.ActionTemplate; -import aiyh.utils.excention.CustomerException; -import org.apache.log4j.Logger; -import org.apache.velocity.Template; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; -import org.apache.velocity.app.VelocityEngine; -import weaver.interfaces.schedule.BaseCronJob; -import weaver.interfaces.workflow.action.Action; - -import java.io.*; -import java.lang.reflect.Field; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - *

生成文档工具类

- *

create 2022/7/14 23:36

- * - * @author ayh - */ - -public class GenerateFileUtil { - - private static final Logger log = Util.getLogger(); - - - /** - *

根据Action类生成Action配置文档

- * - * @param tClass Action类 - * @param Action接口 - */ - @SafeVarargs - public static void createActionDocument(Class... tClass) { - for (Class aClass : tClass) { - createDocument(aClass, 1); - } - } - - - /** - *

根据定时任务类生成定时任务配置文档

- * - * @param tClass 定时任务类 - * @param Action接口 - */ - @SafeVarargs - public static void createCronJobDocument(Class... tClass) { - for (Class aClass : tClass) { - createDocument(aClass, 2); - } - } - - /** - *

根据类生成配置文档

- * - * @param tClass 类 - * @param 接口 - */ - private static void createDocument(Class tClass, Integer type) { - if (tClass == null) { - return; - } - if (!tClass.isAnnotationPresent(ActionDesc.class)) { - log.info(Util.logStr("[{}] has not ActionDesc annotation!", tClass.getName())); - return; - } - ActionDesc actionDesc = tClass.getAnnotation(ActionDesc.class); - String author = actionDesc.author(); - String actionDescValue = actionDesc.value(); - String actionName = tClass.getSimpleName(); - String actionAllPathName = tClass.getName(); - List> paramList = new ArrayList<>(); - for (Field declaredField : tClass.getDeclaredFields()) { - boolean hasRequired = declaredField.isAnnotationPresent(RequiredMark.class); - String name = declaredField.getName(); - if (hasRequired) { -// 必填参数 - RequiredMark requiredMark = declaredField.getAnnotation(RequiredMark.class); - String fieldDesc = requiredMark.value(); - Map param = new HashMap<>(); - param.put("name", name); - param.put("desc", fieldDesc); - param.put("isRequired", "是"); - boolean hasDefaultTestValue = declaredField.isAnnotationPresent(ActionDefaultTestValue.class); - if (hasDefaultTestValue) { -// 示例值 - ActionDefaultTestValue defaultTestValue = declaredField.getAnnotation(ActionDefaultTestValue.class); - param.put("example", defaultTestValue.value()); - } - paramList.add(param); - } else { -// 非必填参数 - boolean hasActionOptional = declaredField.isAnnotationPresent(ActionOptionalParam.class); - if (hasActionOptional) { -// 可选参数 - ActionOptionalParam actionOptionalParam = declaredField.getAnnotation(ActionOptionalParam.class); - String fieldDesc = actionOptionalParam.desc(); - String defaultValue = actionOptionalParam.value(); - Map param = new HashMap<>(); - param.put("name", name); - param.put("desc", fieldDesc); - param.put("isRequired", "否"); - param.put("defaultValue", defaultValue); - paramList.add(param); - } - } - } - Map vmParam = new HashMap<>(); - vmParam.put("author", author); - vmParam.put("actionDesc", actionDescValue); - vmParam.put("actionName", actionName); - vmParam.put("actionAllPathName", actionAllPathName); - vmParam.put("paramList", paramList); - vmParam.put("type", type); - vmParam.put("createTime", Util.getTime("yyyy-MM-dd HH:mm:ss")); - VelocityEngine ve = new VelocityEngine(); - ve.setProperty(Velocity.ENCODING_DEFAULT, "UTF-8"); - String path = weaver.general.GCONST.getPropertyPath().replace("prop", "vm"); - ve.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, path); - /* ve.setProperty(RuntimeConstants.RESOURCE_LOADER, "classpath") - ve.setProperty("classpath.resource.loader.class", ClasspathResourceLoader.class.getName());*/ - try { - ve.init(); - } catch (Exception e) { - e.printStackTrace(); - } - // 获取模板文件 - try { - Template template = ve.getTemplate("ActionConfigTemplate.md.vm", "UTF-8"); - String prefix = type == 1 ? "Action" : "定时任务"; - String fileName = prefix + "部署配置文档-" + actionName + "-" + author + "-" + Util.getTime("yyyyMMddHHmmss") + ".md"; - File saveFile = new File(path + "outFile" + File.separator + fileName); - if (!saveFile.getParentFile().exists()) { - saveFile.getParentFile().mkdirs(); - } - // 创建文件输出流 - FileOutputStream outStream = new FileOutputStream(saveFile); - // 因为模板整合的时候,需要提供一个Writer,所以创建一个Writer - OutputStreamWriter writer = new OutputStreamWriter(outStream); - // 创建一个缓冲流 - BufferedWriter bufferWriter = new BufferedWriter(writer); - - VelocityContext ctx = new VelocityContext(vmParam); - // 5 合并模板和数据并输出 - template.merge(ctx, bufferWriter); - // 强制刷新 - bufferWriter.flush(); - outStream.close(); - bufferWriter.close(); - System.out.println("\n\t文件生成成功:" + path + "outFile" + File.separator + fileName + "\n"); - } catch (Exception e) { - throw new CustomerException("创建模版文件失败!", e); - } - } - - - /** - *

生成Action模版代码

- * - * @param actionTemplate action模版必要参数 - */ - public static void createActionTemplate(ActionTemplate actionTemplate) { - File directory = new File(""); - String courseFile = null; - try { - courseFile = directory.getCanonicalPath(); - } catch (IOException e) { - throw new CustomerException("无法获取当前项目的路径所在位置!"); - } - String targetPath = courseFile + File.separator + - actionTemplate.getSrcDirectory().replaceAll("\\.", File.separator); - targetPath = targetPath + File.separator + actionTemplate.getPackageName().replaceAll("\\.", File.separator); - String fileName = targetPath + File.separator + actionTemplate.getActionName() + ".java"; - - Map vmParam = new HashMap<>(); - vmParam.put("author", actionTemplate.getAuthor()); - vmParam.put("actionDesc", actionTemplate.getActionDesc()); - vmParam.put("fileName", actionTemplate.getActionName()); - vmParam.put("package", actionTemplate.getPackageName()); - vmParam.put("createTime", Util.getTime("yyyy-MM-dd HH:mm:ss")); - VelocityEngine ve = new VelocityEngine(); - try { - ve.setProperty(Velocity.ENCODING_DEFAULT, "UTF-8"); - String path = weaver.general.GCONST.getPropertyPath().replace("prop", "vm"); - ve.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, path); - ve.init(); - } catch (Exception e) { - e.printStackTrace(); - } - // 获取模板文件 - try { - Template template = ve.getTemplate("ActionJavaFileTemplate.java.vm", "UTF-8"); - File saveFile = new File(fileName); - if (!saveFile.getParentFile().exists()) { - saveFile.getParentFile().mkdirs(); - } - if (saveFile.exists()) { - throw new CustomerException("文件:" + fileName + " is exists;"); - } - FileOutputStream outStream = new FileOutputStream(saveFile); - OutputStreamWriter writer = new OutputStreamWriter(outStream); - BufferedWriter bufferWriter = new BufferedWriter(writer); - VelocityContext ctx = new VelocityContext(vmParam); - template.merge(ctx, bufferWriter); - bufferWriter.flush(); - outStream.close(); - bufferWriter.close(); - System.out.println("\n\t文件生成成功:" + fileName + "\n"); - } catch (Exception e) { - throw new CustomerException("创建模版文件失败!", e); - } - } -} - diff --git a/src/main/java/aiyh/utils/LabelHtmlUtils.java b/src/main/java/aiyh/utils/LabelHtmlUtils.java deleted file mode 100644 index ed6451b..0000000 --- a/src/main/java/aiyh/utils/LabelHtmlUtils.java +++ /dev/null @@ -1,174 +0,0 @@ -package aiyh.utils; - -import aiyh.utils.entity.LabelHtmlIndex; -import aiyh.utils.service.UtilService; -import aiyh.utils.zwl.common.ToolUtil; -import weaver.systeminfo.SystemEnv; - -import java.util.Map; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -/** - * @author EBU7-dev1-ayh - * create 2021/12/13 0013 10:29 - * 多语言工具类 - */ - - -public class LabelHtmlUtils { - - private final UtilService utilService = new UtilService(); - private Map htmlLabel = null; - private ToolUtil toolUtil = new ToolUtil(); - - public LabelHtmlUtils(String prefix) { - if (!this.init(prefix)) { - toolUtil.writeErrorLog("配置文件异常,请检查配置文件结构是否符合要求!"); - throw new RuntimeException("配置文件异常,请检查配置文件结构是否符合要求!"); - } - } - - public LabelHtmlUtils() { - } - - /** - * 初始化配置信息 - * - * @param prefix 前缀 - * @return 是否初始化成功 - */ - public synchronized boolean init(String prefix) { - if (this.htmlLabel != null) { - return true; - } - try { - this.htmlLabel = Util.readProperties2Map("htmlLabelIndex", prefix); - return this.htmlLabel != null; - } catch (Exception e) { - e.printStackTrace(); - toolUtil.writeErrorLog(e.toString()); - return false; - } - } - - /** - * 获取指定语言id的自定义标签 - * - * @param id 自定义标签id - * @param languageId 语言id - * @param defaultStr 默认字符串 - * @return 自定义标签对应的语言字符串,或者默认字符串 - */ - public String getHtmlLabelName(int id, int languageId, String defaultStr) { - String htmlLabelName = SystemEnv.getHtmlLabelName(id, languageId); - return htmlLabelName == null ? defaultStr : htmlLabelName; - } - - /** - * 获取指定语言id的自定义标签 - * - * @param id 标签id - * @param languageId 语言id - * @return 自定义标签的语言字符串 - */ - public String getHtmlLabelName(int id, int languageId) { - return SystemEnv.getHtmlLabelName(id, languageId); - } - - - /** - * 通过语言id截取多语言字符串 - * - * @param languageId 语言id - * @param languageStr 多语言字符串 - * @return 截取后的字符串 - */ - public String getHtmlLabelNameByStr(int languageId, String languageStr) { - String pattern = "(`~`" + languageId + " )(?