1430 lines
35 KiB
JSON
1430 lines
35 KiB
JSON
{
|
|
"ods_table": "table_fee_transactions",
|
|
"anchors": {
|
|
"api": "api-table-fee-transactions",
|
|
"ods": "ods-table-fee-transactions",
|
|
"dwd": {
|
|
"dim_site": "dwd-dim-site",
|
|
"dim_site_ex": "dwd-dim-site-ex",
|
|
"dwd_table_fee_log": "dwd-dwd-table-fee-log",
|
|
"dwd_table_fee_log_ex": "dwd-dwd-table-fee-log-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": "tenant_id",
|
|
"match_type": "exact",
|
|
"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": "id",
|
|
"ods_col": "id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "add_clock_seconds",
|
|
"ods_col": "add_clock_seconds",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "activity_discount_amount",
|
|
"ods_col": "activity_discount_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "adjust_amount",
|
|
"ods_col": "adjust_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "coupon_promotion_amount",
|
|
"ods_col": "coupon_promotion_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "create_time",
|
|
"ods_col": "create_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "fee_total",
|
|
"ods_col": "fee_total",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "is_delete",
|
|
"ods_col": "is_delete",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "is_single_order",
|
|
"ods_col": "is_single_order",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "last_use_time",
|
|
"ods_col": "last_use_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_amount",
|
|
"ods_col": "ledger_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_count",
|
|
"ods_col": "ledger_count",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_end_time",
|
|
"ods_col": "ledger_end_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_name",
|
|
"ods_col": "ledger_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_start_time",
|
|
"ods_col": "ledger_start_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_status",
|
|
"ods_col": "ledger_status",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "ledger_unit_price",
|
|
"ods_col": "ledger_unit_price",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "member_discount_amount",
|
|
"ods_col": "member_discount_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "member_id",
|
|
"ods_col": "member_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "mgmt_fee",
|
|
"ods_col": "mgmt_fee",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "operator_id",
|
|
"ods_col": "operator_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "operator_name",
|
|
"ods_col": "operator_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "order_consumption_type",
|
|
"ods_col": "order_consumption_type",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "order_pay_id",
|
|
"ods_col": "order_pay_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "order_settle_id",
|
|
"ods_col": "order_settle_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "order_trade_no",
|
|
"ods_col": "order_trade_no",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "real_table_charge_money",
|
|
"ods_col": "real_table_charge_money",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "real_table_use_seconds",
|
|
"ods_col": "real_table_use_seconds",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "real_service_money",
|
|
"ods_col": "real_service_money",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "salesman_name",
|
|
"ods_col": "salesman_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "salesman_org_id",
|
|
"ods_col": "salesman_org_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "salesman_user_id",
|
|
"ods_col": "salesman_user_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "service_money",
|
|
"ods_col": "service_money",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "site_id",
|
|
"ods_col": "site_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "site_table_area_id",
|
|
"ods_col": "site_table_area_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "site_table_area_name",
|
|
"ods_col": "site_table_area_name",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "site_table_id",
|
|
"ods_col": "site_table_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "start_use_time",
|
|
"ods_col": "start_use_time",
|
|
"match_type": "exact",
|
|
"json_type": "string",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "tenant_id",
|
|
"ods_col": "tenant_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "tenant_table_area_id",
|
|
"ods_col": "tenant_table_area_id",
|
|
"match_type": "exact",
|
|
"json_type": "integer",
|
|
"occurrence_pct": 100.0
|
|
},
|
|
{
|
|
"json_path": "used_card_amount",
|
|
"ods_col": "used_card_amount",
|
|
"match_type": "exact",
|
|
"json_type": "number",
|
|
"occurrence_pct": 100.0
|
|
}
|
|
],
|
|
"ods_to_dwd": {
|
|
"site_id": [
|
|
{
|
|
"dwd_table": "dim_site",
|
|
"dwd_col": "site_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_table": "dim_site_ex",
|
|
"dwd_col": "site_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "site_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "table_fee_log_id",
|
|
"cast": null,
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "table_fee_log_id",
|
|
"cast": null,
|
|
"note": "字段重命名"
|
|
}
|
|
],
|
|
"order_trade_no": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "order_trade_no",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"order_settle_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "order_settle_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"order_pay_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "order_pay_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"tenant_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "tenant_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"site_table_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "site_table_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"site_table_area_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "site_table_area_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"site_table_area_name": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "site_table_area_name",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"tenant_table_area_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "tenant_table_area_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"member_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "member_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_name": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_name",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_unit_price": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_unit_price",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_count": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_count",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_amount",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"real_table_charge_money": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "real_table_charge_money",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"coupon_promotion_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "coupon_promotion_amount",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"member_discount_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "member_discount_amount",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"adjust_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "adjust_amount",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"real_table_use_seconds": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "real_table_use_seconds",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"add_clock_seconds": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "add_clock_seconds",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"start_use_time": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "start_use_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_end_time": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_end_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"create_time": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "create_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_status": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "ledger_status",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"is_single_order": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "is_single_order",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"is_delete": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "is_delete",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"activity_discount_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "activity_discount_amount",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"real_service_money": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log",
|
|
"dwd_col": "real_service_money",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"operator_name": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "operator_name",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"salesman_name": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "salesman_name",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
],
|
|
"used_card_amount": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "used_card_amount",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"service_money": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "service_money",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"mgmt_fee": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "mgmt_fee",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"fee_total": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "fee_total",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"ledger_start_time": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "ledger_start_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"last_use_time": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "last_use_time",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"operator_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "operator_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"salesman_user_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "salesman_user_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"salesman_org_id": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "salesman_org_id",
|
|
"cast": null,
|
|
"note": "同名直传"
|
|
}
|
|
],
|
|
"order_consumption_type": [
|
|
{
|
|
"dwd_table": "dwd_table_fee_log_ex",
|
|
"dwd_col": "order_consumption_type",
|
|
"cast": null,
|
|
"note": ""
|
|
}
|
|
]
|
|
},
|
|
"dwd_to_ods": {
|
|
"dim_site": [
|
|
{
|
|
"dwd_col": "site_id",
|
|
"type": "bigint",
|
|
"ods_source": "site_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "org_id",
|
|
"type": "bigint",
|
|
"ods_source": "siteprofile->>'org_id'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_id",
|
|
"type": "bigint",
|
|
"ods_source": "siteprofile->>'tenant_id'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "shop_name",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'shop_name'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "site_label",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'site_label'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "full_address",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'full_address'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "address",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'address'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "longitude",
|
|
"type": "numeric",
|
|
"ods_source": "siteprofile->>'longitude'",
|
|
"mapping_type": "→ numeric",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "latitude",
|
|
"type": "numeric",
|
|
"ods_source": "siteprofile->>'latitude'",
|
|
"mapping_type": "→ numeric",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_site_region_id",
|
|
"type": "bigint",
|
|
"ods_source": "siteprofile->>'tenant_site_region_id'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "business_tel",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'business_tel'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "site_type",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'site_type'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "shop_status",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'shop_status'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_is_current",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_version",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
}
|
|
],
|
|
"dim_site_ex": [
|
|
{
|
|
"dwd_col": "site_id",
|
|
"type": "bigint",
|
|
"ods_source": "site_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "avatar",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'avatar'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "address",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'address'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "longitude",
|
|
"type": "numeric",
|
|
"ods_source": "siteprofile->>'longitude'",
|
|
"mapping_type": "→ numeric",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "latitude",
|
|
"type": "numeric",
|
|
"ods_source": "siteprofile->>'latitude'",
|
|
"mapping_type": "→ numeric",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_site_region_id",
|
|
"type": "bigint",
|
|
"ods_source": "siteprofile->>'tenant_site_region_id'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "auto_light",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'auto_light'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "light_status",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'light_status'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "light_type",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'light_type'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "light_token",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'light_token'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "site_type",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'site_type'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "site_label",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'site_label'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "attendance_enabled",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'attendance_enabled'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "attendance_distance",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'attendance_distance'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "customer_service_qrcode",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'customer_service_qrcode'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "customer_service_wechat",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'customer_service_wechat'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "fixed_pay_qrcode",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'fixed_pay_qrCode'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "prod_env",
|
|
"type": "text",
|
|
"ods_source": "siteprofile->>'prod_env'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "shop_status",
|
|
"type": "integer",
|
|
"ods_source": "siteprofile->>'shop_status'",
|
|
"mapping_type": "直接",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "siteprofile->>'create_time'",
|
|
"mapping_type": "→ timestamptz",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "update_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "siteprofile->>'update_time'",
|
|
"mapping_type": "→ timestamptz",
|
|
"note": "JSONB 提取"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_start_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_end_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_is_current",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
},
|
|
{
|
|
"dwd_col": "scd2_version",
|
|
"type": "integer",
|
|
"ods_source": "—",
|
|
"mapping_type": "SCD2",
|
|
"note": "SCD2 元数据"
|
|
}
|
|
],
|
|
"dwd_table_fee_log": [
|
|
{
|
|
"dwd_col": "table_fee_log_id",
|
|
"type": "bigint",
|
|
"ods_source": "id",
|
|
"mapping_type": "直接",
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_col": "order_trade_no",
|
|
"type": "bigint",
|
|
"ods_source": "order_trade_no",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "order_settle_id",
|
|
"type": "bigint",
|
|
"ods_source": "order_settle_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "order_pay_id",
|
|
"type": "bigint",
|
|
"ods_source": "order_pay_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_id",
|
|
"type": "bigint",
|
|
"ods_source": "tenant_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "site_id",
|
|
"type": "bigint",
|
|
"ods_source": "site_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "site_table_id",
|
|
"type": "bigint",
|
|
"ods_source": "site_table_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "site_table_area_id",
|
|
"type": "bigint",
|
|
"ods_source": "site_table_area_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "site_table_area_name",
|
|
"type": "character varying",
|
|
"ods_source": "site_table_area_name",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "tenant_table_area_id",
|
|
"type": "bigint",
|
|
"ods_source": "tenant_table_area_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "member_id",
|
|
"type": "bigint",
|
|
"ods_source": "member_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_name",
|
|
"type": "character varying",
|
|
"ods_source": "ledger_name",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_unit_price",
|
|
"type": "numeric",
|
|
"ods_source": "ledger_unit_price",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_count",
|
|
"type": "integer",
|
|
"ods_source": "ledger_count",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_amount",
|
|
"type": "numeric",
|
|
"ods_source": "ledger_amount",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "real_table_charge_money",
|
|
"type": "numeric",
|
|
"ods_source": "real_table_charge_money",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "coupon_promotion_amount",
|
|
"type": "numeric",
|
|
"ods_source": "coupon_promotion_amount",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "member_discount_amount",
|
|
"type": "numeric",
|
|
"ods_source": "member_discount_amount",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "adjust_amount",
|
|
"type": "numeric",
|
|
"ods_source": "adjust_amount",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "real_table_use_seconds",
|
|
"type": "integer",
|
|
"ods_source": "real_table_use_seconds",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "add_clock_seconds",
|
|
"type": "integer",
|
|
"ods_source": "add_clock_seconds",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "start_use_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "start_use_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_end_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "ledger_end_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "create_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "create_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_status",
|
|
"type": "integer",
|
|
"ods_source": "ledger_status",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "is_single_order",
|
|
"type": "integer",
|
|
"ods_source": "is_single_order",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "is_delete",
|
|
"type": "integer",
|
|
"ods_source": "is_delete",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "activity_discount_amount",
|
|
"type": "numeric",
|
|
"ods_source": "activity_discount_amount",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "real_service_money",
|
|
"type": "numeric",
|
|
"ods_source": "real_service_money",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
}
|
|
],
|
|
"dwd_table_fee_log_ex": [
|
|
{
|
|
"dwd_col": "table_fee_log_id",
|
|
"type": "bigint",
|
|
"ods_source": "id",
|
|
"mapping_type": "直接",
|
|
"note": "字段重命名"
|
|
},
|
|
{
|
|
"dwd_col": "operator_name",
|
|
"type": "character varying",
|
|
"ods_source": "operator_name",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "salesman_name",
|
|
"type": "character varying",
|
|
"ods_source": "salesman_name",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
},
|
|
{
|
|
"dwd_col": "used_card_amount",
|
|
"type": "numeric",
|
|
"ods_source": "used_card_amount",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "service_money",
|
|
"type": "numeric",
|
|
"ods_source": "service_money",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "mgmt_fee",
|
|
"type": "numeric",
|
|
"ods_source": "mgmt_fee",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "fee_total",
|
|
"type": "numeric",
|
|
"ods_source": "fee_total",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "ledger_start_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "ledger_start_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "last_use_time",
|
|
"type": "timestamp with time zone",
|
|
"ods_source": "last_use_time",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "operator_id",
|
|
"type": "bigint",
|
|
"ods_source": "operator_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "salesman_user_id",
|
|
"type": "bigint",
|
|
"ods_source": "salesman_user_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "salesman_org_id",
|
|
"type": "bigint",
|
|
"ods_source": "salesman_org_id",
|
|
"mapping_type": "直接",
|
|
"note": "同名直传"
|
|
},
|
|
{
|
|
"dwd_col": "order_consumption_type",
|
|
"type": "integer",
|
|
"ods_source": "order_consumption_type",
|
|
"mapping_type": "直接",
|
|
"note": ""
|
|
}
|
|
]
|
|
}
|
|
} |