结论
相对于json字符串转为实体,再转回为json字符串,更接近高保真的是
“com.google.gson.Gson {}”, new GsonBuilder().create().toJson(bo1)); 和 “com.alibaba.fastjson.JSON {}”, JSON.toJSONString(bo1));
代码
BusinessInsertBO bo = BusinessInsertBO.builder().dbName("dbname").wellId("wellid\"\n\t").build();
String jsonStr = JSONUtil.toJsonStr(bo);
jsonStr = "{\"wellId\":\"less_1739_0\",\"dbName\":\"WIS00001\",\"tableName\":\"wis_log\"," +
"\"tableValue\":{\"primaryKeyName\":\"guid\",\"colNames\":[\"GUID\",\"time\"],\"data\":" +
"[[\"6f9619ff-8b86-d011-b42d-00c04fc964ff\",\"\"],[\"6f9619ff-8b86-d011-b42d-00c04fc964f1\",null]]}}";
log.info(jsonStr);
BusinessInsertBO bo1 = new GsonBuilder().serializeNulls().create().fromJson(jsonStr, BusinessInsertBO.class);
log.info("com.google.gson.Gson {}", new GsonBuilder().create().toJson(bo1));
log.info("com.google.gson.Gson {}", new GsonBuilder().serializeNulls().create().toJson(bo1));
log.info("cn.hutool.json.JSONUtil {}", JSONUtil.toJsonStr(bo1));
log.info("com.alibaba.fastjson.JSON {}", JSON.toJSONString(bo1));
String jsonPrettyStr = JSONUtil.toJsonPrettyStr(bo1);
log.info(jsonPrettyStr);
log.info(URLUtil.decode(jsonPrettyStr));
log.info(URLUtil.decode(jsonPrettyStr));
日志:
D:\d_work_soft\AdoptOpenJDK8\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50425,suspend=y,server=n -ea -Didea.test.cyclic.buffer.size=10485760 -javaagent:D:\d_work_soft\ideaIU-2023.2.5.win\plugins\java\lib\rt\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath C:\Users\hanxs\.m2\repository\org\junit\platform\junit-platform-launcher\1.6.3\junit-platform-launcher-1.6.3.jar;C:\Users\hanxs\.m2\repository\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;C:\Users\hanxs\.m2\repository\org\junit\platform\junit-platform-engine\1.6.3\junit-platform-engine-1.6.3.jar;C:\Users\hanxs\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\hanxs\.m2\repository\org\junit\platform\junit-platform-commons\1.6.3\junit-platform-commons-1.6.3.jar;D:\d_work_soft\ideaIU-2023.2.5.win\lib\idea_rt.jar;D:\d_work_soft\ideaIU-2023.2.5.win\plugins\junit\lib\junit5-rt.jar;D:\d_work_soft\ideaIU-2023.2.5.win\plugins\junit\lib\junit-rt.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\charsets.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\access-bridge-64.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\cldrdata.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\dnsns.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\jaccess.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\localedata.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\nashorn.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\sunec.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\sunjce_provider.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\sunmscapi.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\sunpkcs11.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\ext\zipfs.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\jce.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\jfr.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\jsse.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\management-agent.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\resources.jar;D:\d_work_soft\AdoptOpenJDK8\jre\lib\rt.jar;D:\d_work_code\code_server\lxhl-cmsl\data-server\target\test-classes;D:\d_work_code\code_server\lxhl-cmsl\data-server\target\classes;D:\d_work_code\code_server\lxhl-cmsl\common\target\classes;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter\2.3.12.RELEASE\spring-boot-starter-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-logging\2.3.12.RELEASE\spring-boot-starter-logging-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\d_work_helper\myMavenRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\d_work_helper\myMavenRepository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\d_work_helper\myMavenRepository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\d_work_helper\myMavenRepository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\d_work_helper\myMavenRepository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\d_work_helper\myMavenRepository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-web\2.3.12.RELEASE\spring-boot-starter-web-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-json\2.3.12.RELEASE\spring-boot-starter-json-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-web\5.2.15.RELEASE\spring-web-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-beans\5.2.15.RELEASE\spring-beans-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-webmvc\5.2.15.RELEASE\spring-webmvc-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-aop\5.2.15.RELEASE\spring-aop-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-context\5.2.15.RELEASE\spring-context-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-expression\5.2.15.RELEASE\spring-expression-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-jetty\2.3.12.RELEASE\spring-boot-starter-jetty-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\jakarta\servlet\jakarta.servlet-api\4.0.4\jakarta.servlet-api-4.0.4.jar;D:\d_work_helper\myMavenRepository\jakarta\websocket\jakarta.websocket-api\1.1.2\jakarta.websocket-api-1.1.2.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-servlets\9.4.42.v20210604\jetty-servlets-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-continuation\9.4.42.v20210604\jetty-continuation-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-http\9.4.42.v20210604\jetty-http-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-util\9.4.42.v20210604\jetty-util-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-io\9.4.42.v20210604\jetty-io-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-webapp\9.4.42.v20210604\jetty-webapp-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-xml\9.4.42.v20210604\jetty-xml-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-servlet\9.4.42.v20210604\jetty-servlet-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-security\9.4.42.v20210604\jetty-security-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-server\9.4.42.v20210604\jetty-server-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-util-ajax\9.4.42.v20210604\jetty-util-ajax-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\websocket-server\9.4.42.v20210604\websocket-server-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\websocket-common\9.4.42.v20210604\websocket-common-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\websocket-api\9.4.42.v20210604\websocket-api-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\websocket-client\9.4.42.v20210604\websocket-client-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-client\9.4.42.v20210604\jetty-client-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\websocket-servlet\9.4.42.v20210604\websocket-servlet-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\javax-websocket-server-impl\9.4.42.v20210604\javax-websocket-server-impl-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-annotations\9.4.42.v20210604\jetty-annotations-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\jetty-plus\9.4.42.v20210604\jetty-plus-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\ow2\asm\asm\9.0\asm-9.0.jar;D:\d_work_helper\myMavenRepository\org\ow2\asm\asm-commons\9.0\asm-commons-9.0.jar;D:\d_work_helper\myMavenRepository\org\ow2\asm\asm-tree\9.0\asm-tree-9.0.jar;D:\d_work_helper\myMavenRepository\org\ow2\asm\asm-analysis\9.0\asm-analysis-9.0.jar;D:\d_work_helper\myMavenRepository\org\eclipse\jetty\websocket\javax-websocket-client-impl\9.4.42.v20210604\javax-websocket-client-impl-9.4.42.v20210604.jar;D:\d_work_helper\myMavenRepository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-devtools\2.3.12.RELEASE\spring-boot-devtools-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot\2.3.12.RELEASE\spring-boot-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-autoconfigure\2.3.12.RELEASE\spring-boot-autoconfigure-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-cache\2.3.12.RELEASE\spring-boot-starter-cache-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-context-support\5.2.15.RELEASE\spring-context-support-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\github\ben-manes\caffeine\caffeine\2.8.8\caffeine-2.8.8.jar;D:\d_work_helper\myMavenRepository\org\checkerframework\checker-qual\3.8.0\checker-qual-3.8.0.jar;D:\d_work_helper\myMavenRepository\com\google\errorprone\error_prone_annotations\2.4.0\error_prone_annotations-2.4.0.jar;D:\d_work_helper\myMavenRepository\de\codecentric\spring-boot-admin-starter-client\2.7.10\spring-boot-admin-starter-client-2.7.10.jar;D:\d_work_helper\myMavenRepository\de\codecentric\spring-boot-admin-client\2.7.10\spring-boot-admin-client-2.7.10.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-actuator\2.3.12.RELEASE\spring-boot-starter-actuator-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.3.12.RELEASE\spring-boot-actuator-autoconfigure-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-actuator\2.3.12.RELEASE\spring-boot-actuator-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\io\micrometer\micrometer-core\1.5.14\micrometer-core-1.5.14.jar;D:\d_work_helper\myMavenRepository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\d_work_helper\myMavenRepository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-transport-simple-http\1.8.6\sentinel-transport-simple-http-1.8.6.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-transport-common\1.8.6\sentinel-transport-common-1.8.6.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-datasource-extension\1.8.6\sentinel-datasource-extension-1.8.6.jar;D:\d_work_helper\myMavenRepository\com\alibaba\fastjson\1.2.83_noneautotype\fastjson-1.2.83_noneautotype.jar;D:\d_work_helper\myMavenRepository\com\alibaba\cloud\spring-cloud-starter-alibaba-sentinel\2.2.9.RELEASE\spring-cloud-starter-alibaba-sentinel-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-annotation-aspectj\1.8.5\sentinel-annotation-aspectj-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-core\1.8.5\sentinel-core-1.8.5.jar;D:\d_work_helper\myMavenRepository\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\d_work_helper\myMavenRepository\com\alibaba\cloud\spring-cloud-circuitbreaker-sentinel\2.2.9.RELEASE\spring-cloud-circuitbreaker-sentinel-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-reactor-adapter\1.8.5\sentinel-reactor-adapter-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-spring-webflux-adapter\1.8.5\sentinel-spring-webflux-adapter-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-spring-webmvc-adapter\1.8.5\sentinel-spring-webmvc-adapter-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-parameter-flow-control\1.8.5\sentinel-parameter-flow-control-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-cluster-server-default\1.8.5\sentinel-cluster-server-default-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-cluster-common-default\1.8.5\sentinel-cluster-common-default-1.8.5.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-handler\4.1.65.Final\netty-handler-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-common\4.1.65.Final\netty-common-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-resolver\4.1.65.Final\netty-resolver-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-buffer\4.1.65.Final\netty-buffer-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-transport\4.1.65.Final\netty-transport-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-codec\4.1.65.Final\netty-codec-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\com\alibaba\csp\sentinel-cluster-client-default\1.8.5\sentinel-cluster-client-default-1.8.5.jar;D:\d_work_helper\myMavenRepository\com\alibaba\cloud\spring-cloud-alibaba-sentinel-datasource\2.2.9.RELEASE\spring-cloud-alibaba-sentinel-datasource-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.9.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\alibaba\cloud\spring-cloud-alibaba-commons\2.2.9.RELEASE\spring-cloud-alibaba-commons-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\alibaba\nacos\nacos-client\2.1.0\nacos-client-2.1.0.jar;D:\d_work_helper\myMavenRepository\com\alibaba\nacos\nacos-auth-plugin\2.1.0\nacos-auth-plugin-2.1.0.jar;D:\d_work_helper\myMavenRepository\com\alibaba\nacos\nacos-encryption-plugin\2.1.0\nacos-encryption-plugin-2.1.0.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;D:\d_work_helper\myMavenRepository\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;D:\d_work_helper\myMavenRepository\org\apache\httpcomponents\httpcore-nio\4.4.14\httpcore-nio-4.4.14.jar;D:\d_work_helper\myMavenRepository\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;D:\d_work_helper\myMavenRepository\com\alibaba\spring\spring-context-support\1.0.11\spring-context-support-1.0.11.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-context\2.2.9.RELEASE\spring-cloud-context-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.9.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.9.RELEASE\spring-cloud-netflix-ribbon-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.9.RELEASE\spring-cloud-netflix-archaius-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.9.RELEASE\spring-cloud-starter-netflix-archaius-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\d_work_helper\myMavenRepository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\d_work_helper\myMavenRepository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\d_work_helper\myMavenRepository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\d_work_helper\myMavenRepository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\d_work_helper\myMavenRepository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\d_work_helper\myMavenRepository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\d_work_helper\myMavenRepository\com\google\guava\guava\30.0-jre\guava-30.0-jre.jar;D:\d_work_helper\myMavenRepository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\d_work_helper\myMavenRepository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\d_work_helper\myMavenRepository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\d_work_helper\myMavenRepository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\d_work_helper\myMavenRepository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\d_work_helper\myMavenRepository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\d_work_helper\myMavenRepository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\d_work_helper\myMavenRepository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\d_work_helper\myMavenRepository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\d_work_helper\myMavenRepository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\d_work_helper\myMavenRepository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\d_work_helper\myMavenRepository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\d_work_helper\myMavenRepository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\d_work_helper\myMavenRepository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\d_work_helper\myMavenRepository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-starter-openfeign\2.2.9.RELEASE\spring-cloud-starter-openfeign-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-starter\2.2.9.RELEASE\spring-cloud-starter-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\d_work_helper\myMavenRepository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-openfeign-core\2.2.9.RELEASE\spring-cloud-openfeign-core-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-aop\2.3.12.RELEASE\spring-boot-starter-aop-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\d_work_helper\myMavenRepository\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\d_work_helper\myMavenRepository\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\d_work_helper\myMavenRepository\io\github\openfeign\feign-core\10.12\feign-core-10.12.jar;D:\d_work_helper\myMavenRepository\io\github\openfeign\feign-slf4j\10.12\feign-slf4j-10.12.jar;D:\d_work_helper\myMavenRepository\io\github\openfeign\feign-hystrix\10.12\feign-hystrix-10.12.jar;D:\d_work_helper\myMavenRepository\com\netflix\archaius\archaius-core\0.7.7\archaius-core-0.7.7.jar;D:\d_work_helper\myMavenRepository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;D:\d_work_helper\myMavenRepository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-boot-starter\3.5.6\mybatis-plus-boot-starter-3.5.6.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus\3.5.6\mybatis-plus-3.5.6.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-annotation\3.5.6\mybatis-plus-annotation-3.5.6.jar;D:\d_work_helper\myMavenRepository\org\mybatis\mybatis\3.5.16\mybatis-3.5.16.jar;D:\d_work_helper\myMavenRepository\com\github\jsqlparser\jsqlparser\4.9\jsqlparser-4.9.jar;D:\d_work_helper\myMavenRepository\org\mybatis\mybatis-spring\2.1.2\mybatis-spring-2.1.2.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-spring-boot-autoconfigure\3.5.6\mybatis-plus-spring-boot-autoconfigure-3.5.6.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-jdbc\2.3.12.RELEASE\spring-boot-starter-jdbc-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-jdbc\5.2.15.RELEASE\spring-jdbc-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-tx\5.2.15.RELEASE\spring-tx-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-generator\3.5.6\mybatis-plus-generator-3.5.6.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-extension\3.5.6\mybatis-plus-extension-3.5.6.jar;D:\d_work_helper\myMavenRepository\com\baomidou\mybatis-plus-core\3.5.6\mybatis-plus-core-3.5.6.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-spring-boot-starter\2.0.4\rocketmq-spring-boot-starter-2.0.4.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-spring-boot\2.0.4\rocketmq-spring-boot-2.0.4.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-client\4.5.2\rocketmq-client-4.5.2.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-common\4.5.2\rocketmq-common-4.5.2.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-acl\4.5.2\rocketmq-acl-4.5.2.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-remoting\4.5.2\rocketmq-remoting-4.5.2.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-all\4.1.65.Final\netty-all-4.1.65.Final.jar;D:\d_work_helper\myMavenRepository\io\netty\netty-tcnative-boringssl-static\2.0.39.Final\netty-tcnative-boringssl-static-2.0.39.Final.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-logging\4.5.2\rocketmq-logging-4.5.2.jar;D:\d_work_helper\myMavenRepository\org\apache\rocketmq\rocketmq-srvutil\4.5.2\rocketmq-srvutil-4.5.2.jar;D:\d_work_helper\myMavenRepository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-messaging\5.2.15.RELEASE\spring-messaging-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-validation\2.3.12.RELEASE\spring-boot-starter-validation-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\hibernate\validator\hibernate-validator\6.1.7.Final\hibernate-validator-6.1.7.Final.jar;D:\d_work_helper\myMavenRepository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\d_work_helper\myMavenRepository\org\jboss\logging\jboss-logging\3.4.2.Final\jboss-logging-3.4.2.Final.jar;D:\d_work_helper\myMavenRepository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\d_work_helper\myMavenRepository\org\freemarker\freemarker\2.3.31\freemarker-2.3.31.jar;D:\d_work_helper\myMavenRepository\com\alibaba\druid-spring-boot-starter\1.2.16\druid-spring-boot-starter-1.2.16.jar;D:\d_work_helper\myMavenRepository\com\alibaba\druid\1.2.16\druid-1.2.16.jar;D:\d_work_helper\myMavenRepository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\d_work_helper\myMavenRepository\com\microsoft\sqlserver\mssql-jdbc\9.5.0.jre8-preview\mssql-jdbc-9.5.0.jre8-preview.jar;D:\d_work_helper\myMavenRepository\com\kingbase8\kingbase8\8.6.0\kingbase8-8.6.0.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-starter-test\2.3.12.RELEASE\spring-boot-starter-test-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-test\2.3.12.RELEASE\spring-boot-test-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\boot\spring-boot-test-autoconfigure\2.3.12.RELEASE\spring-boot-test-autoconfigure-2.3.12.RELEASE.jar;D:\d_work_helper\myMavenRepository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;D:\d_work_helper\myMavenRepository\net\minidev\json-smart\2.3.1\json-smart-2.3.1.jar;D:\d_work_helper\myMavenRepository\net\minidev\accessors-smart\2.3.1\accessors-smart-2.3.1.jar;D:\d_work_helper\myMavenRepository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\d_work_helper\myMavenRepository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\d_work_helper\myMavenRepository\org\assertj\assertj-core\3.16.1\assertj-core-3.16.1.jar;D:\d_work_helper\myMavenRepository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;D:\d_work_helper\myMavenRepository\org\junit\jupiter\junit-jupiter\5.6.3\junit-jupiter-5.6.3.jar;D:\d_work_helper\myMavenRepository\org\junit\jupiter\junit-jupiter-api\5.6.3\junit-jupiter-api-5.6.3.jar;D:\d_work_helper\myMavenRepository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;D:\d_work_helper\myMavenRepository\org\junit\platform\junit-platform-commons\1.6.3\junit-platform-commons-1.6.3.jar;D:\d_work_helper\myMavenRepository\org\junit\jupiter\junit-jupiter-params\5.6.3\junit-jupiter-params-5.6.3.jar;D:\d_work_helper\myMavenRepository\org\junit\jupiter\junit-jupiter-engine\5.6.3\junit-jupiter-engine-5.6.3.jar;D:\d_work_helper\myMavenRepository\org\junit\vintage\junit-vintage-engine\5.6.3\junit-vintage-engine-5.6.3.jar;D:\d_work_helper\myMavenRepository\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;D:\d_work_helper\myMavenRepository\org\junit\platform\junit-platform-engine\1.6.3\junit-platform-engine-1.6.3.jar;D:\d_work_helper\myMavenRepository\junit\junit\4.13.2\junit-4.13.2.jar;D:\d_work_helper\myMavenRepository\org\mockito\mockito-core\3.3.3\mockito-core-3.3.3.jar;D:\d_work_helper\myMavenRepository\net\bytebuddy\byte-buddy\1.10.22\byte-buddy-1.10.22.jar;D:\d_work_helper\myMavenRepository\net\bytebuddy\byte-buddy-agent\1.10.22\byte-buddy-agent-1.10.22.jar;D:\d_work_helper\myMavenRepository\org\mockito\mockito-junit-jupiter\3.3.3\mockito-junit-jupiter-3.3.3.jar;D:\d_work_helper\myMavenRepository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;D:\d_work_helper\myMavenRepository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-core\5.2.15.RELEASE\spring-core-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-jcl\5.2.15.RELEASE\spring-jcl-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\spring-test\5.2.15.RELEASE\spring-test-5.2.15.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\xmlunit\xmlunit-core\2.7.0\xmlunit-core-2.7.0.jar;D:\d_work_helper\myMavenRepository\org\springframework\cloud\spring-cloud-commons\2.2.9.RELEASE\spring-cloud-commons-2.2.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\org\springframework\security\spring-security-crypto\5.3.9.RELEASE\spring-security-crypto-5.3.9.RELEASE.jar;D:\d_work_helper\myMavenRepository\ma\glasnost\orika\orika-core\1.5.4\orika-core-1.5.4.jar;D:\d_work_helper\myMavenRepository\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar;D:\d_work_helper\myMavenRepository\com\thoughtworks\paranamer\paranamer\2.8\paranamer-2.8.jar;D:\d_work_helper\myMavenRepository\com\carrotsearch\java-sizeof\0.0.5\java-sizeof-0.0.5.jar;D:\d_work_helper\myMavenRepository\org\codehaus\janino\janino\3.1.4\janino-3.1.4.jar;D:\d_work_helper\myMavenRepository\org\codehaus\janino\commons-compiler\3.1.4\commons-compiler-3.1.4.jar;D:\d_work_helper\myMavenRepository\com\github\dozermapper\dozer-core\6.5.0\dozer-core-6.5.0.jar;D:\d_work_helper\myMavenRepository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;D:\d_work_helper\myMavenRepository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\d_work_helper\myMavenRepository\org\slf4j\jcl-over-slf4j\1.7.30\jcl-over-slf4j-1.7.30.jar;D:\d_work_helper\myMavenRepository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;D:\d_work_helper\myMavenRepository\net\sf\dozer\dozer\5.5.1\dozer-5.5.1.jar;D:\d_work_helper\myMavenRepository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;D:\d_work_helper\myMavenRepository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;D:\d_work_helper\myMavenRepository\org\jetbrains\kotlin\kotlin-stdlib-common\1.3.72\kotlin-stdlib-common-1.3.72.jar;D:\d_work_helper\myMavenRepository\org\jetbrains\kotlin\kotlin-stdlib\1.3.72\kotlin-stdlib-1.3.72.jar;D:\d_work_helper\myMavenRepository\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\d_work_helper\myMavenRepository\org\apache\httpcomponents\httpclient\4.5.14\httpclient-4.5.14.jar;D:\d_work_helper\myMavenRepository\org\apache\httpcomponents\httpcore\4.4.14\httpcore-4.4.14.jar;D:\d_work_helper\myMavenRepository\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\d_work_helper\myMavenRepository\com\alibaba\fastjson2\fastjson2\2.0.52\fastjson2-2.0.52.jar;D:\d_work_helper\myMavenRepository\org\apache\commons\commons-lang3\3.10\commons-lang3-3.10.jar;D:\d_work_helper\myMavenRepository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;D:\d_work_helper\myMavenRepository\org\projectlombok\lombok\1.18.20\lombok-1.18.20.jar;D:\d_work_helper\myMavenRepository\org\apache\commons\commons-collections4\4.2\commons-collections4-4.2.jar;D:\d_work_helper\myMavenRepository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;D:\d_work_helper\myMavenRepository\cn\hutool\hutool-all\5.8.20\hutool-all-5.8.20.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit5 @w@C:\Users\hanxs\AppData\Local\Temp\idea_working_dirs_junit.tmp @C:\Users\hanxs\AppData\Local\Temp\idea_junit.tmp
Connected to the target VM, address: '127.0.0.1:50425', transport: 'socket'
08:49:56.472 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - {"wellId":"less_1739_0","dbName":"WIS00001","tableName":"wis_log","tableValue":{"primaryKeyName":"guid","colNames":["GUID","time"],"data":[["6f9619ff-8b86-d011-b42d-00c04fc964ff",""],["6f9619ff-8b86-d011-b42d-00c04fc964f1",null]]}}
08:49:56.616 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - com.google.gson.Gson {"dbName":"WIS00001","wellId":"less_1739_0","tableName":"wis_log","reqInfo":{},"tableValue":{"primaryKeyName":"guid","colNames":["GUID","time"],"data":[["6f9619ff-8b86-d011-b42d-00c04fc964ff",""],["6f9619ff-8b86-d011-b42d-00c04fc964f1",null]]},"dbConn":"defaultDbConn"}
08:49:56.619 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - com.google.gson.Gson {"dbStatus":null,"serialNumber":null,"dbName":"WIS00001","wellId":"less_1739_0","tableName":"wis_log","reqDataSize":null,"uri":null,"reqInfo":{},"tableValue":{"primaryKeyName":"guid","primaryKeyIndex":null,"colNames":["GUID","time"],"data":[["6f9619ff-8b86-d011-b42d-00c04fc964ff",""],["6f9619ff-8b86-d011-b42d-00c04fc964f1",null]],"updateKeyValues":null,"keyValues":null},"colValues":null,"iCnt":null,"idBegin":null,"idEnd":null,"num":null,"maxId":null,"iMaxid":null,"strActcType":null,"strSQL":null,"text":null,"uname":null,"password":null,"startTime":null,"wits29GuidList":null,"wits29FileStrList":null,"dbConn":"defaultDbConn"}
08:49:56.626 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - cn.hutool.json.JSONUtil {"dbName":"WIS00001","wellId":"less_1739_0","tableName":"wis_log","reqInfo":{},"tableValue":{"primaryKeyName":"guid","colNames":["GUID","time"],"data":[["6f9619ff-8b86-d011-b42d-00c04fc964ff",""],["6f9619ff-8b86-d011-b42d-00c04fc964f1"]]},"dbConn":"defaultDbConn"}
08:49:56.827 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - com.alibaba.fastjson.JSON {"dbConn":"defaultDbConn","dbName":"WIS00001","reqInfo":{},"tableName":"wis_log","tableValue":{"colNames":["GUID","time"],"data":[["6f9619ff-8b86-d011-b42d-00c04fc964ff",""],["6f9619ff-8b86-d011-b42d-00c04fc964f1",null]],"primaryKeyName":"guid"},"wellId":"less_1739_0"}
08:53:24.454 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - {
"dbName": "WIS00001",
"wellId": "less_1739_0",
"tableName": "wis_log",
"reqInfo": {
},
"tableValue": {
"primaryKeyName": "guid",
"colNames": [
"GUID",
"time"
],
"data": [
[
"6f9619ff-8b86-d011-b42d-00c04fc964ff",
""
],
[
"6f9619ff-8b86-d011-b42d-00c04fc964f1"
]
]
},
"dbConn": "defaultDbConn"
}
08:53:24.463 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - {
"dbName": "WIS00001",
"wellId": "less_1739_0",
"tableName": "wis_log",
"reqInfo": {
},
"tableValue": {
"primaryKeyName": "guid",
"colNames": [
"GUID",
"time"
],
"data": [
[
"6f9619ff-8b86-d011-b42d-00c04fc964ff",
""
],
[
"6f9619ff-8b86-d011-b42d-00c04fc964f1"
]
]
},
"dbConn": "defaultDbConn"
}
08:53:24.464 [main] INFO cn.lxhl.cmsl.dataserver.BasicTests - {
"dbName": "WIS00001",
"wellId": "less_1739_0",
"tableName": "wis_log",
"reqInfo": {
},
"tableValue": {
"primaryKeyName": "guid",
"colNames": [
"GUID",
"time"
],
"data": [
[
"6f9619ff-8b86-d011-b42d-00c04fc964ff",
""
],
[
"6f9619ff-8b86-d011-b42d-00c04fc964f1"
]
]
},
"dbConn": "defaultDbConn"
}
[{"tab":"wis1","wellId":"id1"},{"tab":"wis2","wellId":"id2"}]
Disconnected from the target VM, address: '127.0.0.1:50425', transport: 'socket'
Process finished with exit code 0