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

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,302 @@
{
"schema": "ods",
"table": "refund_transactions",
"columns": [
{
"name": "id",
"data_type": "bigint",
"is_nullable": false,
"column_default": null,
"comment": "【说明】本条 退款流水 的唯一 ID。 【示例】2955202296416389用于本条 退款流水 的唯一 ID。 【JSON字段】refund_transactions.json - $ - id。",
"ordinal_position": 1
},
{
"name": "tenant_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】租户/品牌 ID全系统维度标识该商户。 【示例】2790683160709957用于租户/品牌 ID全系统维度标识该商户。 【JSON字段】refund_transactions.json - $ - tenant_id。",
"ordinal_position": 2
},
{
"name": "tenantname",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】租户(商户)名称。 【示例】朗朗桌球(用于租户(商户)名称)。 【JSON字段】refund_transactions.json - $ - tenantName。",
"ordinal_position": 3
},
{
"name": "site_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】门店 ID。 【示例】2790685415443269用于门店 ID。 【JSON字段】refund_transactions.json - $ - site_id。",
"ordinal_position": 4
},
{
"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字段】refund_transactions.json - $ - siteProfile。",
"ordinal_position": 5
},
{
"name": "relate_type",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】本退款对应的“业务类型”。 【示例】5用于本退款对应的“业务类型”。 【JSON字段】refund_transactions.json - $ - relate_type。",
"ordinal_position": 6
},
{
"name": "relate_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】本次退款关联的业务 ID。 【示例】2955078219057349用于本次退款关联的业务 ID。 【JSON字段】refund_transactions.json - $ - relate_id。",
"ordinal_position": 7
},
{
"name": "pay_sn",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】0来自 JSON 导出的原始字段,用于保留业务取值)。 【JSON字段】refund_transactions.json - $ - pay_sn。",
"ordinal_position": 8
},
{
"name": "pay_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】本次退款的 资金变动金额。 【示例】-5000.0(用于本次退款的 资金变动金额)。 【JSON字段】refund_transactions.json - $ - pay_amount。",
"ordinal_position": 9
},
{
"name": "refund_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】设计上本应显示“实际退款金额”(正数),与 pay_amount 配合使用。 【示例】0.0(用于设计上本应显示“实际退款金额”(正数),与 pay_amount 配合使用)。 【JSON字段】refund_transactions.json - $ - refund_amount。",
"ordinal_position": 10
},
{
"name": "round_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】舍入金额/抹零金额。 【示例】0.0(用于舍入金额/抹零金额)。 【JSON字段】refund_transactions.json - $ - round_amount。",
"ordinal_position": 11
},
{
"name": "pay_status",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】2来自 JSON 导出的原始字段,用于保留业务取值。)。 【JSON字段】refund_transactions.json - $ - pay_status。",
"ordinal_position": 12
},
{
"name": "pay_time",
"data_type": "timestamp without time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】退款在支付渠道层面实际发生的时间。 【示例】2025-11-08 01:27:16用于退款在支付渠道层面实际发生的时间。 【JSON字段】refund_transactions.json - $ - pay_time。",
"ordinal_position": 13
},
{
"name": "create_time",
"data_type": "timestamp without time zone",
"is_nullable": true,
"column_default": null,
"comment": "【说明】本条退款流水在系统内创建时间。 【示例】2025-11-08 01:27:16用于本条退款流水在系统内创建时间。 【JSON字段】refund_transactions.json - $ - create_time。",
"ordinal_position": 14
},
{
"name": "payment_method",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】4来自 JSON 导出的原始字段,用于保留业务取值。)。 【JSON字段】refund_transactions.json - $ - payment_method。",
"ordinal_position": 15
},
{
"name": "pay_terminal",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】1来自 JSON 导出的原始字段,用于保留业务取值。)。 【JSON字段】refund_transactions.json - $ - pay_terminal。",
"ordinal_position": 16
},
{
"name": "pay_config_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付配置 ID例如商户在“非球科技”内配置的某一条支付通道某个微信商户号、银联通道的主键。 【示例】0用于支付配置 ID例如商户在“非球科技”内配置的某一条支付通道某个微信商户号、银联通道的主键。 【JSON字段】refund_transactions.json - $ - pay_config_id。",
"ordinal_position": 17
},
{
"name": "online_pay_channel",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】来自 JSON 导出的原始字段,用于保留业务取值。 【示例】0来自 JSON 导出的原始字段,用于保留业务取值。)。 【JSON字段】refund_transactions.json - $ - online_pay_channel。",
"ordinal_position": 18
},
{
"name": "online_pay_type",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】当前:全部 0。 【示例】0用于当前全部 0。 【JSON字段】refund_transactions.json - $ - online_pay_type。",
"ordinal_position": 19
},
{
"name": "channel_fee",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】第三方支付渠道对本次退款收取的手续费。 【示例】0.0(用于第三方支付渠道对本次退款收取的手续费)。 【JSON字段】refund_transactions.json - $ - channel_fee。",
"ordinal_position": 20
},
{
"name": "channel_payer_id",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】支付渠道侧的 payer ID例如微信 openid、银行卡号掩码等。 【示例】NULL用于支付渠道侧的 payer ID例如微信 openid、银行卡号掩码等。 【JSON字段】refund_transactions.json - $ - channel_payer_id。",
"ordinal_position": 21
},
{
"name": "channel_pay_no",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】第三方支付平台的交易号(如微信支付单号、支付宝交易号等)。 【示例】NULL用于第三方支付平台的交易号如微信支付单号、支付宝交易号等。 【JSON字段】refund_transactions.json - $ - channel_pay_no。",
"ordinal_position": 22
},
{
"name": "member_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】租户内部的会员 ID对应会员档案中的某个主键。 【示例】0用于租户内部的会员 ID对应会员档案中的某个主键。 【JSON字段】refund_transactions.json - $ - member_id。",
"ordinal_position": 23
},
{
"name": "member_card_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】关联的会员卡账户 ID对应“储值卡列表”或“会员档案”中的某一张卡。 【示例】0用于关联的会员卡账户 ID对应“储值卡列表”或“会员档案”中的某一张卡。 【JSON字段】refund_transactions.json - $ - member_card_id。",
"ordinal_position": 24
},
{
"name": "cashier_point_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】收银点 ID例如前台 1、前台 2、自助机等。 【示例】0用于收银点 ID例如前台 1、前台 2、自助机等。 【JSON字段】refund_transactions.json - $ - cashier_point_id。",
"ordinal_position": 25
},
{
"name": "operator_id",
"data_type": "bigint",
"is_nullable": true,
"column_default": null,
"comment": "【说明】执行该退款操作的操作员 ID。 【示例】0用于执行该退款操作的操作员 ID。 【JSON字段】refund_transactions.json - $ - operator_id。",
"ordinal_position": 26
},
{
"name": "action_type",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】当前:全部 2。 【示例】2用于当前全部 2。 【JSON字段】refund_transactions.json - $ - action_type。",
"ordinal_position": 27
},
{
"name": "check_status",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】当前:全部 1。 【示例】1用于当前全部 1。 【JSON字段】refund_transactions.json - $ - check_status。",
"ordinal_position": 28
},
{
"name": "is_revoke",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】布尔/开关字段,用于表示权限、可用性或状态开关。 【示例】0布尔/开关字段,用于表示权限、可用性或状态开关。)。 【JSON字段】refund_transactions.json - $ - is_revoke。",
"ordinal_position": 29
},
{
"name": "is_delete",
"data_type": "integer",
"is_nullable": true,
"column_default": null,
"comment": "【说明】逻辑删除标志。 【示例】0用于逻辑删除标志。 【JSON字段】refund_transactions.json - $ - is_delete。",
"ordinal_position": 30
},
{
"name": "balance_frozen_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】涉及会员储值卡退款时,暂时冻结的余额金额。 【示例】0.0(用于涉及会员储值卡退款时,暂时冻结的余额金额)。 【JSON字段】refund_transactions.json - $ - balance_frozen_amount。",
"ordinal_position": 31
},
{
"name": "card_frozen_amount",
"data_type": "numeric",
"is_nullable": true,
"column_default": null,
"comment": "【说明】与上一个类似,偏向“某张卡的被冻结金额”,也与会员卡/储值账户相关。 【示例】0.0(用于与上一个类似,偏向“某张卡的被冻结金额”,也与会员卡/储值账户相关)。 【JSON字段】refund_transactions.json - $ - card_frozen_amount。",
"ordinal_position": 32
},
{
"name": "content_hash",
"data_type": "text",
"is_nullable": false,
"column_default": null,
"comment": null,
"ordinal_position": 33
},
{
"name": "source_file",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】ETL 元数据:原始导出文件名,用于数据追溯。 【示例】refund_transactions.jsonETL 元数据:原始导出文件名,用于数据追溯)。 【JSON字段】refund_transactions.json - ETL元数据 - 无。",
"ordinal_position": 34
},
{
"name": "source_endpoint",
"data_type": "text",
"is_nullable": true,
"column_default": null,
"comment": "【说明】ETL 元数据:采集来源(接口/文件路径),用于数据追溯。 【示例】export/test-json-doc/refund_transactions.jsonETL 元数据:采集来源(接口/文件路径),用于数据追溯)。 【JSON字段】refund_transactions.json - ETL元数据 - 无。",
"ordinal_position": 35
},
{
"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字段】refund_transactions.json - ETL元数据 - 无。",
"ordinal_position": 36
},
{
"name": "payload",
"data_type": "jsonb",
"is_nullable": false,
"column_default": null,
"comment": "【说明】完整原始 JSON 记录快照,用于回溯与二次解析。 【示例】{...}(完整原始 JSON 记录快照,用于回溯与二次解析)。 【JSON字段】refund_transactions.json - $ - $。",
"ordinal_position": 37
}
]
}