Files
Neo-ZQYY/export/dataflow_analysis/field_mappings/recharge_settlements.json

1628 lines
41 KiB
JSON

{
"ods_table": "recharge_settlements",
"anchors": {
"api": "api-recharge-settlements",
"ods": "ods-recharge-settlements",
"dwd": {
"dwd_recharge_order": "dwd-dwd-recharge-order",
"dwd_recharge_order_ex": "dwd-dwd-recharge-order-ex"
}
},
"json_to_ods": [
{
"json_path": "siteProfile.id",
"ods_col": "id",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.org_id",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.shop_name",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.avatar",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.business_tel",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.full_address",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.address",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.longitude",
"ods_col": null,
"match_type": "unmapped",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.latitude",
"ods_col": null,
"match_type": "unmapped",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.tenant_site_region_id",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.tenant_id",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.auto_light",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.attendance_distance",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.wifi_name",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.wifi_password",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.customer_service_qrcode",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.customer_service_wechat",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.fixed_pay_qrCode",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.prod_env",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.light_status",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.light_type",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.site_type",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.light_token",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.site_label",
"ods_col": null,
"match_type": "unmapped",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.attendance_enabled",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "siteProfile.shop_status",
"ods_col": null,
"match_type": "unmapped",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.id",
"ods_col": "id",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.tenantId",
"ods_col": "tenantid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.siteId",
"ods_col": "siteid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.siteName",
"ods_col": "sitename",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.balanceAmount",
"ods_col": "balanceamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.cardAmount",
"ods_col": "cardamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.cashAmount",
"ods_col": "cashamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.couponAmount",
"ods_col": "couponamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.createTime",
"ods_col": "createtime",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.memberId",
"ods_col": "memberid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.memberName",
"ods_col": "membername",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.tenantMemberCardId",
"ods_col": "tenantmembercardid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.memberCardTypeName",
"ods_col": "membercardtypename",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.memberPhone",
"ods_col": "memberphone",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.tableId",
"ods_col": "tableid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.consumeMoney",
"ods_col": "consumemoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.onlineAmount",
"ods_col": "onlineamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.operatorId",
"ods_col": "operatorid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.operatorName",
"ods_col": "operatorname",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.revokeOrderId",
"ods_col": "revokeorderid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.revokeOrderName",
"ods_col": "revokeordername",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.revokeTime",
"ods_col": "revoketime",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.payAmount",
"ods_col": "payamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.pointAmount",
"ods_col": "pointamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.refundAmount",
"ods_col": "refundamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.settleName",
"ods_col": "settlename",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.settleRelateId",
"ods_col": "settlerelateid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.settleStatus",
"ods_col": "settlestatus",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.settleType",
"ods_col": "settletype",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.payTime",
"ods_col": "paytime",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.roundingAmount",
"ods_col": "roundingamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.paymentMethod",
"ods_col": "paymentmethod",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.adjustAmount",
"ods_col": "adjustamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.assistantCxMoney",
"ods_col": "assistantcxmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.assistantPdMoney",
"ods_col": "assistantpdmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.couponSaleAmount",
"ods_col": "couponsaleamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.plCouponSaleAmount",
"ods_col": "plcouponsaleamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.merVouSalesAmount",
"ods_col": "mervousalesamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.memberDiscountAmount",
"ods_col": "memberdiscountamount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.tableChargeMoney",
"ods_col": "tablechargemoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.goodsMoney",
"ods_col": "goodsmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.realGoodsMoney",
"ods_col": "realgoodsmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.serviceMoney",
"ods_col": "servicemoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.prepayMoney",
"ods_col": "prepaymoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.salesManName",
"ods_col": "salesmanname",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.orderRemark",
"ods_col": "orderremark",
"match_type": "case_insensitive",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.salesManUserId",
"ods_col": "salesmanuserid",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.canBeRevoked",
"ods_col": "canberevoked",
"match_type": "case_insensitive",
"json_type": "boolean",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.pointDiscountPrice",
"ods_col": "pointdiscountprice",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.pointDiscountCost",
"ods_col": "pointdiscountcost",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.activityDiscount",
"ods_col": "activitydiscount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.serialNumber",
"ods_col": "serialnumber",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.assistantManualDiscount",
"ods_col": "assistantmanualdiscount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.allCouponDiscount",
"ods_col": "allcoupondiscount",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.goodsPromotionMoney",
"ods_col": "goodspromotionmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.assistantPromotionMoney",
"ods_col": "assistantpromotionmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.isUseCoupon",
"ods_col": "isusecoupon",
"match_type": "case_insensitive",
"json_type": "boolean",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.isUseDiscount",
"ods_col": "isusediscount",
"match_type": "case_insensitive",
"json_type": "boolean",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.isActivity",
"ods_col": "isactivity",
"match_type": "case_insensitive",
"json_type": "boolean",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.isBindMember",
"ods_col": "isbindmember",
"match_type": "case_insensitive",
"json_type": "boolean",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.isFirst",
"ods_col": "isfirst",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.rechargeCardAmount",
"ods_col": "rechargecardamount",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.giftCardAmount",
"ods_col": "giftcardamount",
"match_type": "case_insensitive",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.electricityMoney",
"ods_col": "electricitymoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.realElectricityMoney",
"ods_col": "realelectricitymoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "settleList.electricityAdjustMoney",
"ods_col": "electricityadjustmoney",
"match_type": "case_insensitive",
"json_type": "number",
"occurrence_pct": 100.0
}
],
"ods_to_dwd": {
"id": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "recharge_order_id",
"cast": null,
"note": "字段重命名"
},
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "recharge_order_id",
"cast": null,
"note": "字段重命名"
}
],
"tenantid": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "tenant_id",
"cast": null,
"note": "字段重命名"
}
],
"siteid": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "site_id",
"cast": null,
"note": "字段重命名"
}
],
"memberid": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "member_id",
"cast": null,
"note": "字段重命名"
}
],
"membername": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "member_name_snapshot",
"cast": null,
"note": "字段重命名"
}
],
"memberphone": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "member_phone_snapshot",
"cast": null,
"note": "字段重命名"
}
],
"tenantmembercardid": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "tenant_member_card_id",
"cast": null,
"note": "字段重命名"
}
],
"membercardtypename": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "member_card_type_name",
"cast": null,
"note": "字段重命名"
}
],
"settlerelateid": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "settle_relate_id",
"cast": null,
"note": "字段重命名"
}
],
"settletype": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "settle_type",
"cast": null,
"note": "字段重命名"
}
],
"settlename": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "settle_name",
"cast": null,
"note": "字段重命名"
}
],
"isfirst": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "is_first",
"cast": null,
"note": "字段重命名"
}
],
"payamount": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "pay_amount",
"cast": null,
"note": "字段重命名"
}
],
"refundamount": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "refund_amount",
"cast": null,
"note": "字段重命名"
}
],
"pointamount": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "point_amount",
"cast": null,
"note": "字段重命名"
}
],
"cashamount": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "cash_amount",
"cast": null,
"note": "字段重命名"
}
],
"paymentmethod": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "payment_method",
"cast": null,
"note": "字段重命名"
}
],
"createtime": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "create_time",
"cast": null,
"note": "字段重命名"
}
],
"paytime": [
{
"dwd_table": "dwd_recharge_order",
"dwd_col": "pay_time",
"cast": null,
"note": "字段重命名"
}
],
"sitename": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "site_name_snapshot",
"cast": null,
"note": "字段重命名"
}
],
"settlestatus": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "settle_status",
"cast": null,
"note": "字段重命名"
}
],
"isbindmember": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "is_bind_member",
"cast": "boolean",
"note": "字段重命名"
}
],
"isactivity": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "is_activity",
"cast": "boolean",
"note": "字段重命名"
}
],
"isusecoupon": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "is_use_coupon",
"cast": "boolean",
"note": "字段重命名"
}
],
"isusediscount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "is_use_discount",
"cast": "boolean",
"note": "字段重命名"
}
],
"canberevoked": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "can_be_revoked",
"cast": "boolean",
"note": "字段重命名"
}
],
"onlineamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "online_amount",
"cast": null,
"note": "字段重命名"
}
],
"balanceamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "balance_amount",
"cast": null,
"note": "字段重命名"
}
],
"cardamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "card_amount",
"cast": null,
"note": "字段重命名"
}
],
"couponamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "coupon_amount",
"cast": null,
"note": "字段重命名"
}
],
"rechargecardamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "recharge_card_amount",
"cast": null,
"note": "字段重命名"
}
],
"giftcardamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "gift_card_amount",
"cast": null,
"note": "字段重命名"
}
],
"prepaymoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "prepay_money",
"cast": null,
"note": "字段重命名"
}
],
"consumemoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "consume_money",
"cast": null,
"note": "字段重命名"
}
],
"goodsmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "goods_money",
"cast": null,
"note": "字段重命名"
}
],
"realgoodsmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "real_goods_money",
"cast": null,
"note": "字段重命名"
}
],
"tablechargemoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "table_charge_money",
"cast": null,
"note": "字段重命名"
}
],
"servicemoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "service_money",
"cast": null,
"note": "字段重命名"
}
],
"activitydiscount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "activity_discount",
"cast": null,
"note": "字段重命名"
}
],
"allcoupondiscount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "all_coupon_discount",
"cast": null,
"note": "字段重命名"
}
],
"goodspromotionmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "goods_promotion_money",
"cast": null,
"note": "字段重命名"
}
],
"assistantpromotionmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "assistant_promotion_money",
"cast": null,
"note": "字段重命名"
}
],
"assistantpdmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "assistant_pd_money",
"cast": null,
"note": "字段重命名"
}
],
"assistantcxmoney": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "assistant_cx_money",
"cast": null,
"note": "字段重命名"
}
],
"assistantmanualdiscount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "assistant_manual_discount",
"cast": null,
"note": "字段重命名"
}
],
"couponsaleamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "coupon_sale_amount",
"cast": null,
"note": "字段重命名"
}
],
"memberdiscountamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "member_discount_amount",
"cast": null,
"note": "字段重命名"
}
],
"pointdiscountprice": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "point_discount_price",
"cast": null,
"note": "字段重命名"
}
],
"pointdiscountcost": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "point_discount_cost",
"cast": null,
"note": "字段重命名"
}
],
"adjustamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "adjust_amount",
"cast": null,
"note": "字段重命名"
}
],
"roundingamount": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "rounding_amount",
"cast": null,
"note": "字段重命名"
}
],
"operatorid": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "operator_id",
"cast": null,
"note": "字段重命名"
}
],
"operatorname": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "operator_name_snapshot",
"cast": null,
"note": "字段重命名"
}
],
"salesmanuserid": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "salesman_user_id",
"cast": null,
"note": "字段重命名"
}
],
"salesmanname": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "salesman_name",
"cast": null,
"note": "字段重命名"
}
],
"orderremark": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "order_remark",
"cast": null,
"note": "字段重命名"
}
],
"tableid": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "table_id",
"cast": null,
"note": "字段重命名"
}
],
"serialnumber": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "serial_number",
"cast": null,
"note": "字段重命名"
}
],
"revokeorderid": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "revoke_order_id",
"cast": null,
"note": "字段重命名"
}
],
"revokeordername": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "revoke_order_name",
"cast": null,
"note": "字段重命名"
}
],
"revoketime": [
{
"dwd_table": "dwd_recharge_order_ex",
"dwd_col": "revoke_time",
"cast": null,
"note": "字段重命名"
}
]
},
"dwd_to_ods": {
"dwd_recharge_order": [
{
"dwd_col": "recharge_order_id",
"type": "bigint",
"ods_source": "id",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "tenant_id",
"type": "bigint",
"ods_source": "tenantid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "site_id",
"type": "bigint",
"ods_source": "siteid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "member_id",
"type": "bigint",
"ods_source": "memberid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "member_name_snapshot",
"type": "text",
"ods_source": "membername",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "member_phone_snapshot",
"type": "text",
"ods_source": "memberphone",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "tenant_member_card_id",
"type": "bigint",
"ods_source": "tenantmembercardid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "member_card_type_name",
"type": "text",
"ods_source": "membercardtypename",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "settle_relate_id",
"type": "bigint",
"ods_source": "settlerelateid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "settle_type",
"type": "integer",
"ods_source": "settletype",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "settle_name",
"type": "text",
"ods_source": "settlename",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "is_first",
"type": "integer",
"ods_source": "isfirst",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "pay_amount",
"type": "numeric",
"ods_source": "payamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "refund_amount",
"type": "numeric",
"ods_source": "refundamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "point_amount",
"type": "numeric",
"ods_source": "pointamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "cash_amount",
"type": "numeric",
"ods_source": "cashamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "payment_method",
"type": "integer",
"ods_source": "paymentmethod",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "create_time",
"type": "timestamp with time zone",
"ods_source": "createtime",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "pay_time",
"type": "timestamp with time zone",
"ods_source": "paytime",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "pl_coupon_sale_amount",
"type": "numeric",
"ods_source": "—",
"mapping_type": "—",
"note": "未显式映射"
},
{
"dwd_col": "mervou_sales_amount",
"type": "numeric",
"ods_source": "—",
"mapping_type": "—",
"note": "未显式映射"
},
{
"dwd_col": "electricity_money",
"type": "numeric",
"ods_source": "—",
"mapping_type": "—",
"note": "未显式映射"
},
{
"dwd_col": "real_electricity_money",
"type": "numeric",
"ods_source": "—",
"mapping_type": "—",
"note": "未显式映射"
},
{
"dwd_col": "electricity_adjust_money",
"type": "numeric",
"ods_source": "—",
"mapping_type": "—",
"note": "未显式映射"
}
],
"dwd_recharge_order_ex": [
{
"dwd_col": "recharge_order_id",
"type": "bigint",
"ods_source": "id",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "site_name_snapshot",
"type": "text",
"ods_source": "sitename",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "settle_status",
"type": "integer",
"ods_source": "settlestatus",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "is_bind_member",
"type": "boolean",
"ods_source": "isbindmember",
"mapping_type": "→ boolean",
"note": "字段重命名"
},
{
"dwd_col": "is_activity",
"type": "boolean",
"ods_source": "isactivity",
"mapping_type": "→ boolean",
"note": "字段重命名"
},
{
"dwd_col": "is_use_coupon",
"type": "boolean",
"ods_source": "isusecoupon",
"mapping_type": "→ boolean",
"note": "字段重命名"
},
{
"dwd_col": "is_use_discount",
"type": "boolean",
"ods_source": "isusediscount",
"mapping_type": "→ boolean",
"note": "字段重命名"
},
{
"dwd_col": "can_be_revoked",
"type": "boolean",
"ods_source": "canberevoked",
"mapping_type": "→ boolean",
"note": "字段重命名"
},
{
"dwd_col": "online_amount",
"type": "numeric",
"ods_source": "onlineamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "balance_amount",
"type": "numeric",
"ods_source": "balanceamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "card_amount",
"type": "numeric",
"ods_source": "cardamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "coupon_amount",
"type": "numeric",
"ods_source": "couponamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "recharge_card_amount",
"type": "numeric",
"ods_source": "rechargecardamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "gift_card_amount",
"type": "numeric",
"ods_source": "giftcardamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "prepay_money",
"type": "numeric",
"ods_source": "prepaymoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "consume_money",
"type": "numeric",
"ods_source": "consumemoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "goods_money",
"type": "numeric",
"ods_source": "goodsmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "real_goods_money",
"type": "numeric",
"ods_source": "realgoodsmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "table_charge_money",
"type": "numeric",
"ods_source": "tablechargemoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "service_money",
"type": "numeric",
"ods_source": "servicemoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "activity_discount",
"type": "numeric",
"ods_source": "activitydiscount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "all_coupon_discount",
"type": "numeric",
"ods_source": "allcoupondiscount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "goods_promotion_money",
"type": "numeric",
"ods_source": "goodspromotionmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "assistant_promotion_money",
"type": "numeric",
"ods_source": "assistantpromotionmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "assistant_pd_money",
"type": "numeric",
"ods_source": "assistantpdmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "assistant_cx_money",
"type": "numeric",
"ods_source": "assistantcxmoney",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "assistant_manual_discount",
"type": "numeric",
"ods_source": "assistantmanualdiscount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "coupon_sale_amount",
"type": "numeric",
"ods_source": "couponsaleamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "member_discount_amount",
"type": "numeric",
"ods_source": "memberdiscountamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "point_discount_price",
"type": "numeric",
"ods_source": "pointdiscountprice",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "point_discount_cost",
"type": "numeric",
"ods_source": "pointdiscountcost",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "adjust_amount",
"type": "numeric",
"ods_source": "adjustamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "rounding_amount",
"type": "numeric",
"ods_source": "roundingamount",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "operator_id",
"type": "bigint",
"ods_source": "operatorid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "operator_name_snapshot",
"type": "text",
"ods_source": "operatorname",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "salesman_user_id",
"type": "bigint",
"ods_source": "salesmanuserid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "salesman_name",
"type": "text",
"ods_source": "salesmanname",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "order_remark",
"type": "text",
"ods_source": "orderremark",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "table_id",
"type": "integer",
"ods_source": "tableid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "serial_number",
"type": "integer",
"ods_source": "serialnumber",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "revoke_order_id",
"type": "bigint",
"ods_source": "revokeorderid",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "revoke_order_name",
"type": "text",
"ods_source": "revokeordername",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "revoke_time",
"type": "timestamp with time zone",
"ods_source": "revoketime",
"mapping_type": "直接",
"note": "字段重命名"
}
]
}
}