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

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,142 @@
{
"schema": "ods",
"table": "payment_transactions",
"columns": [
{
"name": "id",
"data_type": "bigint",
"is_nullable": false,
"column_default": null,
"comment": "【说明】支付流水记录的主键 ID。 【示例】2957924026486597用于支付流水记录的主键 ID。 【JSON字段】payment_transactions.json - $ - id。",
"ordinal_position": 1
},
{
"name": "site_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付记录所属的门店 ID。 【示例】2790685415443269用于支付记录所属的门店 ID。 【JSON字段】payment_transactions.json - $ - site_id。",
"ordinal_position": 2
},
{
"name": "siteprofile",
"data_type": "jsonb",
"is_nullable": true,
"column_default": null,
"comment": "【说明】门店信息快照,与其他 JSON 中的 siteProfile 结构一致。 【示例】{\"id\": 2790685415443269, \"org_id\": 2790684179467077, \"shop_name\": \"朗朗桌球\", \"avatar\": \"https://oss.ficoo.vip/admin/hXcE4E…用于门店信息快照与其他 JSON 中的 siteProfile 结构一致)。 【JSON字段】payment_transactions.json - $ - siteProfile。",
"ordinal_position": 3
},
{
"name": "relate_type",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】表示“这条支付记录关联的业务类型”。 【示例】2用于表示“这条支付记录关联的业务类型”。 【JSON字段】payment_transactions.json - $ - relate_type。",
"ordinal_position": 4
},
{
"name": "relate_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】关联业务记录的主键 ID按 relate_type 不同指向不同表)。 【示例】2957922914357125用于关联业务记录的主键 ID按 relate_type 不同指向不同表))。 【JSON字段】payment_transactions.json - $ - relate_id。",
"ordinal_position": 5
},
{
"name": "pay_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】本条支付流水的“支付金额”,单位为元。 【示例】10.0(用于本条支付流水的“支付金额”,单位为元)。 【JSON字段】payment_transactions.json - $ - pay_amount。",
"ordinal_position": 6
},
{
"name": "pay_status",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付状态枚举字段。 【示例】2用于支付状态枚举字段。 【JSON字段】payment_transactions.json - $ - pay_status。",
"ordinal_position": 7
},
{
"name": "pay_time",
"data_type": "timestamp without time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】实际支付完成时间(支付状态变为成功的时间戳)。 【示例】2025-11-09 23:35:57用于实际支付完成时间支付状态变为成功的时间戳。 【JSON字段】payment_transactions.json - $ - pay_time。",
"ordinal_position": 8
},
{
"name": "create_time",
"data_type": "timestamp without time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付记录创建时间,通常与发起支付请求的时间一致(创建支付流水的时间戳)。 【示例】2025-11-09 23:35:57用于支付记录创建时间通常与发起支付请求的时间一致创建支付流水的时间戳。 【JSON字段】payment_transactions.json - $ - create_time。",
"ordinal_position": 9
},
{
"name": "payment_method",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付方式枚举,例如微信、支付宝、现金、银行卡、储值卡等某一种。 【示例】4用于支付方式枚举例如微信、支付宝、现金、银行卡、储值卡等某一种。 【JSON字段】payment_transactions.json - $ - payment_method。",
"ordinal_position": 10
},
{
"name": "online_pay_channel",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】每一笔结账单settleList.id对应一条支付记录当前样本中是一条记录relate_id 唯一)。 【示例】0用于每一笔结账单settleList.id对应一条支付记录当前样本中是一条记录relate_id 唯一))。 【JSON字段】payment_transactions.json - $ - online_pay_channel。",
"ordinal_position": 11
},
{
"name": "tenant_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": null,
"ordinal_position": 12
},
{
"name": "content_hash",
"data_type": "text",
"is_nullable": false,
"column_default": null,
"comment": null,
"ordinal_position": 13
},
{
"name": "source_file",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】ETL 元数据:原始导出文件名,用于数据追溯。 【示例】payment_transactions.jsonETL 元数据:原始导出文件名,用于数据追溯)。 【JSON字段】payment_transactions.json - ETL元数据 - 无。",
"ordinal_position": 14
},
{
"name": "source_endpoint",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】ETL 元数据:采集来源(接口/文件路径),用于数据追溯。 【示例】export/test-json-doc/payment_transactions.jsonETL 元数据:采集来源(接口/文件路径),用于数据追溯)。 【JSON字段】payment_transactions.json - ETL元数据 - 无。",
"ordinal_position": 15
},
{
"name": "fetched_at",
"data_type": "timestamp with time zone",
"is_nullable": true,
"column_default": "now()",
"comment": "【说明】ETL 元数据:采集/入库时间戳,用于口径对齐与增量处理。 【示例】2025-11-10T00:00:00+08:00ETL 元数据:采集/入库时间戳,用于口径对齐与增量处理)。 【JSON字段】payment_transactions.json - ETL元数据 - 无。",
"ordinal_position": 16
},
{
"name": "payload",
"data_type": "jsonb",
"is_nullable": false,
"column_default": null,
"comment": "【说明】完整原始 JSON 记录快照,用于回溯与二次解析。 【示例】{...}(完整原始 JSON 记录快照,用于回溯与二次解析)。 【JSON字段】payment_transactions.json - $ - $。",
"ordinal_position": 17
}
]
}