package cn.freemud.service.impl;

import cn.freemud.adapter.OrderAdapter;
import com.alibaba.fastjson.JSON;
import com.freemud.application.sdk.api.ordercenter.adapter.OrderCenterSdkAdapter;
import com.freemud.application.sdk.api.ordercenter.entities.v1.OrderBeanV1;
import com.freemud.application.sdk.api.ordercenter.response.orderInfo.OrderInfoReqs;

/**
 * @author : xh.Z
 * @email : fisherman0510@163.com
 * @Date : 2022/7/5 10:52
 * @description :
 */
public class OrderInfo2OrderBeanV1 {

    public static void main(String[] args) {
        //正常单
        String str = "{\"abnormalDesc\":\"\",\"abnormalState\":0,\"acceptTime\":1656927690000,\"actualPayAmount\":2,\"afterSalesOrderList\":[{\"actualAmount\":2,\"actualScoreAmount\":0,\"adultRemark\":\"\",\"afterSalesApplyClient\":0,\"afterSalesCode\":\"24839353836098846300001\",\"afterSalesImages\":[],\"afterSalesOptHistoryList\":[{\"afterSalesCode\":\"24839353836098846300001\",\"createTime\":1656928137000,\"id\":248393538461651780,\"operationClient\":0,\"operationCode\":1,\"operationDesc\":\"发起售后申请\",\"operator\":\"雪玉\",\"orderCode\":\"24839305965039294900001\",\"partnerId\":\"2690\",\"targetAfterSalesState\":1,\"timeout\":0,\"updateTime\":1656928137000},{\"afterSalesCode\":\"24839353836098846300001\",\"createTime\":1656944702000,\"id\":248410907311493980,\"operationClient\":0,\"operationCode\":3,\"operationDesc\":\"拒绝售后申请\",\"operator\":\"自动任务\",\"orderCode\":\"24839305965039294900001\",\"partnerId\":\"2690\",\"targetAfterSalesState\":3,\"timeout\":0,\"updateTime\":1656944702000}],\"afterSalesOrderItems\":[{\"afterSalesCode\":\"24839353836098846300001\",\"createTime\":1656928137000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isB3S1Coupon\\\": 0, \\\"isFixedProduct\\\": true, \\\"spuProductCode\\\": \\\"202109\\\", \\\"thirdProductPropertyId\\\": \\\"245072444162927120,H00305,H00106\\\"}\",\"id\":248393538368328500,\"orderCode\":\"24839305965039294900001\",\"orderItemId\":248393059718550400,\"parentProductId\":\"215806877139834888_1\",\"partnerId\":\"2690\",\"productId\":\"219187474445045306\",\"productName\":\"汉堡\",\"productPicUrl\":\"https://picture.sandload.cn/1631788957908.jpg\",\"productPrice\":1,\"productProperty\":\"变态辣/少冰/无糖\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSpec\":\"219187474445045306\",\"productSpecName\":\"汉堡\",\"productType\":6,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"20210916\",\"updateTime\":1656928137000,\"weight\":0},{\"afterSalesCode\":\"24839353836098846300001\",\"createTime\":1656928137000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isB3S1Coupon\\\": 0, \\\"isFixedProduct\\\": true, \\\"spuProductCode\\\": \\\"787\\\"}\",\"id\":248393538411320130,\"orderCode\":\"24839305965039294900001\",\"orderItemId\":248393059701773200,\"parentProductId\":\"215806877139834888_1\",\"partnerId\":\"2690\",\"productId\":\"219068580477539339\",\"productName\":\"可乐\",\"productPicUrl\":\"https://picture.sandload.cn/1631702492012.gif\",\"productPrice\":200,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSpec\":\"219068580477539339\",\"productSpecName\":\"可乐\",\"productType\":6,\"productUnit\":\"杯\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"weishangcheng\",\"updateTime\":1656928137000,\"weight\":2},{\"afterSalesCode\":\"24839353836098846300001\",\"createTime\":1656928137000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"cartGoodsUid\\\": \\\"11bf94c7-b190-4111-b4cc-9eebd8978e48\\\", \\\"isB3S1Coupon\\\": 0, \\\"spuProductCode\\\": \\\"354352plo\\\"}\",\"id\":248393538415514430,\"orderCode\":\"24839305965039294900001\",\"orderItemId\":248393059668218750,\"parentProductId\":\"0\",\"partnerId\":\"2690\",\"productId\":\"215806877139834888\",\"productName\":\"抖音套餐A\",\"productPicUrl\":\"https://picture.sandload.cn/1628583925334.jpg\",\"productPrice\":2,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":1,\"productSpec\":\"215806877139834888\",\"productSpecName\":\"抖音套餐A\",\"productType\":6,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"hbtc\",\"updateTime\":1656928137000,\"weight\":0}],\"afterSalesReason\":\"下错单\",\"afterSalesStatus\":3,\"afterSalesType\":2,\"createTime\":1656928137000,\"deliveryAmount\":0,\"deliveryContactInfo\":[],\"expressChannelCode\":\"\",\"expressChannelName\":\"\",\"expressNo\":\"\",\"extInfo\":\"{\\\"lastOrderStatus\\\": 3}\",\"hasCargo\":false,\"isAllItemAfterSales\":true,\"operator\":\"自动任务\",\"orderCode\":\"24839305965039294900001\",\"originalShippingFee\":0,\"partnerId\":\"2690\",\"partnerRefundCode\":\"\",\"refundFailReason\":\"\",\"refundState\":1,\"reqAmount\":2,\"reqRemark\":\" 去\",\"reqScoreAmount\":0,\"settlementShippingFee\":0,\"thirdRefundCode\":\"\",\"updateTime\":1656944702000,\"weight\":0}],\"afterSalesState\":3,\"appId\":\"wxa1f272347828dae8\",\"barCounter\":\"\",\"bizType\":1,\"businessDay\":1656864000000,\"canRefund\":true,\"cancelReason\":\"下错单\",\"companySelfCode\":\"\",\"createTime\":1656927681000,\"daySeq\":6,\"deliveryContactInfoList\":[{\"addressDetail\":\"南翔\",\"city\":\"\",\"contactsName\":\"\",\"expressNo\":\"0\",\"extInfo\":\"{}\",\"infoType\":1,\"latitude\":0,\"longitude\":0,\"mobile\":\"13673451997\",\"province\":\"\",\"region\":\"\",\"relateObjectType\":1,\"street\":\"\",\"telephone\":\"\",\"thirdDeliveryId\":\"0\",\"tripDist\":0}],\"deliveryPromise\":0,\"deliveryState\":-2,\"dinersNumber\":0,\"downstreamPosCode\":\"0\",\"downstreamThirdOrderCode\":\"0\",\"evaluationState\":0,\"expressChannelCode\":\"\",\"expressChannelName\":\"\",\"expressNo\":\"\",\"expressType\":0,\"extInfo\":\"{\\\"fmId\\\": \\\"7702690248393059997440005\\\", \\\"appid\\\": \\\"wxa1f272347828dae8\\\", \\\"openid\\\": \\\"o0wG94khi0lKFhJgkOzD-H9EhhQ8\\\", \\\"payDate\\\": \\\"2022-07-04 17:41:30\\\", \\\"version\\\": \\\"3.0.7.4\\\", \\\"prepayId\\\": \\\"wx041741223689417f3aa88c37ac63920000\\\", \\\"fromAppId\\\": \\\"wxa1f272347828dae8\\\", \\\"sessionId\\\": \\\"6badc263ab44d618b66a716baa6491597cfc8350\\\", \\\"endTransId\\\": \\\"181675386421622070417412135262\\\", \\\"paidMember\\\": false, \\\"payTransId\\\": \\\"7702690248393059997440005\\\", \\\"sessionKey\\\": \\\"AlZSbkfdXruSN652PMJDmg==\\\", \\\"memberLevel\\\": \\\"青铜\\\", \\\"serviceTime\\\": 50, \\\"dispatchType\\\": \\\"0\\\", \\\"pushOrderTime\\\": 0, \\\"dispatchTimeout\\\": 0, \\\"deliveryHoursDayEnd\\\": \\\"\\\", \\\"deliveryHoursDayStart\\\": \\\"2022-07-04 00:05:00\\\", \\\"packageAmountCollectType\\\": 1}\",\"immediately\":true,\"isParent\":false,\"localTableKey\":\"\",\"logisticsAccessChannel\":0,\"logisticsList\":[],\"marketingCode\":\"\",\"marketingType\":0,\"needInvoice\":false,\"note\":\"\",\"operator\":\"\",\"orderArea\":\"0\",\"orderClient\":2,\"orderCode\":\"24839305965039294900001\",\"orderCostDetailList\":[],\"orderExtended\":{\"agentPayerId\":\"\",\"agentPayerName\":\"\",\"createTime\":1656927681000,\"id\":248393059650392960,\"isDeleted\":false,\"orderClientGroup\":\"南翔翔\",\"orderClientGroupCode\":\"104\",\"orderCode\":\"24839305965039294900001\",\"orderId\":248393059650392960,\"partnerId\":\"2690\",\"sendWord\":\"\",\"spellGroupCode\":\"\",\"storeId\":\"1001\",\"storeNameEn\":\"\",\"updateTime\":1656927681000,\"userPhone\":\"\",\"version\":0},\"orderInvoice\":{\"address\":\"\",\"bankCardNo\":\"\",\"content\":\"\",\"invoiceBank\":\"\",\"invoiceNo\":\"\",\"invoiceUrl\":\"\",\"itemId\":\"\",\"partnerId\":\"\",\"phoneNo\":\"\",\"pickUpNo\":\"\",\"taxNo\":\"\",\"title\":\"\",\"userId\":\"\"},\"orderItemList\":[{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"cartGoodsUid\\\": \\\"11bf94c7-b190-4111-b4cc-9eebd8978e48\\\", \\\"isB3S1Coupon\\\": 0, \\\"spuProductCode\\\": \\\"354352plo\\\"}\",\"id\":248393059668218750,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":7,\"parentProductId\":\"0\",\"photoUrl\":\"\",\"productCode\":\"354352plo\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"215806877139834888\",\"productName\":\"抖音套餐A\",\"productPicUrl\":\"https://picture.sandload.cn/1628583925334.jpg\",\"productPrice\":2,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":1,\"productSharePrice\":0,\"productSpec\":\"215806877139834888\",\"productSpecName\":\"抖音套餐A\",\"productType\":6,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":2,\"saleScorePrice\":0,\"settlementPrice\":2,\"settlementScorePrice\":0,\"thirdProductId\":\"hbtc\",\"userId\":\"\",\"weight\":0},{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isB3S1Coupon\\\": 0, \\\"isFixedProduct\\\": true, \\\"spuProductCode\\\": \\\"787\\\"}\",\"id\":248393059701773200,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":1,\"parentProductId\":\"215806877139834888_1\",\"photoUrl\":\"\",\"productCode\":\"787\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"219068580477539339\",\"productName\":\"可乐\",\"productPicUrl\":\"https://picture.sandload.cn/1631702492012.gif\",\"productPrice\":200,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSharePrice\":0,\"productSpec\":\"219068580477539339\",\"productSpecName\":\"可乐\",\"productType\":6,\"productUnit\":\"杯\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":200,\"saleScorePrice\":0,\"settlementPrice\":200,\"settlementScorePrice\":0,\"thirdProductId\":\"weishangcheng\",\"userId\":\"\",\"weight\":2},{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isB3S1Coupon\\\": 0, \\\"isFixedProduct\\\": true, \\\"spuProductCode\\\": \\\"202109\\\", \\\"thirdProductPropertyId\\\": \\\"245072444162927120,H00305,H00106\\\"}\",\"id\":248393059718550400,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":1,\"parentProductId\":\"215806877139834888_1\",\"photoUrl\":\"\",\"productCode\":\"202109\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"219187474445045306\",\"productName\":\"汉堡\",\"productPicUrl\":\"https://picture.sandload.cn/1631788957908.jpg\",\"productPrice\":1,\"productProperty\":\"变态辣/少冰/无糖\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSharePrice\":0,\"productSpec\":\"219187474445045306\",\"productSpecName\":\"汉堡\",\"productType\":6,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":1,\"saleScorePrice\":0,\"settlementPrice\":1,\"settlementScorePrice\":0,\"thirdProductId\":\"20210916\",\"userId\":\"\",\"weight\":0}],\"orderSendCouponRespList\":[],\"orderSettlementDetailList\":[],\"orderState\":6,\"orderSubState\":0,\"orderType\":5,\"orderVersion\":1,\"originalAmount\":2,\"originalScoreAmount\":0,\"parentCode\":\"0\",\"partnerId\":\"2690\",\"partnerName\":\"\",\"payChannel\":\"10211\",\"payChannelName\":\"微信\",\"payChannelType\":1,\"payRequestNo\":\"7702690248393059997440005\",\"payState\":2,\"payTime\":1656927690000,\"payType\":1,\"physicalGoodsFlag\":0,\"pickUpGoodsNo\":\"1363\",\"pickUpTime\":1656944702000,\"posCode\":\"\",\"posTableKey\":\"\",\"printNum\":0,\"receiveTime\":1656948302000,\"settlementAmount\":2,\"settlementScoreAmount\":0,\"sourceType\":0,\"storeId\":\"1001\",\"storeName\":\"雪玉南翔店\",\"storeUnifyId\":\"0\",\"suspendDesc\":\"正常\",\"suspendState\":0,\"thirdOrderCode\":\"24839305965039294900001\",\"thirdStoreId\":\"075513\",\"toStoreId\":\"0\",\"updateTime\":1656948302000,\"userId\":\"3653057325186672276\",\"userMobile\":\"\",\"userName\":\"雪玉\",\"weight\":2}";
        // 异常单
//        String str = "{\"abnormalDesc\":\"\",\"abnormalState\":0,\"acceptTime\":1656927303000,\"actualPayAmount\":0,\"afterSalesOrderList\":[{\"actualAmount\":0,\"actualScoreAmount\":0,\"adultRemark\":\"\",\"afterSalesApplyClient\":0,\"afterSalesCode\":\"24839349080387253700003\",\"afterSalesImages\":[],\"afterSalesOptHistoryList\":[{\"afterSalesCode\":\"24839349080387253700003\",\"createTime\":1656928092000,\"id\":248393490967450400,\"operationClient\":0,\"operationCode\":5,\"operationDesc\":\"退款完成\",\"operator\":\"assistant-admin\",\"orderCode\":\"24839239712652168800003\",\"partnerId\":\"2690\",\"targetAfterSalesState\":5,\"timeout\":0,\"updateTime\":1656928092000}],\"afterSalesOrderItems\":[{\"afterSalesCode\":\"24839349080387253700003\",\"createTime\":1656928092000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248393490850009900,\"orderCode\":\"24839239712652168800003\",\"orderItemId\":248392397161124700,\"parentProductId\":\"0\",\"partnerId\":\"2690\",\"productId\":\"215806877139834888\",\"productName\":\"抖音套餐A\",\"productPicUrl\":\"https://picture.sandload.cn/1628583925334.jpg\",\"productPrice\":0,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":1,\"productSpec\":\"215806877139834888\",\"productSpecName\":\"抖音套餐A\",\"productType\":7,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"hbtc\",\"updateTime\":1656928092000,\"weight\":0},{\"afterSalesCode\":\"24839349080387253700003\",\"createTime\":1656928092000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248393490912924450,\"orderCode\":\"24839239712652168800003\",\"orderItemId\":248392397292196700,\"parentProductId\":\"215806877139834888_1\",\"partnerId\":\"2690\",\"productId\":\"219187474445045306\",\"productName\":\"汉堡\",\"productPicUrl\":\"https://picture.sandload.cn/1631788957908.jpg\",\"productPrice\":0,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSpec\":\"219187474445045306\",\"productSpecName\":\"汉堡\",\"productType\":1,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"20210916\",\"updateTime\":1656928092000,\"weight\":0},{\"afterSalesCode\":\"24839349080387253700003\",\"createTime\":1656928092000,\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248393490916070180,\"orderCode\":\"24839239712652168800003\",\"orderItemId\":248392397285905250,\"parentProductId\":\"215806877139834888_1\",\"partnerId\":\"2690\",\"productId\":\"219068580477539339\",\"productName\":\"可乐\",\"productPicUrl\":\"https://picture.sandload.cn/1631702492012.gif\",\"productPrice\":0,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSpec\":\"219068580477539339\",\"productSpecName\":\"可乐\",\"productType\":1,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"thirdProductId\":\"weishangcheng\",\"updateTime\":1656928092000,\"weight\":0}],\"afterSalesReason\":\"用户撤销核销\",\"afterSalesStatus\":5,\"afterSalesType\":2,\"createTime\":1656928092000,\"deliveryAmount\":0,\"deliveryContactInfo\":[],\"expressChannelCode\":\"\",\"expressChannelName\":\"\",\"expressNo\":\"\",\"extInfo\":\"{\\\"lastOrderStatus\\\": 3}\",\"hasCargo\":false,\"isAllItemAfterSales\":true,\"operator\":\"assistant-admin\",\"orderCode\":\"24839239712652168800003\",\"originalShippingFee\":0,\"partnerId\":\"2690\",\"partnerRefundCode\":\"\",\"refundFailReason\":\"\",\"refundState\":4,\"reqAmount\":0,\"reqRemark\":\"\",\"reqScoreAmount\":0,\"settlementShippingFee\":0,\"thirdRefundCode\":\"\",\"updateTime\":1656928092000,\"weight\":0}],\"afterSalesState\":5,\"appId\":\"assistantGwarrnTx0AP\",\"barCounter\":\"\",\"bizType\":1,\"businessDay\":1656864000000,\"canRefund\":true,\"cancelReason\":\"用户撤销核销\",\"companySelfCode\":\"\",\"createTime\":1656927050000,\"daySeq\":5,\"deliveryContactInfoList\":[{\"addressDetail\":\"雪玉南翔店\",\"city\":\"\",\"contactsName\":\"\",\"expressNo\":\"0\",\"extInfo\":\"{}\",\"infoType\":1,\"latitude\":0,\"longitude\":0,\"mobile\":\"19108460055\",\"province\":\"\",\"region\":\"\",\"relateObjectType\":1,\"street\":\"\",\"telephone\":\"\",\"thirdDeliveryId\":\"0\",\"tripDist\":0}],\"deliveryPromise\":0,\"deliveryState\":-2,\"dinersNumber\":0,\"downstreamPosCode\":\"0\",\"downstreamThirdOrderCode\":\"0\",\"evaluationState\":0,\"expressChannelCode\":\"\",\"expressChannelName\":\"\",\"expressNo\":\"\",\"expressType\":0,\"extInfo\":\"{\\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"payDate\\\": \\\"2022-07-04 17:30:50\\\", \\\"paidMember\\\": false, \\\"payTransId\\\": \\\"SPAY1656927048865CYqRm\\\", \\\"serviceTime\\\": 0, \\\"dispatchType\\\": \\\"0\\\", \\\"dispatchTimeout\\\": 0}\",\"immediately\":true,\"isParent\":false,\"localTableKey\":\"\",\"logisticsAccessChannel\":0,\"logisticsList\":[],\"marketingCode\":\"\",\"marketingType\":11,\"needInvoice\":false,\"note\":\"\",\"operator\":\"\",\"orderArea\":\"0\",\"orderClient\":29,\"orderCode\":\"24839239712652168800003\",\"orderCostDetailList\":[],\"orderExtended\":{\"agentPayerId\":\"\",\"agentPayerName\":\"\",\"createTime\":1656927050000,\"id\":248392397126521700,\"isDeleted\":false,\"orderClientGroup\":\"\",\"orderClientGroupCode\":\"\",\"orderCode\":\"24839239712652168800003\",\"orderId\":248392397126521700,\"partnerId\":\"2690\",\"sendWord\":\"\",\"spellGroupCode\":\"\",\"storeId\":\"1001\",\"storeNameEn\":\"\",\"updateTime\":1656927049000,\"userPhone\":\"\",\"version\":0},\"orderInvoice\":{\"address\":\"\",\"bankCardNo\":\"\",\"content\":\"\",\"invoiceBank\":\"\",\"invoiceNo\":\"\",\"invoiceUrl\":\"\",\"itemId\":\"\",\"partnerId\":\"\",\"phoneNo\":\"\",\"pickUpNo\":\"\",\"taxNo\":\"\",\"title\":\"\",\"userId\":\"\"},\"orderItemList\":[{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248392397161124700,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":7,\"parentProductId\":\"0\",\"photoUrl\":\"\",\"productCode\":\"354352plo\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"215806877139834888\",\"productName\":\"抖音套餐A\",\"productPicUrl\":\"https://picture.sandload.cn/1628583925334.jpg\",\"productPrice\":2,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":1,\"productSharePrice\":2,\"productSpec\":\"215806877139834888\",\"productSpecName\":\"抖音套餐A\",\"productType\":7,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":0,\"saleScorePrice\":0,\"settlementPrice\":0,\"settlementScorePrice\":0,\"thirdProductId\":\"hbtc\",\"userId\":\"\",\"weight\":0},{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248392397285905250,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":1,\"parentProductId\":\"215806877139834888_1\",\"photoUrl\":\"\",\"productCode\":\"787\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"219068580477539339\",\"productName\":\"可乐\",\"productPicUrl\":\"https://picture.sandload.cn/1631702492012.gif\",\"productPrice\":200,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSharePrice\":200,\"productSpec\":\"219068580477539339\",\"productSpecName\":\"可乐\",\"productType\":1,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":0,\"saleScorePrice\":0,\"settlementPrice\":0,\"settlementScorePrice\":0,\"thirdProductId\":\"weishangcheng\",\"userId\":\"\",\"weight\":0},{\"canRefund\":true,\"categoryId\":\"0\",\"categoryName\":\"0\",\"extInfo\":\"{\\\"tax\\\": 0, \\\"appid\\\": \\\"assistantGwarrnTx0AP\\\", \\\"fromAppId\\\": \\\"assistantGwarrnTx0AP\\\", \\\"stapleFood\\\": 0, \\\"isMonthCard\\\": 0, \\\"isSendGoods\\\": false, \\\"isB3S1Coupon\\\": 0}\",\"id\":248392397292196700,\"ignoreInOrderClose\":false,\"marketingCode\":\"0\",\"marketingType\":0,\"nickName\":\"\",\"note\":\"\",\"openId\":\"\",\"originalProductType\":1,\"parentProductId\":\"215806877139834888_1\",\"photoUrl\":\"\",\"productCode\":\"202109\",\"productForeignName\":\"\",\"productForeignProperty\":\"\",\"productForeignSpecName\":\"\",\"productId\":\"219187474445045306\",\"productName\":\"汉堡\",\"productPicUrl\":\"https://picture.sandload.cn/1631788957908.jpg\",\"productPrice\":1,\"productProperty\":\"\",\"productQuantity\":1,\"productScorePrice\":0,\"productSeq\":0,\"productSharePrice\":1,\"productSpec\":\"219187474445045306\",\"productSpecName\":\"汉堡\",\"productType\":1,\"productUnit\":\"\",\"productUpc\":\"\",\"productWeightUnit\":0,\"salePrice\":0,\"saleScorePrice\":0,\"settlementPrice\":0,\"settlementScorePrice\":0,\"thirdProductId\":\"20210916\",\"userId\":\"\",\"weight\":0}],\"orderSendCouponRespList\":[],\"orderSettlementDetailList\":[{\"agentDiscountAmount\":0,\"carrierDiscountAmount\":0,\"extInfo\":\"\",\"externalObjectId\":\"88709684113191527822\",\"externalObjectName\":\"\",\"externalObjectSubId\":\"\",\"ignoreInDiscountAmount\":false,\"isOnline\":true,\"note\":\"抖音套餐A\",\"number\":1,\"platformDiscountAmount\":0,\"platformServiceAmount\":0,\"productId\":\"215806877139834888\",\"productSeq\":1,\"prospectiveAmount\":0,\"settlementAmount\":2,\"settlementType\":118,\"shopAmount\":0,\"shopDiscountAmount\":2},{\"agentDiscountAmount\":0,\"carrierDiscountAmount\":0,\"extInfo\":\"\",\"externalObjectId\":\"88709684113191527822\",\"externalObjectName\":\"\",\"externalObjectSubId\":\"\",\"ignoreInDiscountAmount\":false,\"isOnline\":true,\"note\":\"抖音套餐A\",\"number\":1,\"platformDiscountAmount\":0,\"platformServiceAmount\":0,\"productId\":\"0\",\"productSeq\":0,\"prospectiveAmount\":0,\"settlementAmount\":-2,\"settlementType\":118,\"shopAmount\":0,\"shopDiscountAmount\":-2},{\"agentDiscountAmount\":0,\"carrierDiscountAmount\":0,\"extInfo\":\"\",\"externalObjectId\":\"\",\"externalObjectName\":\"优惠总金额\",\"externalObjectSubId\":\"\",\"ignoreInDiscountAmount\":false,\"isOnline\":true,\"note\":\"\",\"number\":0,\"platformDiscountAmount\":0,\"platformServiceAmount\":0,\"productId\":\"0\",\"productSeq\":0,\"prospectiveAmount\":0,\"settlementAmount\":0,\"settlementType\":205,\"shopAmount\":0,\"shopDiscountAmount\":2}],\"orderState\":7,\"orderSubState\":0,\"orderType\":1,\"orderVersion\":1,\"originalAmount\":2,\"originalScoreAmount\":0,\"parentCode\":\"0\",\"partnerId\":\"2690\",\"partnerName\":\"\",\"payChannel\":\"100000\",\"payChannelName\":\"0元支付\",\"payChannelType\":6,\"payRequestNo\":\"SPAY1656927048865CYqRm\",\"payState\":3,\"payTime\":1656927051000,\"payType\":1,\"physicalGoodsFlag\":0,\"pickUpGoodsNo\":\"1362\",\"posCode\":\"\",\"posTableKey\":\"\",\"printNum\":0,\"settlementAmount\":0,\"settlementScoreAmount\":0,\"sourceType\":0,\"storeId\":\"1001\",\"storeName\":\"雪玉南翔店\",\"storeUnifyId\":\"0\",\"suspendDesc\":\"\",\"suspendState\":0,\"thirdOrderCode\":\"24839239712652168800003\",\"thirdStoreId\":\"1001\",\"toStoreId\":\"0\",\"updateTime\":1656928092000,\"userId\":\"3647844591259227907\",\"userMobile\":\"\",\"userName\":\"虚拟会员001\",\"weight\":0}";
        OrderInfoReqs orderInfoReqs = JSON.parseObject(str, OrderInfoReqs.class);
        OrderBeanV1 orderBeanV1 = new OrderCenterSdkAdapter().convent2NEWOrderInfo(orderInfoReqs);
        new OrderAdapter().convert2OrderPrintDto(orderBeanV1);
    }
}
