在准备环境前提交次全部更改。

This commit is contained in:
Neo
2026-02-19 08:35:13 +08:00
parent ded6dfb9d8
commit 4eac07da47
1387 changed files with 6107191 additions and 33002 deletions

View File

@@ -0,0 +1,448 @@
{
"ods_table": "payment_transactions",
"anchors": {
"api": "api-payment-transactions",
"ods": "ods-payment-transactions",
"dwd": {
"dwd_payment": "dwd-dwd-payment"
}
},
"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": "create_time",
"ods_col": "create_time",
"match_type": "exact",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "pay_amount",
"ods_col": "pay_amount",
"match_type": "exact",
"json_type": "number",
"occurrence_pct": 100.0
},
{
"json_path": "pay_status",
"ods_col": "pay_status",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "pay_time",
"ods_col": "pay_time",
"match_type": "exact",
"json_type": "string",
"occurrence_pct": 100.0
},
{
"json_path": "online_pay_channel",
"ods_col": "online_pay_channel",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "relate_type",
"ods_col": "relate_type",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "relate_id",
"ods_col": "relate_id",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
},
{
"json_path": "site_id",
"ods_col": "site_id",
"match_type": "exact",
"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": "payment_method",
"ods_col": "payment_method",
"match_type": "exact",
"json_type": "integer",
"occurrence_pct": 100.0
}
],
"ods_to_dwd": {
"id": [
{
"dwd_table": "dwd_payment",
"dwd_col": "payment_id",
"cast": null,
"note": "字段重命名"
}
],
"site_id": [
{
"dwd_table": "dwd_payment",
"dwd_col": "site_id",
"cast": null,
"note": "同名直传"
}
],
"relate_type": [
{
"dwd_table": "dwd_payment",
"dwd_col": "relate_type",
"cast": null,
"note": "同名直传"
}
],
"relate_id": [
{
"dwd_table": "dwd_payment",
"dwd_col": "relate_id",
"cast": null,
"note": "同名直传"
}
],
"pay_amount": [
{
"dwd_table": "dwd_payment",
"dwd_col": "pay_amount",
"cast": null,
"note": "同名直传"
}
],
"pay_status": [
{
"dwd_table": "dwd_payment",
"dwd_col": "pay_status",
"cast": null,
"note": "同名直传"
}
],
"payment_method": [
{
"dwd_table": "dwd_payment",
"dwd_col": "payment_method",
"cast": null,
"note": "同名直传"
}
],
"online_pay_channel": [
{
"dwd_table": "dwd_payment",
"dwd_col": "online_pay_channel",
"cast": null,
"note": "同名直传"
}
],
"create_time": [
{
"dwd_table": "dwd_payment",
"dwd_col": "create_time",
"cast": null,
"note": "同名直传"
}
],
"pay_time": [
{
"dwd_table": "dwd_payment",
"dwd_col": "pay_time",
"cast": null,
"note": "同名直传"
},
{
"dwd_table": "dwd_payment",
"dwd_col": "pay_date",
"cast": "date",
"note": "字段重命名"
}
],
"tenant_id": [
{
"dwd_table": "dwd_payment",
"dwd_col": "tenant_id",
"cast": null,
"note": ""
}
]
},
"dwd_to_ods": {
"dwd_payment": [
{
"dwd_col": "payment_id",
"type": "bigint",
"ods_source": "id",
"mapping_type": "直接",
"note": "字段重命名"
},
{
"dwd_col": "site_id",
"type": "bigint",
"ods_source": "site_id",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "relate_type",
"type": "integer",
"ods_source": "relate_type",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "relate_id",
"type": "bigint",
"ods_source": "relate_id",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "pay_amount",
"type": "numeric",
"ods_source": "pay_amount",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "pay_status",
"type": "integer",
"ods_source": "pay_status",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "payment_method",
"type": "integer",
"ods_source": "payment_method",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "online_pay_channel",
"type": "integer",
"ods_source": "online_pay_channel",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "create_time",
"type": "timestamp with time zone",
"ods_source": "create_time",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "pay_time",
"type": "timestamp with time zone",
"ods_source": "pay_time",
"mapping_type": "直接",
"note": "同名直传"
},
{
"dwd_col": "pay_date",
"type": "date",
"ods_source": "pay_time",
"mapping_type": "→ date",
"note": "字段重命名"
},
{
"dwd_col": "tenant_id",
"type": "bigint",
"ods_source": "tenant_id",
"mapping_type": "直接",
"note": ""
}
]
}
}