cus_getlog
parent
a036219c8d
commit
cdc579284c
|
@ -159,13 +159,13 @@ logPath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log
|
||||||
lib/classbeanLib/下的jar包对应ecology/classbean下的class文件,具体更换方式需要先进入到ecology/classbean目录中,打开终端(处于当前ecology/classbean目录中),执行一下代码
|
lib/classbeanLib/下的jar包对应ecology/classbean下的class文件,具体更换方式需要先进入到ecology/classbean目录中,打开终端(处于当前ecology/classbean目录中),执行一下代码
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
jar -cvf ecology-dev-lib.jar com DBstep weaver
|
jar -cvf ecology-dev-lib.jar getLogFilePath DBstep weaver
|
||||||
```
|
```
|
||||||
|
|
||||||
进入ecology/web-inf/classes执行如下代码
|
进入ecology/web-inf/classes执行如下代码
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
jar -cvf web-inf-class-lib.jar com weaver org
|
jar -cvf web-inf-class-lib.jar getLogFilePath weaver org
|
||||||
```
|
```
|
||||||
|
|
||||||
将生成的jar包替换掉原来的jar包即可
|
将生成的jar包替换掉原来的jar包即可
|
||||||
|
|
|
@ -21,7 +21,7 @@ import java.util.stream.Collectors;
|
||||||
/**
|
/**
|
||||||
* 集合的stream操作封装
|
* 集合的stream操作封装
|
||||||
*
|
*
|
||||||
* @author 528910437@QQ.COM, VampireAchao<achao1441470436@gmail.com>Lion Li>
|
* @author 528910437@QQ.COM, VampireAchao<achao1441470436@gmail.getLogFilePath>Lion Li>
|
||||||
* @since 5.5.2
|
* @since 5.5.2
|
||||||
*/
|
*/
|
||||||
public class CollStreamUtil {
|
public class CollStreamUtil {
|
||||||
|
|
|
@ -8,7 +8,7 @@ package aiyh.utils.tool.cn.hutool.core.date;
|
||||||
* @see #Q3
|
* @see #Q3
|
||||||
* @see #Q4
|
* @see #Q4
|
||||||
*
|
*
|
||||||
* @author zhfish(https://github.com/zhfish)
|
* @author zhfish(https://github.getLogFilePath/zhfish)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum Quarter {
|
public enum Quarter {
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class ColorUtil {
|
||||||
* 3. RGB形式,例如:13,148,252
|
* 3. RGB形式,例如:13,148,252
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
* 方法来自:com.lnwazg.kit
|
* 方法来自:getLogFilePath.lnwazg.kit
|
||||||
*
|
*
|
||||||
* @param colorName 颜色的英文名,16进制表示或RGB表示
|
* @param colorName 颜色的英文名,16进制表示或RGB表示
|
||||||
* @return {@link Color}
|
* @return {@link Color}
|
||||||
|
|
|
@ -2015,7 +2015,7 @@ public class ImgUtil {
|
||||||
* 3. RGB形式,例如:13,148,252
|
* 3. RGB形式,例如:13,148,252
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
* 方法来自:com.lnwazg.kit
|
* 方法来自:getLogFilePath.lnwazg.kit
|
||||||
*
|
*
|
||||||
* @param colorName 颜色的英文名,16进制表示或RGB表示
|
* @param colorName 颜色的英文名,16进制表示或RGB表示
|
||||||
* @return {@link Color}
|
* @return {@link Color}
|
||||||
|
|
|
@ -992,7 +992,7 @@ public class FileUtil extends PathUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建临时文件<br>
|
* 创建临时文件<br>
|
||||||
* 创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
|
* 创建后的文件名为 prefix[Randon].suffix From getLogFilePath.jodd.io.FileUtil
|
||||||
*
|
*
|
||||||
* @param prefix 前缀,至少3个字符
|
* @param prefix 前缀,至少3个字符
|
||||||
* @param suffix 后缀,如果null则使用默认.tmp
|
* @param suffix 后缀,如果null则使用默认.tmp
|
||||||
|
|
|
@ -116,9 +116,9 @@ public class NioUtil {
|
||||||
* @param outChannel 输出通道
|
* @param outChannel 输出通道
|
||||||
* @return 输入通道的字节数
|
* @return 输入通道的字节数
|
||||||
* @throws IOException 发生IO错误
|
* @throws IOException 发生IO错误
|
||||||
* @link http://androidxref.com/6.0.1_r10/xref/libcore/luni/src/main/java/java/nio/FileChannelImpl.java
|
* @link http://androidxref.getLogFilePath/6.0.1_r10/xref/libcore/luni/src/main/java/java/nio/FileChannelImpl.java
|
||||||
* @link http://androidxref.com/7.0.0_r1/xref/libcore/ojluni/src/main/java/sun/nio/ch/FileChannelImpl.java
|
* @link http://androidxref.getLogFilePath/7.0.0_r1/xref/libcore/ojluni/src/main/java/sun/nio/ch/FileChannelImpl.java
|
||||||
* @link http://androidxref.com/7.0.0_r1/xref/libcore/ojluni/src/main/native/FileChannelImpl.c
|
* @link http://androidxref.getLogFilePath/7.0.0_r1/xref/libcore/ojluni/src/main/native/FileChannelImpl.c
|
||||||
* @author z8g
|
* @author z8g
|
||||||
* @since 5.7.21
|
* @since 5.7.21
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -77,8 +77,8 @@ public class WatchServer extends Thread implements Closeable, Serializable {
|
||||||
* 设置监听选项,例如监听频率等,可设置项包括:
|
* 设置监听选项,例如监听频率等,可设置项包括:
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* 1、com.sun.nio.file.StandardWatchEventKinds
|
* 1、getLogFilePath.sun.nio.file.StandardWatchEventKinds
|
||||||
* 2、com.sun.nio.file.SensitivityWatchEventModifier
|
* 2、getLogFilePath.sun.nio.file.SensitivityWatchEventModifier
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param modifiers 监听选项,例如监听频率等
|
* @param modifiers 监听选项,例如监听频率等
|
||||||
|
|
|
@ -144,7 +144,7 @@ public class ClassScanner implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 扫描该包路径下所有class文件
|
* 扫描该包路径下所有class文件
|
||||||
*
|
*
|
||||||
* @param packageName 包路径 com | com. | com.abs | com.abs.
|
* @param packageName 包路径 getLogFilePath | getLogFilePath. | getLogFilePath.abs | getLogFilePath.abs.
|
||||||
* @return 类集合
|
* @return 类集合
|
||||||
*/
|
*/
|
||||||
public static Set<Class<?>> scanPackage(String packageName) {
|
public static Set<Class<?>> scanPackage(String packageName) {
|
||||||
|
@ -153,10 +153,10 @@ public class ClassScanner implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,<br>
|
* 扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,<br>
|
||||||
* 如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
* 如果包路径为 getLogFilePath.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
||||||
* 因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理<br>
|
* 因为className 应该为 getLogFilePath.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理<br>
|
||||||
*
|
*
|
||||||
* @param packageName 包路径 com | com. | com.abs | com.abs.
|
* @param packageName 包路径 getLogFilePath | getLogFilePath. | getLogFilePath.abs | getLogFilePath.abs.
|
||||||
* @param classFilter class过滤器,过滤掉不需要的class
|
* @param classFilter class过滤器,过滤掉不需要的class
|
||||||
* @return 类集合
|
* @return 类集合
|
||||||
* @since 5.7.5
|
* @since 5.7.5
|
||||||
|
@ -167,10 +167,10 @@ public class ClassScanner implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 扫描包路径下满足class过滤器条件的所有class文件,<br>
|
* 扫描包路径下满足class过滤器条件的所有class文件,<br>
|
||||||
* 如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
* 如果包路径为 getLogFilePath.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
||||||
* 因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理<br>
|
* 因为className 应该为 getLogFilePath.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理<br>
|
||||||
*
|
*
|
||||||
* @param packageName 包路径 com | com. | com.abs | com.abs.
|
* @param packageName 包路径 getLogFilePath | getLogFilePath. | getLogFilePath.abs | getLogFilePath.abs.
|
||||||
* @param classFilter class过滤器,过滤掉不需要的class
|
* @param classFilter class过滤器,过滤掉不需要的class
|
||||||
* @return 类集合
|
* @return 类集合
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*
|
*
|
||||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
* or visit www.oracle.com if you need additional information or have any
|
* or visit www.oracle.getLogFilePath if you need additional information or have any
|
||||||
* questions.
|
* questions.
|
||||||
*/
|
*/
|
||||||
package aiyh.utils.tool.cn.hutool.core.lang;
|
package aiyh.utils.tool.cn.hutool.core.lang;
|
||||||
|
|
|
@ -26,12 +26,12 @@ import java.util.regex.Pattern;
|
||||||
*
|
*
|
||||||
* <p>例子: </p>
|
* <p>例子: </p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>{@code com/t?st.jsp} — 匹配 {@code com/test.jsp} 或 {@code com/tast.jsp} 或 {@code com/txst.jsp}</li>
|
* <li>{@code getLogFilePath/t?st.jsp} — 匹配 {@code getLogFilePath/test.jsp} 或 {@code getLogFilePath/tast.jsp} 或 {@code getLogFilePath/txst.jsp}</li>
|
||||||
* <li>{@code com/*.jsp} — 匹配{@code com}目录下全部 {@code .jsp}文件</li>
|
* <li>{@code getLogFilePath/*.jsp} — 匹配{@code getLogFilePath}目录下全部 {@code .jsp}文件</li>
|
||||||
* <li>{@code com/**/test.jsp} — 匹配{@code com}目录下全部 {@code test.jsp}文件</li>
|
* <li>{@code getLogFilePath/**/test.jsp} — 匹配{@code getLogFilePath}目录下全部 {@code test.jsp}文件</li>
|
||||||
* <li>{@code cn/hutool/**/*.jsp} — 匹配{@code cn/hutool}路径下全部{@code .jsp} 文件</li>
|
* <li>{@code cn/hutool/**/*.jsp} — 匹配{@code cn/hutool}路径下全部{@code .jsp} 文件</li>
|
||||||
* <li>{@code org/**/servlet/bla.jsp} — 匹配{@code cn/hutool/servlet/bla.jsp} 或{@code cn/hutool/testing/servlet/bla.jsp} 或 {@code org/servlet/bla.jsp}</li>
|
* <li>{@code org/**/servlet/bla.jsp} — 匹配{@code cn/hutool/servlet/bla.jsp} 或{@code cn/hutool/testing/servlet/bla.jsp} 或 {@code org/servlet/bla.jsp}</li>
|
||||||
* <li>{@code com/{filename:\\w+}.jsp} 匹配 {@code com/test.jsp} 并将 {@code test} 关联到 {@code filename} 变量</li>
|
* <li>{@code getLogFilePath/{filename:\\w+}.jsp} 匹配 {@code getLogFilePath/test.jsp} 并将 {@code test} 关联到 {@code filename} 变量</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <p><strong>注意:</strong> 表达式和路径必须都为绝对路径或都为相对路径。
|
* <p><strong>注意:</strong> 表达式和路径必须都为绝对路径或都为相对路径。
|
||||||
|
|
|
@ -3830,11 +3830,11 @@ public class CharSequenceUtil {
|
||||||
* <pre>
|
* <pre>
|
||||||
* StrUtil.hide(null,*,*)=null
|
* StrUtil.hide(null,*,*)=null
|
||||||
* StrUtil.hide("",0,*)=""
|
* StrUtil.hide("",0,*)=""
|
||||||
* StrUtil.hide("jackduan@163.com",-1,4) ****duan@163.com
|
* StrUtil.hide("jackduan@163.getLogFilePath",-1,4) ****duan@163.getLogFilePath
|
||||||
* StrUtil.hide("jackduan@163.com",2,3) ja*kduan@163.com
|
* StrUtil.hide("jackduan@163.getLogFilePath",2,3) ja*kduan@163.getLogFilePath
|
||||||
* StrUtil.hide("jackduan@163.com",3,2) jackduan@163.com
|
* StrUtil.hide("jackduan@163.getLogFilePath",3,2) jackduan@163.getLogFilePath
|
||||||
* StrUtil.hide("jackduan@163.com",16,16) jackduan@163.com
|
* StrUtil.hide("jackduan@163.getLogFilePath",16,16) jackduan@163.getLogFilePath
|
||||||
* StrUtil.hide("jackduan@163.com",16,17) jackduan@163.com
|
* StrUtil.hide("jackduan@163.getLogFilePath",16,17) jackduan@163.getLogFilePath
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param str 字符串
|
* @param str 字符串
|
||||||
|
@ -3857,7 +3857,7 @@ public class CharSequenceUtil {
|
||||||
* StrUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
|
* StrUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
|
||||||
* StrUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
|
* StrUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
|
||||||
* StrUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
|
* StrUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
|
||||||
* StrUtil.desensitized("duandazhi-jack@gmail.com.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn"
|
* StrUtil.desensitized("duandazhi-jack@gmail.getLogFilePath.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.getLogFilePath.cn"
|
||||||
* StrUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
|
* StrUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
|
||||||
* StrUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
|
* StrUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
|
||||||
* StrUtil.desensitized("11011111222233333256", DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
|
* StrUtil.desensitized("11011111222233333256", DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
|
||||||
|
|
|
@ -8,7 +8,7 @@ import java.util.concurrent.ExecutionException;
|
||||||
* {@link CompletableFuture}异步工具类<br>
|
* {@link CompletableFuture}异步工具类<br>
|
||||||
* {@link CompletableFuture} 是 Future 的改进,可以通过传入回调对象,在任务完成后调用之
|
* {@link CompletableFuture} 是 Future 的改进,可以通过传入回调对象,在任务完成后调用之
|
||||||
*
|
*
|
||||||
* @author achao1441470436@gmail.com
|
* @author achao1441470436@gmail.getLogFilePath
|
||||||
* @since 5.7.17
|
* @since 5.7.17
|
||||||
*/
|
*/
|
||||||
public class AsyncUtil {
|
public class AsyncUtil {
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class ClassUtil {
|
||||||
* 例如:ClassUtil这个类<br>
|
* 例如:ClassUtil这个类<br>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* isSimple为false: "com.xiaoleilu.hutool.util.ClassUtil"
|
* isSimple为false: "getLogFilePath.xiaoleilu.hutool.util.ClassUtil"
|
||||||
* isSimple为true: "ClassUtil"
|
* isSimple为true: "ClassUtil"
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -216,7 +216,7 @@ public class ClassUtil {
|
||||||
/**
|
/**
|
||||||
* 扫描该包路径下所有class文件
|
* 扫描该包路径下所有class文件
|
||||||
*
|
*
|
||||||
* @param packageName 包路径 com | com. | com.abs | com.abs.
|
* @param packageName 包路径 getLogFilePath | getLogFilePath. | getLogFilePath.abs | getLogFilePath.abs.
|
||||||
* @return 类集合
|
* @return 类集合
|
||||||
* @see ClassScanner#scanPackage(String)
|
* @see ClassScanner#scanPackage(String)
|
||||||
*/
|
*/
|
||||||
|
@ -226,10 +226,10 @@ public class ClassUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 扫描包路径下满足class过滤器条件的所有class文件,<br>
|
* 扫描包路径下满足class过滤器条件的所有class文件,<br>
|
||||||
* 如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
* 如果包路径为 getLogFilePath.abs + A.class 但是输入 abs会产生classNotFoundException<br>
|
||||||
* 因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改<br>
|
* 因为className 应该为 getLogFilePath.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改<br>
|
||||||
*
|
*
|
||||||
* @param packageName 包路径 com | com. | com.abs | com.abs.
|
* @param packageName 包路径 getLogFilePath | getLogFilePath. | getLogFilePath.abs | getLogFilePath.abs.
|
||||||
* @param classFilter class过滤器,过滤掉不需要的class
|
* @param classFilter class过滤器,过滤掉不需要的class
|
||||||
* @return 类集合
|
* @return 类集合
|
||||||
*/
|
*/
|
||||||
|
@ -626,7 +626,7 @@ public class ClassUtil {
|
||||||
* 非单例模式,如果是非静态方法,每次创建一个新对象
|
* 非单例模式,如果是非静态方法,每次创建一个新对象
|
||||||
*
|
*
|
||||||
* @param <T> 对象类型
|
* @param <T> 对象类型
|
||||||
* @param classNameWithMethodName 类名和方法名表达式,类名与方法名用{@code .}或{@code #}连接 例如:com.xiaoleilu.hutool.StrUtil.isEmpty 或 com.xiaoleilu.hutool.StrUtil#isEmpty
|
* @param classNameWithMethodName 类名和方法名表达式,类名与方法名用{@code .}或{@code #}连接 例如:getLogFilePath.xiaoleilu.hutool.StrUtil.isEmpty 或 getLogFilePath.xiaoleilu.hutool.StrUtil#isEmpty
|
||||||
* @param args 参数,必须严格对应指定方法的参数类型和数量
|
* @param args 参数,必须严格对应指定方法的参数类型和数量
|
||||||
* @return 返回结果
|
* @return 返回结果
|
||||||
*/
|
*/
|
||||||
|
@ -640,7 +640,7 @@ public class ClassUtil {
|
||||||
* 执行非static方法时,必须满足对象有默认构造方法<br>
|
* 执行非static方法时,必须满足对象有默认构造方法<br>
|
||||||
*
|
*
|
||||||
* @param <T> 对象类型
|
* @param <T> 对象类型
|
||||||
* @param classNameWithMethodName 类名和方法名表达式,例如:com.xiaoleilu.hutool.StrUtil#isEmpty或com.xiaoleilu.hutool.StrUtil.isEmpty
|
* @param classNameWithMethodName 类名和方法名表达式,例如:getLogFilePath.xiaoleilu.hutool.StrUtil#isEmpty或com.xiaoleilu.hutool.StrUtil.isEmpty
|
||||||
* @param isSingleton 是否为单例对象,如果此参数为false,每次执行方法时创建一个新对象
|
* @param isSingleton 是否为单例对象,如果此参数为false,每次执行方法时创建一个新对象
|
||||||
* @param args 参数,必须严格对应指定方法的参数类型和数量
|
* @param args 参数,必须严格对应指定方法的参数类型和数量
|
||||||
* @return 返回结果
|
* @return 返回结果
|
||||||
|
@ -956,7 +956,7 @@ public class ClassUtil {
|
||||||
/**
|
/**
|
||||||
* 获得给定类所在包的名称<br>
|
* 获得给定类所在包的名称<br>
|
||||||
* 例如:<br>
|
* 例如:<br>
|
||||||
* com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
|
* getLogFilePath.xiaoleilu.hutool.util.ClassUtil =》 getLogFilePath.xiaoleilu.hutool.util
|
||||||
*
|
*
|
||||||
* @param clazz 类
|
* @param clazz 类
|
||||||
* @return 包名
|
* @return 包名
|
||||||
|
@ -976,7 +976,7 @@ public class ClassUtil {
|
||||||
/**
|
/**
|
||||||
* 获得给定类所在包的路径<br>
|
* 获得给定类所在包的路径<br>
|
||||||
* 例如:<br>
|
* 例如:<br>
|
||||||
* com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
|
* getLogFilePath.xiaoleilu.hutool.util.ClassUtil =》 getLogFilePath/xiaoleilu/hutool/util
|
||||||
*
|
*
|
||||||
* @param clazz 类
|
* @param clazz 类
|
||||||
* @return 包名
|
* @return 包名
|
||||||
|
|
|
@ -14,7 +14,7 @@ import java.util.Objects;
|
||||||
* 坐标转换相关参考: https://tool.lu/coordinate/<br>
|
* 坐标转换相关参考: https://tool.lu/coordinate/<br>
|
||||||
* 参考:https://github.com/JourWon/coordinate-transform
|
* 参考:https://github.com/JourWon/coordinate-transform
|
||||||
*
|
*
|
||||||
* @author hongzhe.qin(qin462328037at163.com), looly
|
* @author hongzhe.qin(qin462328037at163.getLogFilePath), looly
|
||||||
* @since 5.7.16
|
* @since 5.7.16
|
||||||
*/
|
*/
|
||||||
public class CoordinateUtil {
|
public class CoordinateUtil {
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class DesensitizedUtil {
|
||||||
* DesensitizedUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
|
* DesensitizedUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
|
||||||
* DesensitizedUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
|
* DesensitizedUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
|
||||||
* DesensitizedUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
|
* DesensitizedUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
|
||||||
* DesensitizedUtil.desensitized("duandazhi-jack@gmail.com.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn"
|
* DesensitizedUtil.desensitized("duandazhi-jack@gmail.getLogFilePath.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.getLogFilePath.cn"
|
||||||
* DesensitizedUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
|
* DesensitizedUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
|
||||||
* DesensitizedUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
|
* DesensitizedUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
|
||||||
* DesensitizedUtil.desensitized("11011111222233333256", DesensitizedUtil.DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
|
* DesensitizedUtil.desensitized("11011111222233333256", DesensitizedUtil.DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
|
||||||
|
@ -252,7 +252,7 @@ public class DesensitizedUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com
|
* 【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.getLogFilePath
|
||||||
*
|
*
|
||||||
* @param email 邮箱
|
* @param email 邮箱
|
||||||
* @return 脱敏后的邮箱
|
* @return 脱敏后的邮箱
|
||||||
|
|
|
@ -14,7 +14,7 @@ package aiyh.utils.tool.cn.hutool.core.util;
|
||||||
* <li>....</li>
|
* <li>....</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @author xl7@qq.com
|
* @author xl7@qq.getLogFilePath
|
||||||
* @since 5.5.8
|
* @since 5.5.8
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ public class XmlUtil {
|
||||||
/**
|
/**
|
||||||
* 默认的DocumentBuilderFactory实现
|
* 默认的DocumentBuilderFactory实现
|
||||||
*/
|
*/
|
||||||
private static String defaultDocumentBuilderFactory = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl";
|
private static String defaultDocumentBuilderFactory = "getLogFilePath.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否打开命名空间支持
|
* 是否打开命名空间支持
|
||||||
|
@ -621,7 +621,7 @@ public class XmlUtil {
|
||||||
/**
|
/**
|
||||||
* 创建{@link DocumentBuilderFactory}
|
* 创建{@link DocumentBuilderFactory}
|
||||||
* <p>
|
* <p>
|
||||||
* 默认使用"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"<br>
|
* 默认使用"getLogFilePath.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"<br>
|
||||||
* 如果使用第三方实现,请调用{@link #disableDefaultDocumentBuilderFactory()}
|
* 如果使用第三方实现,请调用{@link #disableDefaultDocumentBuilderFactory()}
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
|
|
|
@ -124,7 +124,7 @@ public final class InternalJSONUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 将Property的键转化为JSON形式<br>
|
* 将Property的键转化为JSON形式<br>
|
||||||
* 用于识别类似于:com.luxiaolei.package.hutool这类用点隔开的键<br>
|
* 用于识别类似于:getLogFilePath.luxiaolei.package.hutool这类用点隔开的键<br>
|
||||||
* 注意:是否允许重复键,取决于JSONObject配置
|
* 注意:是否允许重复键,取决于JSONObject配置
|
||||||
*
|
*
|
||||||
* @param jsonObject JSONObject
|
* @param jsonObject JSONObject
|
||||||
|
|
|
@ -4,7 +4,7 @@ package aiyh.utils.tool.org.apache.commons.jexl3.parser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Token literal values and constants.
|
* Token literal values and constants.
|
||||||
* Generated by com.helger.pgcc.output.java.OtherFilesGenJava#start()
|
* Generated by getLogFilePath.helger.pgcc.output.java.OtherFilesGenJava#start()
|
||||||
*/
|
*/
|
||||||
public interface ParserConstants {
|
public interface ParserConstants {
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.api.chaoyang.he.hcy_xintiantongxin.projectorder.controller;//package com.api.hcy_xintiantongxin.projectorder.controller;
|
package com.api.chaoyang.he.hcy_xintiantongxin.projectorder.controller;//package getLogFilePath.api.hcy_xintiantongxin.projectorder.controller;
|
||||||
//
|
//
|
||||||
//import aiyh.utils.ApiResult;
|
//import aiyh.utils.ApiResult;
|
||||||
//import aiyh.utils.Util;
|
//import aiyh.utils.Util;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.ExportExcelAVPNService;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.ExportExcelAVPNService;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.ExportExcelL3NSService;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.ExportExcelL3NSService;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.ExportExcelOtherService;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.ExportExcelOtherService;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelAVPNServiceImpl;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelAVPNServiceImpl;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelL3NSServiceImpl;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelL3NSServiceImpl;
|
||||||
//import com.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelOtherServiceImpl;
|
//import getLogFilePath.api.hcy_xintiantongxin.projectorder.service.impl.ExportExcelOtherServiceImpl;
|
||||||
//import org.apache.log4j.Logger;
|
//import org.apache.log4j.Logger;
|
||||||
//import weaver.conn.RecordSet;
|
//import weaver.conn.RecordSet;
|
||||||
//import weaver.wechat.util.Utils;
|
//import weaver.wechat.util.Utils;
|
||||||
|
@ -30,7 +30,7 @@ package com.api.chaoyang.he.hcy_xintiantongxin.projectorder.controller;//package
|
||||||
//import java.util.zip.ZipEntry;
|
//import java.util.zip.ZipEntry;
|
||||||
//import java.util.zip.ZipOutputStream;
|
//import java.util.zip.ZipOutputStream;
|
||||||
//
|
//
|
||||||
//import static com.caucho.server.log.AccessLog.BUFFER_SIZE;
|
//import static getLogFilePath.caucho.server.log.AccessLog.BUFFER_SIZE;
|
||||||
//
|
//
|
||||||
//@Path("/export")
|
//@Path("/export")
|
||||||
//public class ExportExcelApi_copy {
|
//public class ExportExcelApi_copy {
|
||||||
|
|
|
@ -2,6 +2,7 @@ package com.api.ebu7dev1.common.getlog.controller;
|
||||||
|
|
||||||
import aiyh.utils.ApiResult;
|
import aiyh.utils.ApiResult;
|
||||||
import aiyh.utils.Util;
|
import aiyh.utils.Util;
|
||||||
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.api.ebu7dev1.common.getlog.service.GetLogService;
|
import com.api.ebu7dev1.common.getlog.service.GetLogService;
|
||||||
import io.swagger.v3.oas.annotations.parameters.RequestBody;
|
import io.swagger.v3.oas.annotations.parameters.RequestBody;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
@ -17,6 +18,7 @@ import javax.ws.rs.Produces;
|
||||||
import javax.ws.rs.core.Context;
|
import javax.ws.rs.core.Context;
|
||||||
import javax.ws.rs.core.MediaType;
|
import javax.ws.rs.core.MediaType;
|
||||||
import javax.ws.rs.core.Response;
|
import javax.ws.rs.core.Response;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -70,7 +72,9 @@ public class GetLogController {
|
||||||
@RequestBody Map<String, Object> params) {
|
@RequestBody Map<String, Object> params) {
|
||||||
try {
|
try {
|
||||||
User loginUser = HrmUserVarify.getUser(request, response);
|
User loginUser = HrmUserVarify.getUser(request, response);
|
||||||
return service.collectLogInfo(loginUser, params);
|
String path = request.getRealPath("/");
|
||||||
|
params.put("ecologyPath", path);
|
||||||
|
return ApiResult.success(service.collectLogInfo(loginUser, params));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("下载文件出错:" + Util.getErrString(e));
|
log.error("下载文件出错:" + Util.getErrString(e));
|
||||||
return ApiResult.error("system error!");
|
return ApiResult.error("system error!");
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
package com.api.ebu7dev1.common.getlog.service;
|
package com.api.ebu7dev1.common.getlog.service;
|
||||||
|
|
||||||
import aiyh.utils.Util;
|
import aiyh.utils.Util;
|
||||||
import aiyh.utils.excention.CustomerException;
|
|
||||||
import com.api.ebu7dev1.common.getlog.util.GetLogUtil;
|
import com.api.ebu7dev1.common.getlog.util.GetLogUtil;
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
import weaver.hrm.User;
|
import weaver.hrm.User;
|
||||||
|
|
||||||
import javax.ws.rs.core.Response;
|
import javax.ws.rs.core.Response;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
@ -62,11 +63,16 @@ public class GetLogService {
|
||||||
return ipList;
|
return ipList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String collectLogInfo(User loginUser, Map<String, Object> params) {
|
public String collectLogInfo(User loginUser, Map<String, Object> params) throws FileNotFoundException {
|
||||||
GetLogUtil.checkUser(loginUser);
|
GetLogUtil.checkUser(loginUser);
|
||||||
String startDate = Util.null2String(params.get("startDate"));
|
String startDate = Util.null2String(params.get("startDate"));
|
||||||
String endDate = Util.null2String(params.get("endDate"));
|
String endDate = Util.null2String(params.get("endDate"));
|
||||||
return null;
|
String ecologyPath = Util.null2String(params.get("ecologyPath"));
|
||||||
|
List<String> logTypeList = (List<String>) params.get("selectLogType");
|
||||||
|
String resinPath = System.getProperty("user.dir") + File.separator;
|
||||||
|
List<Map<String, String>> path = GetLogUtil.getLogPathByLogType(ecologyPath, resinPath, logTypeList);
|
||||||
|
Map<String, Map<String, List<String>>> map = GetLogUtil.getLogFilePath(path, startDate, endDate);
|
||||||
|
return GetLogUtil.collectLog(ecologyPath, map);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class SAPWebserviceTool extends BaseBean {
|
||||||
|
|
||||||
public String callParams_011(String comCode, String period, String year, String glAccount){
|
public String callParams_011(String comCode, String period, String year, String glAccount){
|
||||||
|
|
||||||
String params = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:sap-com:document:sap:soap:functions:mc-style\">\n" +
|
String params = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:sap-getLogFilePath:document:sap:soap:functions:mc-style\">\n" +
|
||||||
" <soapenv:Header/>\n" +
|
" <soapenv:Header/>\n" +
|
||||||
" <soapenv:Body>\n" +
|
" <soapenv:Body>\n" +
|
||||||
" <urn:ZoaGlGetglaccperiodbalances>\n" +
|
" <urn:ZoaGlGetglaccperiodbalances>\n" +
|
||||||
|
@ -92,7 +92,7 @@ public class SAPWebserviceTool extends BaseBean {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {
|
* {
|
||||||
* "@xmlns:n0": "urn:sap-com:document:sap:soap:functions:mc-style",
|
* "@xmlns:n0": "urn:sap-getLogFilePath:document:sap:soap:functions:mc-style",
|
||||||
* "EsReturn": {
|
* "EsReturn": {
|
||||||
* "Type": [],
|
* "Type": [],
|
||||||
* "Code": [],
|
* "Code": [],
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class ReadMail extends ToolUtil {
|
||||||
/**
|
/**
|
||||||
* 定义邮箱host (腾讯邮箱)暂不修改
|
* 定义邮箱host (腾讯邮箱)暂不修改
|
||||||
*/
|
*/
|
||||||
private static final String host = "imap.exmail.qq.com";
|
private static final String host = "imap.exmail.qq.getLogFilePath";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 定义邮箱端口
|
* 定义邮箱端口
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class DT_OA_GET_INTERNAL_FI_ORDER_REQ implements java.io.Serializable {
|
||||||
new org.apache.axis.description.TypeDesc(DT_OA_GET_INTERNAL_FI_ORDER_REQ.class, true);
|
new org.apache.axis.description.TypeDesc(DT_OA_GET_INTERNAL_FI_ORDER_REQ.class, true);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:nader:com/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ"));
|
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ"));
|
||||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
elemField.setFieldName("IV_DATUM");
|
elemField.setFieldName("IV_DATUM");
|
||||||
elemField.setXmlName(new javax.xml.namespace.QName("", "IV_DATUM"));
|
elemField.setXmlName(new javax.xml.namespace.QName("", "IV_DATUM"));
|
||||||
|
|
|
@ -256,7 +256,7 @@ public class DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN implements java.io.Seria
|
||||||
new org.apache.axis.description.TypeDesc(DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN.class, true);
|
new org.apache.axis.description.TypeDesc(DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN.class, true);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:nader:com/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN"));
|
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN"));
|
||||||
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
elemField.setFieldName("AUFNR");
|
elemField.setFieldName("AUFNR");
|
||||||
elemField.setXmlName(new javax.xml.namespace.QName("", "AUFNR"));
|
elemField.setXmlName(new javax.xml.namespace.QName("", "AUFNR"));
|
||||||
|
|
|
@ -25,11 +25,11 @@ public class SI_OA_GET_INTERNAL_FI_ORDER_OutBindingStub extends org.apache.axis.
|
||||||
org.apache.axis.description.ParameterDesc param;
|
org.apache.axis.description.ParameterDesc param;
|
||||||
oper = new org.apache.axis.description.OperationDesc();
|
oper = new org.apache.axis.description.OperationDesc();
|
||||||
oper.setName("SI_OA_GET_INTERNAL_FI_ORDER_Out");
|
oper.setName("SI_OA_GET_INTERNAL_FI_ORDER_Out");
|
||||||
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("urn:nader:com/ECC", "MT_OA_GET_INTERNAL_FI_ORDER_REQ"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("urn:nader:com/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ"), com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_REQ.class, false, false);
|
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "MT_OA_GET_INTERNAL_FI_ORDER_REQ"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ"), com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_REQ.class, false, false);
|
||||||
oper.addParameter(param);
|
oper.addParameter(param);
|
||||||
oper.setReturnType(new javax.xml.namespace.QName("urn:nader:com/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_RESP"));
|
oper.setReturnType(new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_RESP"));
|
||||||
oper.setReturnClass(com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN[].class);
|
oper.setReturnClass(com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN[].class);
|
||||||
oper.setReturnQName(new javax.xml.namespace.QName("urn:nader:com/ECC", "MT_OA_GET_INTERNAL_FI_ORDER_RESP"));
|
oper.setReturnQName(new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "MT_OA_GET_INTERNAL_FI_ORDER_RESP"));
|
||||||
param = oper.getReturnParamDesc();
|
param = oper.getReturnParamDesc();
|
||||||
param.setItemQName(new javax.xml.namespace.QName("", "ET_RETURN"));
|
param.setItemQName(new javax.xml.namespace.QName("", "ET_RETURN"));
|
||||||
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
||||||
|
@ -67,25 +67,25 @@ public class SI_OA_GET_INTERNAL_FI_ORDER_OutBindingStub extends org.apache.axis.
|
||||||
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
|
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
|
||||||
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
|
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
|
||||||
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
|
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
|
||||||
qName = new javax.xml.namespace.QName("urn:nader:com/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN");
|
qName = new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN");
|
||||||
cachedSerQNames.add(qName);
|
cachedSerQNames.add(qName);
|
||||||
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN.class;
|
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN.class;
|
||||||
cachedSerClasses.add(cls);
|
cachedSerClasses.add(cls);
|
||||||
cachedSerFactories.add(beansf);
|
cachedSerFactories.add(beansf);
|
||||||
cachedDeserFactories.add(beandf);
|
cachedDeserFactories.add(beandf);
|
||||||
|
|
||||||
qName = new javax.xml.namespace.QName("urn:nader:com/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ");
|
qName = new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_REQ");
|
||||||
cachedSerQNames.add(qName);
|
cachedSerQNames.add(qName);
|
||||||
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_REQ.class;
|
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_REQ.class;
|
||||||
cachedSerClasses.add(cls);
|
cachedSerClasses.add(cls);
|
||||||
cachedSerFactories.add(beansf);
|
cachedSerFactories.add(beansf);
|
||||||
cachedDeserFactories.add(beandf);
|
cachedDeserFactories.add(beandf);
|
||||||
|
|
||||||
qName = new javax.xml.namespace.QName("urn:nader:com/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_RESP");
|
qName = new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", "DT_OA_GET_INTERNAL_FI_ORDER_RESP");
|
||||||
cachedSerQNames.add(qName);
|
cachedSerQNames.add(qName);
|
||||||
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN[].class;
|
cls = com.api.taojw.liangxin.sap.webservice.DT_OA_GET_INTERNAL_FI_ORDER_RESPET_RETURN[].class;
|
||||||
cachedSerClasses.add(cls);
|
cachedSerClasses.add(cls);
|
||||||
qName = new javax.xml.namespace.QName("urn:nader:com/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN");
|
qName = new javax.xml.namespace.QName("urn:nader:getLogFilePath/ECC", ">DT_OA_GET_INTERNAL_FI_ORDER_RESP>ET_RETURN");
|
||||||
qName2 = new javax.xml.namespace.QName("", "ET_RETURN");
|
qName2 = new javax.xml.namespace.QName("", "ET_RETURN");
|
||||||
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
||||||
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class SI_OA_GET_INTERNAL_FI_ORDER_OutServiceLocator extends org.apache.ax
|
||||||
}
|
}
|
||||||
|
|
||||||
public javax.xml.namespace.QName getServiceName() {
|
public javax.xml.namespace.QName getServiceName() {
|
||||||
return new javax.xml.namespace.QName("urn:nader:com/OA", "SI_OA_GET_INTERNAL_FI_ORDER_OutService");
|
return new javax.xml.namespace.QName("urn:nader:getLogFilePath/OA", "SI_OA_GET_INTERNAL_FI_ORDER_OutService");
|
||||||
}
|
}
|
||||||
|
|
||||||
private java.util.HashSet ports = null;
|
private java.util.HashSet ports = null;
|
||||||
|
@ -168,8 +168,8 @@ public class SI_OA_GET_INTERNAL_FI_ORDER_OutServiceLocator extends org.apache.ax
|
||||||
public java.util.Iterator getPorts() {
|
public java.util.Iterator getPorts() {
|
||||||
if (ports == null) {
|
if (ports == null) {
|
||||||
ports = new java.util.HashSet();
|
ports = new java.util.HashSet();
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/OA", "HTTPS_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/OA", "HTTPS_Port"));
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/OA", "HTTP_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/OA", "HTTP_Port"));
|
||||||
}
|
}
|
||||||
return ports.iterator();
|
return ports.iterator();
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class SI_ISHIMS_OSHOA_deleteTodo_SYNC_OUTServiceLocator extends org.apach
|
||||||
}
|
}
|
||||||
|
|
||||||
public javax.xml.namespace.QName getServiceName() {
|
public javax.xml.namespace.QName getServiceName() {
|
||||||
return new javax.xml.namespace.QName("urn:nader:com/SHIMS", "SI_ISHIMS_OSHOA_deleteTodo_SYNC_OUTService");
|
return new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "SI_ISHIMS_OSHOA_deleteTodo_SYNC_OUTService");
|
||||||
}
|
}
|
||||||
|
|
||||||
private java.util.HashSet ports = null;
|
private java.util.HashSet ports = null;
|
||||||
|
@ -168,8 +168,8 @@ public class SI_ISHIMS_OSHOA_deleteTodo_SYNC_OUTServiceLocator extends org.apach
|
||||||
public java.util.Iterator getPorts() {
|
public java.util.Iterator getPorts() {
|
||||||
if (ports == null) {
|
if (ports == null) {
|
||||||
ports = new java.util.HashSet();
|
ports = new java.util.HashSet();
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTPS_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTPS_Port"));
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTP_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTP_Port"));
|
||||||
}
|
}
|
||||||
return ports.iterator();
|
return ports.iterator();
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class SI_ISHIMS_OSHOA_sendTodo_SYNC_OUTServiceLocator extends org.apache.
|
||||||
}
|
}
|
||||||
|
|
||||||
public javax.xml.namespace.QName getServiceName() {
|
public javax.xml.namespace.QName getServiceName() {
|
||||||
return new javax.xml.namespace.QName("urn:nader:com/SHIMS", "SI_ISHIMS_OSHOA_sendTodo_SYNC_OUTService");
|
return new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "SI_ISHIMS_OSHOA_sendTodo_SYNC_OUTService");
|
||||||
}
|
}
|
||||||
|
|
||||||
private java.util.HashSet ports = null;
|
private java.util.HashSet ports = null;
|
||||||
|
@ -168,8 +168,8 @@ public class SI_ISHIMS_OSHOA_sendTodo_SYNC_OUTServiceLocator extends org.apache.
|
||||||
public java.util.Iterator getPorts() {
|
public java.util.Iterator getPorts() {
|
||||||
if (ports == null) {
|
if (ports == null) {
|
||||||
ports = new java.util.HashSet();
|
ports = new java.util.HashSet();
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTPS_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTPS_Port"));
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTP_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTP_Port"));
|
||||||
}
|
}
|
||||||
return ports.iterator();
|
return ports.iterator();
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class SI_ISHIMS_OSHOA_setTodoDone_SYNC_OUTServiceLocator extends org.apac
|
||||||
}
|
}
|
||||||
|
|
||||||
public javax.xml.namespace.QName getServiceName() {
|
public javax.xml.namespace.QName getServiceName() {
|
||||||
return new javax.xml.namespace.QName("urn:nader:com/SHIMS", "SI_ISHIMS_OSHOA_setTodoDone_SYNC_OUTService");
|
return new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "SI_ISHIMS_OSHOA_setTodoDone_SYNC_OUTService");
|
||||||
}
|
}
|
||||||
|
|
||||||
private java.util.HashSet ports = null;
|
private java.util.HashSet ports = null;
|
||||||
|
@ -168,8 +168,8 @@ public class SI_ISHIMS_OSHOA_setTodoDone_SYNC_OUTServiceLocator extends org.apac
|
||||||
public java.util.Iterator getPorts() {
|
public java.util.Iterator getPorts() {
|
||||||
if (ports == null) {
|
if (ports == null) {
|
||||||
ports = new java.util.HashSet();
|
ports = new java.util.HashSet();
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTPS_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTPS_Port"));
|
||||||
ports.add(new javax.xml.namespace.QName("urn:nader:com/SHIMS", "HTTP_Port"));
|
ports.add(new javax.xml.namespace.QName("urn:nader:getLogFilePath/SHIMS", "HTTP_Port"));
|
||||||
}
|
}
|
||||||
return ports.iterator();
|
return ports.iterator();
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -53,7 +53,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -71,7 +71,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -89,7 +89,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -107,7 +107,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -125,7 +125,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
@ -143,7 +143,7 @@ public class ISysNotifyTodoWebServiceServiceSoapBindingStub extends org.apache.a
|
||||||
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
||||||
oper.addFault(new org.apache.axis.description.FaultDesc(
|
oper.addFault(new org.apache.axis.description.FaultDesc(
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
"com.api.taojw.liangxin.todo.todowebservice.Exception",
|
"getLogFilePath.api.taojw.liangxin.todo.todowebservice.Exception",
|
||||||
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
new javax.xml.namespace.QName("http://webservice.notify.sys.kmss.landray.com/", "Exception"),
|
||||||
true
|
true
|
||||||
));
|
));
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
|
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
|
||||||
|
|
||||||
<web-app>
|
<web-app>
|
||||||
<!--<filter><filter-name>CompressingFilter</filter-name><filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class><init-param><param-name>includeContentTypes</param-name><param-value>text/html,text/xml,text/css,text/javascript</param-value></init-param></filter><filter-mapping><filter-name>CompressingFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>-->
|
<!--<filter><filter-name>CompressingFilter</filter-name><filter-class>getLogFilePath.planetj.servlet.filter.compression.CompressingFilter</filter-class><init-param><param-name>includeContentTypes</param-name><param-value>text/html,text/xml,text/css,text/javascript</param-value></init-param></filter><filter-mapping><filter-name>CompressingFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>-->
|
||||||
<!-- if you need web core support ,uncomment the following -->
|
<!-- if you need web core support ,uncomment the following -->
|
||||||
<!--<servlet><servlet-name>AxisServlet</servlet-name><servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class><init-param><param-name>consumer</param-name><param-value>*</param-value></init-param></servlet>-->
|
<!--<servlet><servlet-name>AxisServlet</servlet-name><servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class><init-param><param-name>consumer</param-name><param-value>*</param-value></init-param></servlet>-->
|
||||||
<!-- if you need web core support ,uncomment the following -->
|
<!-- if you need web core support ,uncomment the following -->
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class SignHelper {
|
||||||
// * 当在linux环境下运行代码,签名方法报空指针异常的时候,采用该签名方法可以避免这个问题
|
// * 当在linux环境下运行代码,签名方法报空指针异常的时候,采用该签名方法可以避免这个问题
|
||||||
// * 使用该方法需要添加新的maven依赖,如下:
|
// * 使用该方法需要添加新的maven依赖,如下:
|
||||||
// * <dependency>
|
// * <dependency>
|
||||||
// * <groupId>com.auth0</groupId>
|
// * <groupId>getLogFilePath.auth0</groupId>
|
||||||
// * <artifactId>java-jwt</artifactId>
|
// * <artifactId>java-jwt</artifactId>
|
||||||
// * <version>3.3.0</version>
|
// * <version>3.3.0</version>
|
||||||
// * </dependency>
|
// * </dependency>
|
||||||
|
|
|
@ -343,7 +343,7 @@ public class StaBookBuildParam {
|
||||||
public static Map<String,Object> commit(){
|
public static Map<String,Object> commit(){
|
||||||
Map<String, Object> paramsMap = new HashMap<String, Object>();
|
Map<String, Object> paramsMap = new HashMap<String, Object>();
|
||||||
paramsMap.put("usermobile", "15011181852");
|
paramsMap.put("usermobile", "15011181852");
|
||||||
paramsMap.put("useremail", "wangyer@yonyou.com");
|
paramsMap.put("useremail", "wangyer@yonyou.getLogFilePath");
|
||||||
paramsMap.put("orgcode", "20160914001");
|
paramsMap.put("orgcode", "20160914001");
|
||||||
paramsMap.put("nsrsbh", "201609140000001");
|
paramsMap.put("nsrsbh", "201609140000001");
|
||||||
paramsMap.put("submitter", "提交人");
|
paramsMap.put("submitter", "提交人");
|
||||||
|
|
|
@ -94,8 +94,8 @@ public class HrmUserDto{
|
||||||
// country_name 国家/地区 中国
|
// country_name 国家/地区 中国
|
||||||
// employee_sex_code 性别,转换值 M/F
|
// employee_sex_code 性别,转换值 M/F
|
||||||
// employee_sex_descr 性别 男 /女
|
// employee_sex_descr 性别 男 /女
|
||||||
// personal_email 个人邮箱 1387597880@qq.com
|
// personal_email 个人邮箱 1387597880@qq.getLogFilePath
|
||||||
// company_email 公司邮箱 13213@123.com
|
// company_email 公司邮箱 13213@123.getLogFilePath
|
||||||
// current_address 现居住地址 黑龙江双鸭山市
|
// current_address 现居住地址 黑龙江双鸭山市
|
||||||
// certificate_type 证件类型,NID\PASP\PASS\TCS NID
|
// certificate_type 证件类型,NID\PASP\PASS\TCS NID
|
||||||
// certificate_type_name 证件描述:身份证号、护照、港澳通行证、台胞证 身份证号
|
// certificate_type_name 证件描述:身份证号、护照、港澳通行证、台胞证 身份证号
|
||||||
|
|
|
@ -86,8 +86,8 @@ public enum URLConfigEnum {
|
||||||
// private static String APPID = "";
|
// private static String APPID = "";
|
||||||
private static String APPID = REIMBURSED.appid1;
|
private static String APPID = REIMBURSED.appid1;
|
||||||
|
|
||||||
//这个是测试环境的域名,正式环境为https://fapiao.yonyoucloud.com
|
//这个是测试环境的域名,正式环境为https://fapiao.yonyoucloud.getLogFilePath
|
||||||
//测试https://yesfp.yonyoucloud.com
|
//测试https://yesfp.yonyoucloud.getLogFilePath
|
||||||
// private static String DOMAIN = "https://fapiao.yonyoucloud.com";
|
// private static String DOMAIN = "https://fapiao.yonyoucloud.com";
|
||||||
private static String DOMAIN = REIMBURSED.baseUrl1;
|
private static String DOMAIN = REIMBURSED.baseUrl1;
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ public class CreateDBService {
|
||||||
var101 = true;
|
var101 = true;
|
||||||
if (var6.equalsIgnoreCase("sqlserver") && var10.equals("MSSQLSERVER")) {
|
if (var6.equalsIgnoreCase("sqlserver") && var10.equals("MSSQLSERVER")) {
|
||||||
var16 = "jdbc:sqlserver://" + var7 + ":" + var8 + ";DatabaseName=master;SelectMethod=cursor";
|
var16 = "jdbc:sqlserver://" + var7 + ":" + var8 + ";DatabaseName=master;SelectMethod=cursor";
|
||||||
var17 = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
|
var17 = "getLogFilePath.microsoft.sqlserver.jdbc.SQLServerDriver";
|
||||||
var20 = var1.getRealPath("/data/init/SQLServer");
|
var20 = var1.getRealPath("/data/init/SQLServer");
|
||||||
var21 = var1.getRealPath("/data/SQLServer");
|
var21 = var1.getRealPath("/data/SQLServer");
|
||||||
var25 = var1.getRealPath("/data/init/SQLServer/config");
|
var25 = var1.getRealPath("/data/init/SQLServer/config");
|
||||||
|
@ -320,7 +320,7 @@ public class CreateDBService {
|
||||||
var27 = "1";
|
var27 = "1";
|
||||||
} else if (var6.equalsIgnoreCase("sqlserver") && !var10.equals("MSSQLSERVER")) {
|
} else if (var6.equalsIgnoreCase("sqlserver") && !var10.equals("MSSQLSERVER")) {
|
||||||
var16 = "jdbc:sqlserver://" + var7 + ":" + var8 + ";instanceName=" + var10 + ";DatabaseName=master;SelectMethod=cursor";
|
var16 = "jdbc:sqlserver://" + var7 + ":" + var8 + ";instanceName=" + var10 + ";DatabaseName=master;SelectMethod=cursor";
|
||||||
var17 = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
|
var17 = "getLogFilePath.microsoft.sqlserver.jdbc.SQLServerDriver";
|
||||||
var20 = var1.getRealPath("/data/init/SQLServer");
|
var20 = var1.getRealPath("/data/init/SQLServer");
|
||||||
var21 = var1.getRealPath("/data/SQLServer");
|
var21 = var1.getRealPath("/data/SQLServer");
|
||||||
var25 = var1.getRealPath("/data/init/SQLServer/config");
|
var25 = var1.getRealPath("/data/init/SQLServer/config");
|
||||||
|
@ -347,7 +347,7 @@ public class CreateDBService {
|
||||||
var27 = "3";
|
var27 = "3";
|
||||||
} else if (var6.equalsIgnoreCase("mysql")) {
|
} else if (var6.equalsIgnoreCase("mysql")) {
|
||||||
var16 = "jdbc:mysql://" + var7 + ":" + var8 + "/" + var9 + "?characterEncoding=utf8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai";
|
var16 = "jdbc:mysql://" + var7 + ":" + var8 + "/" + var9 + "?characterEncoding=utf8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai";
|
||||||
var17 = "com.mysql.cj.jdbc.Driver";
|
var17 = "getLogFilePath.mysql.cj.jdbc.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/Mysql");
|
var20 = var1.getRealPath("/data/init/Mysql");
|
||||||
var21 = var1.getRealPath("/data/Mysql");
|
var21 = var1.getRealPath("/data/Mysql");
|
||||||
var25 = var1.getRealPath("/data/init/Mysql/config");
|
var25 = var1.getRealPath("/data/init/Mysql/config");
|
||||||
|
@ -355,7 +355,7 @@ public class CreateDBService {
|
||||||
var27 = "4";
|
var27 = "4";
|
||||||
} else if (var6.equalsIgnoreCase("nt")) {
|
} else if (var6.equalsIgnoreCase("nt")) {
|
||||||
var16 = "jdbc:gbase://" + var7 + ":" + var8 + "/" + var9 + "?characterEncoding=utf8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai";
|
var16 = "jdbc:gbase://" + var7 + ":" + var8 + "/" + var9 + "?characterEncoding=utf8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai";
|
||||||
var17 = "com.gbase.jdbc.Driver";
|
var17 = "getLogFilePath.gbase.jdbc.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/Mysql");
|
var20 = var1.getRealPath("/data/init/Mysql");
|
||||||
var21 = var1.getRealPath("/data/Mysql");
|
var21 = var1.getRealPath("/data/Mysql");
|
||||||
var25 = var1.getRealPath("/data/init/Mysql/config");
|
var25 = var1.getRealPath("/data/init/Mysql/config");
|
||||||
|
@ -373,7 +373,7 @@ public class CreateDBService {
|
||||||
var27 = "5";
|
var27 = "5";
|
||||||
} else if (var6.equalsIgnoreCase("st")) {
|
} else if (var6.equalsIgnoreCase("st")) {
|
||||||
var16 = "jdbc:oscar://" + var7 + ":" + var8 + "/" + var9;
|
var16 = "jdbc:oscar://" + var7 + ":" + var8 + "/" + var9;
|
||||||
var17 = "com.oscar.Driver";
|
var17 = "getLogFilePath.oscar.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/ST");
|
var20 = var1.getRealPath("/data/init/ST");
|
||||||
var21 = var1.getRealPath("/data/ST");
|
var21 = var1.getRealPath("/data/ST");
|
||||||
var25 = var1.getRealPath("/data/init/ST/config");
|
var25 = var1.getRealPath("/data/init/ST/config");
|
||||||
|
@ -382,7 +382,7 @@ public class CreateDBService {
|
||||||
var27 = "6";
|
var27 = "6";
|
||||||
} else if (var6.equalsIgnoreCase("jc")) {
|
} else if (var6.equalsIgnoreCase("jc")) {
|
||||||
var16 = "jdbc:kingbase8://" + var7 + ":" + var8 + "/" + var9 + "?prepareThreshold=0&clientEncoding=UTF-8";
|
var16 = "jdbc:kingbase8://" + var7 + ":" + var8 + "/" + var9 + "?prepareThreshold=0&clientEncoding=UTF-8";
|
||||||
var17 = "com.kingbase8.Driver";
|
var17 = "getLogFilePath.kingbase8.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/JC");
|
var20 = var1.getRealPath("/data/init/JC");
|
||||||
var21 = var1.getRealPath("/data/JC");
|
var21 = var1.getRealPath("/data/JC");
|
||||||
var25 = var1.getRealPath("/data/init/JC/config");
|
var25 = var1.getRealPath("/data/init/JC/config");
|
||||||
|
@ -391,7 +391,7 @@ public class CreateDBService {
|
||||||
var27 = "8";
|
var27 = "8";
|
||||||
} else if (var6.equalsIgnoreCase("gs")) {
|
} else if (var6.equalsIgnoreCase("gs")) {
|
||||||
var16 = "jdbc:zenith:@" + var7 + ":" + var8;
|
var16 = "jdbc:zenith:@" + var7 + ":" + var8;
|
||||||
var17 = "com.huawei.gauss.jdbc.ZenithDriver";
|
var17 = "getLogFilePath.huawei.gauss.jdbc.ZenithDriver";
|
||||||
var20 = var1.getRealPath("/data/init/GS");
|
var20 = var1.getRealPath("/data/init/GS");
|
||||||
var21 = var1.getRealPath("/data/GS");
|
var21 = var1.getRealPath("/data/GS");
|
||||||
var25 = var1.getRealPath("/data/init/GS/config");
|
var25 = var1.getRealPath("/data/init/GS/config");
|
||||||
|
@ -401,7 +401,7 @@ public class CreateDBService {
|
||||||
this.sqlPattern = Pattern.compile("([\\s;]+)$", 2);
|
this.sqlPattern = Pattern.compile("([\\s;]+)$", 2);
|
||||||
} else if (var6.equalsIgnoreCase("ob")) {
|
} else if (var6.equalsIgnoreCase("ob")) {
|
||||||
var16 = "jdbc:oceanbase://" + var7 + ":" + var8 + "/" + var9;
|
var16 = "jdbc:oceanbase://" + var7 + ":" + var8 + "/" + var9;
|
||||||
var17 = "com.alipay.oceanbase.jdbc.Driver";
|
var17 = "getLogFilePath.alipay.oceanbase.jdbc.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/OB");
|
var20 = var1.getRealPath("/data/init/OB");
|
||||||
var21 = var1.getRealPath("/data/OB");
|
var21 = var1.getRealPath("/data/OB");
|
||||||
var25 = var1.getRealPath("/data/init/OB/config");
|
var25 = var1.getRealPath("/data/init/OB/config");
|
||||||
|
@ -418,7 +418,7 @@ public class CreateDBService {
|
||||||
var27 = "11";
|
var27 = "11";
|
||||||
} else if (var6.equalsIgnoreCase("hg")) {
|
} else if (var6.equalsIgnoreCase("hg")) {
|
||||||
var16 = "jdbc:highgo://" + var7 + ":" + var8 + "/" + var9;
|
var16 = "jdbc:highgo://" + var7 + ":" + var8 + "/" + var9;
|
||||||
var17 = "com.highgo.jdbc.Driver";
|
var17 = "getLogFilePath.highgo.jdbc.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/PG");
|
var20 = var1.getRealPath("/data/init/PG");
|
||||||
var21 = var1.getRealPath("/data/PG");
|
var21 = var1.getRealPath("/data/PG");
|
||||||
var25 = var1.getRealPath("/data/init/PG/config");
|
var25 = var1.getRealPath("/data/init/PG/config");
|
||||||
|
@ -427,7 +427,7 @@ public class CreateDBService {
|
||||||
var27 = "12";
|
var27 = "12";
|
||||||
} else if (var6.equalsIgnoreCase("og")) {
|
} else if (var6.equalsIgnoreCase("og")) {
|
||||||
var16 = "jdbc:gaussdb://" + var7 + ":" + var8 + "/" + var9 + "?connectTimeout=0&socketTimeout=0";
|
var16 = "jdbc:gaussdb://" + var7 + ":" + var8 + "/" + var9 + "?connectTimeout=0&socketTimeout=0";
|
||||||
var17 = "com.huawei.gauss200.jdbc.Driver";
|
var17 = "getLogFilePath.huawei.gauss200.jdbc.Driver";
|
||||||
var20 = var1.getRealPath("/data/init/PG");
|
var20 = var1.getRealPath("/data/init/PG");
|
||||||
var21 = var1.getRealPath("/data/PG");
|
var21 = var1.getRealPath("/data/PG");
|
||||||
var25 = var1.getRealPath("/data/init/PG/config");
|
var25 = var1.getRealPath("/data/init/PG/config");
|
||||||
|
|
|
@ -17,7 +17,7 @@ import java.util.Objects;
|
||||||
public class RequestApi {
|
public class RequestApi {
|
||||||
public RequestApi(){
|
public RequestApi(){
|
||||||
String keyPath = Objects.requireNonNull(this.getClass().getResource("")).getPath();
|
String keyPath = Objects.requireNonNull(this.getClass().getResource("")).getPath();
|
||||||
QsAPI.init("6", "configtest.quanshi.com"
|
QsAPI.init("6", "configtest.quanshi.getLogFilePath"
|
||||||
, keyPath + "key_store" + File.separator + "mg.client.p12"
|
, keyPath + "key_store" + File.separator + "mg.client.p12"
|
||||||
, keyPath + "key_store" + File.separator + "server.truststore");
|
, keyPath + "key_store" + File.separator + "server.truststore");
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class QsConfSetting {
|
||||||
//会议级别视频清晰度 1:标清,2:高清,4:超 清 选填,默认 0 表示未设置
|
//会议级别视频清晰度 1:标清,2:高清,4:超 清 选填,默认 0 表示未设置
|
||||||
private Integer confLevelVideoStandard;
|
private Integer confLevelVideoStandard;
|
||||||
//参会人邮箱后缀扩展字段,支持当参会人为非邮箱格式时,拼接此扩展字段设定有效邮箱。 例如:参会人中某一数据为“zhangsan”,该扩展字段为
|
//参会人邮箱后缀扩展字段,支持当参会人为非邮箱格式时,拼接此扩展字段设定有效邮箱。 例如:参会人中某一数据为“zhangsan”,该扩展字段为
|
||||||
//“quanshi.com”或者“@quanshi.com”,则拼接后的实际参会人邮箱为“zhangsan@quanshi.com”
|
//“quanshi.getLogFilePath”或者“@quanshi.getLogFilePath”,则拼接后的实际参会人邮箱为“zhangsan@quanshi.getLogFilePath”
|
||||||
private String extend;
|
private String extend;
|
||||||
|
|
||||||
public String getExtend() {
|
public String getExtend() {
|
||||||
|
|
|
@ -283,7 +283,7 @@ public class BigDataTest extends BaseTest {
|
||||||
// " \"userid\": \"superAdmin\",\n" +
|
// " \"userid\": \"superAdmin\",\n" +
|
||||||
// " \"name\": \"超级管理员\",\n" +
|
// " \"name\": \"超级管理员\",\n" +
|
||||||
// " \"mobile\":\"12345678911\",\n" +
|
// " \"mobile\":\"12345678911\",\n" +
|
||||||
// " \"email\":\"123@321.com\",\n" +
|
// " \"email\":\"123@321.getLogFilePath\",\n" +
|
||||||
// " \"gender\":0,\n" +
|
// " \"gender\":0,\n" +
|
||||||
// " \"position\":\"position\",\n" +
|
// " \"position\":\"position\",\n" +
|
||||||
// " \"avatarImg\":\"avatarImg\",\n" +
|
// " \"avatarImg\":\"avatarImg\",\n" +
|
||||||
|
@ -388,7 +388,7 @@ public class BigDataTest extends BaseTest {
|
||||||
// " \t</table>\n" +
|
// " \t</table>\n" +
|
||||||
// " </body>\n" +
|
// " </body>\n" +
|
||||||
// "\n";
|
// "\n";
|
||||||
// EmailWorkRunnable.threadModeReminder("3055088966@qq.com,xuanran.wang@weaver.com.cn", "test11", html);
|
// EmailWorkRunnable.threadModeReminder("3055088966@qq.getLogFilePath,xuanran.wang@weaver.getLogFilePath.cn", "test11", html);
|
||||||
//
|
//
|
||||||
// }
|
// }
|
||||||
private final OtherSystemToOAMapper otherSystemToOAMapper = Util.getMapper(OtherSystemToOAMapper.class);
|
private final OtherSystemToOAMapper otherSystemToOAMapper = Util.getMapper(OtherSystemToOAMapper.class);
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class SAPTest extends BaseTest {
|
||||||
" <soap-env:Header/>\n" +
|
" <soap-env:Header/>\n" +
|
||||||
" <soap-env:Body>\n" +
|
" <soap-env:Body>\n" +
|
||||||
" <n0:ZFI_OA_DOC_POSTINGResponse\n" +
|
" <n0:ZFI_OA_DOC_POSTINGResponse\n" +
|
||||||
" xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n" +
|
" xmlns:n0=\"urn:sap-getLogFilePath:document:sap:rfc:functions\">\n" +
|
||||||
" <ES_OA_OUTPUT>\n" +
|
" <ES_OA_OUTPUT>\n" +
|
||||||
" <ZOAPZ>clbx000003</ZOAPZ>\n" +
|
" <ZOAPZ>clbx000003</ZOAPZ>\n" +
|
||||||
" <BELNR/>\n" +
|
" <BELNR/>\n" +
|
||||||
|
@ -170,7 +170,7 @@ public class SAPTest extends BaseTest {
|
||||||
" <soap-env:Header/>\n" +
|
" <soap-env:Header/>\n" +
|
||||||
" <soap-env:Body>\n" +
|
" <soap-env:Body>\n" +
|
||||||
" <n0:ZFI_OA_DOC_POSTINGResponse\n" +
|
" <n0:ZFI_OA_DOC_POSTINGResponse\n" +
|
||||||
" xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n" +
|
" xmlns:n0=\"urn:sap-getLogFilePath:document:sap:rfc:functions\">\n" +
|
||||||
" <ES_OA_OUTPUT>\n" +
|
" <ES_OA_OUTPUT>\n" +
|
||||||
" <ZOAPZ>clbx000003</ZOAPZ>\n" +
|
" <ZOAPZ>clbx000003</ZOAPZ>\n" +
|
||||||
" <BELNR/>\n" +
|
" <BELNR/>\n" +
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class RolesTest extends BaseTest {
|
||||||
User user = new User(22);
|
User user = new User(22);
|
||||||
SsoYunZhaoService service = new SsoYunZhaoService();
|
SsoYunZhaoService service = new SsoYunZhaoService();
|
||||||
System.out.println(service.getRedirectPath(user));
|
System.out.println(service.getRedirectPath(user));
|
||||||
String s = service.rsaEncryptedUserInfo("test_public_decrypt@email.test.com\"1234567891011");
|
String s = service.rsaEncryptedUserInfo("test_public_decrypt@email.test.getLogFilePath\"1234567891011");
|
||||||
System.out.println(s);
|
System.out.println(s);
|
||||||
System.out.println("1234567891011".substring(0, 10));
|
System.out.println("1234567891011".substring(0, 10));
|
||||||
System.out.println(service.rsaDecryptUserInfo(s));
|
System.out.println(service.rsaDecryptUserInfo(s));
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class Rsa {
|
||||||
PKCS8EncodedKeySpec privSpec = new PKCS8EncodedKeySpec(privBuffer);
|
PKCS8EncodedKeySpec privSpec = new PKCS8EncodedKeySpec(privBuffer);
|
||||||
PrivateKey privKey = keyFactory.generatePrivate(privSpec);
|
PrivateKey privKey = keyFactory.generatePrivate(privSpec);
|
||||||
cipher.init(Cipher.ENCRYPT_MODE, privKey);
|
cipher.init(Cipher.ENCRYPT_MODE, privKey);
|
||||||
byte[] encrypted = cipher.doFinal("user@example.com\"1422331953".getBytes());
|
byte[] encrypted = cipher.doFinal("user@example.getLogFilePath\"1422331953".getBytes());
|
||||||
|
|
||||||
System.out.println("Encrypted with private key:");
|
System.out.println("Encrypted with private key:");
|
||||||
System.out.println(Base64.encodeBase64String(encrypted));
|
System.out.println(Base64.encodeBase64String(encrypted));
|
||||||
|
|
|
@ -65,39 +65,39 @@ public class WorkflowTest extends BaseTest {
|
||||||
List<Map<String, String>> list = new ArrayList<>();
|
List<Map<String, String>> list = new ArrayList<>();
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "bokang.xiao");
|
put("name", "bokang.xiao");
|
||||||
put("email", "ic_excellent@qq.com");
|
put("email", "ic_excellent@qq.getLogFilePath");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "chaoyang.he");
|
put("name", "chaoyang.he");
|
||||||
put("email", "chaoyang.he@weaver.com.cn");
|
put("email", "chaoyang.he@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "jiacheng.deng");
|
put("name", "jiacheng.deng");
|
||||||
put("email", "jiacheng.deng@weaver.com.cn");
|
put("email", "jiacheng.deng@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "jiayong.cao");
|
put("name", "jiayong.cao");
|
||||||
put("email", "jiayong.cao@weaver.com.cn");
|
put("email", "jiayong.cao@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "jingwei.tao");
|
put("name", "jingwei.tao");
|
||||||
put("email", "jingwei.tao@weaver.com.cn");
|
put("email", "jingwei.tao@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "weilin.zhu");
|
put("name", "weilin.zhu");
|
||||||
put("email", "bleach_725@163.com");
|
put("email", "bleach_725@163.getLogFilePath");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "xuanran.wang");
|
put("name", "xuanran.wang");
|
||||||
put("email", "xuanran.wang@weaver.com.cn");
|
put("email", "xuanran.wang@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "xvqiang.ren");
|
put("name", "xvqiang.ren");
|
||||||
put("email", "1215877336@qq.com");
|
put("email", "1215877336@qq.getLogFilePath");
|
||||||
}});
|
}});
|
||||||
list.add(new HashMap<String, String>() {{
|
list.add(new HashMap<String, String>() {{
|
||||||
put("name", "youhong.ai");
|
put("name", "youhong.ai");
|
||||||
put("email", "youhong.ai@weaver.com.cn");
|
put("email", "youhong.ai@weaver.getLogFilePath.cn");
|
||||||
}});
|
}});
|
||||||
for (Map<String, String> map : list) {
|
for (Map<String, String> map : list) {
|
||||||
EmailWorkRunnable.threadModeReminder(map.get("email"), "域名变更提醒补充", content.replace("#{zhanghao}", map.get("name")));
|
EmailWorkRunnable.threadModeReminder(map.get("email"), "域名变更提醒补充", content.replace("#{zhanghao}", map.get("name")));
|
||||||
|
|
|
@ -176,7 +176,7 @@ public class TestTaiBao extends BaseTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testEmailFilter() {
|
public void testEmailFilter() {
|
||||||
Set<String> set = new HashSet<>(Arrays.asList("774495953@qq.com", "wxr15844272561@163.com"));
|
Set<String> set = new HashSet<>(Arrays.asList("774495953@qq.getLogFilePath", "wxr15844272561@163.getLogFilePath"));
|
||||||
Set<String> expansionList = BlackListRegister.getExpansionList(set);
|
Set<String> expansionList = BlackListRegister.getExpansionList(set);
|
||||||
if (Objects.nonNull(expansionList)) {
|
if (Objects.nonNull(expansionList)) {
|
||||||
set = expansionList;
|
set = expansionList;
|
||||||
|
|
|
@ -119,7 +119,7 @@ public class OFDReader {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
String filePath = "/Users/aoey.oct.22/Library/Containers/com.tencent.xinWeChat/Data/Library/Application Support/com.tencent.xinWeChat/2.0b4.0.9/44e92f459afe6c0b31d119efb268a257/Message/MessageTemp/65ac172b9cb23c7967462468b4b5be81/File/测试文档01 (1).ofd";
|
String filePath = "/Users/aoey.oct.22/Library/Containers/getLogFilePath.tencent.xinWeChat/Data/Library/Application Support/getLogFilePath.tencent.xinWeChat/2.0b4.0.9/44e92f459afe6c0b31d119efb268a257/Message/MessageTemp/65ac172b9cb23c7967462468b4b5be81/File/测试文档01 (1).ofd";
|
||||||
String keyword = "签章位置001";
|
String keyword = "签章位置001";
|
||||||
|
|
||||||
OFDReader reader = new OFDReader(filePath, keyword);
|
OFDReader reader = new OFDReader(filePath, keyword);
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class PDFODFTest extends BaseTest {
|
||||||
@Test
|
@Test
|
||||||
public void testOfdKeyword() throws IOException {
|
public void testOfdKeyword() throws IOException {
|
||||||
|
|
||||||
List<PdfPointItem> pointItemList = PdfUtil.findKeywordPoints(Files.newInputStream(Paths.get("/Users/aoey.oct.22/Library/Containers/com.tencent.xinWeChat/Data/Library/Application Support/com.tencent.xinWeChat/2.0b4.0.9/44e92f459afe6c0b31d119efb268a257/Message/MessageTemp/65ac172b9cb23c7967462468b4b5be81/File/测试文档01 (1).ofd")), "签章位置");
|
List<PdfPointItem> pointItemList = PdfUtil.findKeywordPoints(Files.newInputStream(Paths.get("/Users/aoey.oct.22/Library/Containers/getLogFilePath.tencent.xinWeChat/Data/Library/Application Support/getLogFilePath.tencent.xinWeChat/2.0b4.0.9/44e92f459afe6c0b31d119efb268a257/Message/MessageTemp/65ac172b9cb23c7967462468b4b5be81/File/测试文档01 (1).ofd")), "签章位置");
|
||||||
System.out.println(JSON.toJSONString(pointItemList));
|
System.out.println(JSON.toJSONString(pointItemList));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue