From 0b6b3c44c7ff28e8c0c307d39bbfd7017b6fa982 Mon Sep 17 00:00:00 2001 From: luming Date: Wed, 12 Jan 2022 14:15:57 +0800 Subject: [PATCH] test --- src/main/java/TableTest.java | 22 ++ src/main/resources/party.json | 410 ++++++++++++++++++++++++++++++++++ 2 files changed, 432 insertions(+) create mode 100644 src/main/java/TableTest.java create mode 100644 src/main/resources/party.json diff --git a/src/main/java/TableTest.java b/src/main/java/TableTest.java new file mode 100644 index 0000000..474503e --- /dev/null +++ b/src/main/java/TableTest.java @@ -0,0 +1,22 @@ +import com.google.common.collect.HashBasedTable; +import com.google.common.collect.Table; + +import java.math.BigDecimal; + +/** + * todo Created with IntelliJ IDEA + * + * @author luming + * @email: lu.lm@bitsun-inc.com + * @date 2022/1/12 14:10 + */ +public class TableTest { + public static void main(String[] args) { + Table price = HashBasedTable.create(); + price.put("OS1","SPU1",BigDecimal.TEN); + price.put("OS2","SPU1",BigDecimal.TEN); + price.put("OS1","SPU2",BigDecimal.ONE); + price.put("OS3","SPU1",BigDecimal.TEN); + System.out.println(price); + } +} diff --git a/src/main/resources/party.json b/src/main/resources/party.json new file mode 100644 index 0000000..cce85a2 --- /dev/null +++ b/src/main/resources/party.json @@ -0,0 +1,410 @@ +[ + { + "id": "202111092333001", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "10421094", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333002", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12234723", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333003", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12234721", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333004", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12234719", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333005", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12234718", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333006", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12234716", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "202111092333007", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PWSECLOUD001", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333008", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PWSECLOUD002", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333009", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20210929000002", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333010", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20210929000003", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333011", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211016000001", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333012", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211016000002", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333013", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211016000004", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333014", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211028000003", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333015", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211011", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "921051033295151104", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000003", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "908665132192272384", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211112000001", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "908757154405314560", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211111000003", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "921051382269632512", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000006", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "921084604336594944", + "relationType": 20, + "configId": "202112011717001", + "relationCode": "PW20211214000007", + "name": "菜鸟", + "code": "CN", + "type": 20, + "appKey": "", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "CNJY" + }, + { + "id": "921084714764230656", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211216000001", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "908764634742292480", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211112000002", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "908785869133877248", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211112000003", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "909842614440460288", + "relationType": 20, + "configId": "202111092323005", + "relationCode": "PW20211115000001", + "name": "巨沃", + "code": "JWO", + "type": 20, + "appKey": "23012571", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "JY001", + "methodServerUrl": "{\"taobao.qimen.returnregiste.sync\":\"http://39.98.209.119:9090/interfaces-web/api\"}" + }, + { + "id": "90984261444046028", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211028000001", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "917412101622251520", + "relationType": 20, + "configId": "202112011717001", + "relationCode": "PW20211206000001", + "name": "菜鸟", + "code": "CN", + "type": 20, + "appKey": "", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "CNJY" + }, + { + "id": "202111092333016", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211206000002", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "920335198071074816", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000001", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "921035425597906944", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211215000003", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "921035499463794688", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000005", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "921050945046994944", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000004", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "921050990660050944", + "relationType": 20, + "configId": "202111092323004", + "relationCode": "PW20211214000002", + "name": "圆通", + "code": "YTO", + "type": 20, + "appKey": "23212523", + "serverUrl": "https://qimen.api.taobao.com/router/qimen/service", + "customerId": "YT594" + }, + { + "id": "202111092333017", + "relationType": 10, + "configId": "202111092323003", + "relationCode": "12390306", + "name": "聚水潭", + "code": "JST", + "type": 20, + "appKey": "23060081", + "serverUrl": "http://qimen.api.taobao.com/router/qmtest", + "customerId": "C1632365246709" + }, + { + "id": "923368747551879168", + "relationType": 10, + "configId": "908454621911433216", + "relationCode": "12407767" + } +] \ No newline at end of file