Files
ssw-mvp/docs/db/0813/tds/overview.json
T
admin f9899ea207 feat: TDS × SSWFLOW 胶水全 V0–V1.4 落地 + DB 0813 v2 导出
V0 触发链 + 回调链(架构原承诺「SSWFLOW 被合约驱动调用」)
- tds/ContractSswflowTrigger: 合约双签 → 解析 f_policy_content.sswflowFlowId → SswflowClient.startRun → 回写 f_flow_run_id
- sswflow/FlowRunInternalController: /Internal/Start 白名单 App-Code (tds/tdc)
- sswflow/TdsCallbackClient + tds/RunCallbackService: 终态回调 → tds_chain_evidence (bizType=SSW_FLOW_RUN_FINISH)

V1.1 合约触发 + V1.2 dataset 同步 + V1.3 对账调度 + V1.4 TDC 直触发
- tds/DataProductDatasetSyncer: 上架 → /Dataset/Internal/Sync 按 f_external_ref='tds:dataProduct:<id>' upsert
- tds/FlowRunReconciliationScheduler: @Scheduled cron 扫合约漏单 → SswflowClient.getRun → 终态写 ledger + f_quota_used++
- tdc/DeliveryTaskController + TdcSswflowClient: /TriggerFlow 走 Internal/Start (trigger=DELIVERY_DIRECT,绕合约)

3 个 migration(必须按 V1.4→V1.5→V1.1 顺序跑)
- boot/db/tds/V1.4.0__tds_contract_flow_run_id.sql: tds_contract.f_flow_run_id + idx
- boot/db/tds/V1.5.0__tds_billing_ledger_run_id.sql: tds_billing_ledger.f_run_id + idx
- boot/db/sswflow/V1.1.0__dataset_external_ref.sql: dataset.f_external_ref + unique idx

配置 + 文档
- application.yml: exclude-url 加 Dataset/Internal/** + ssw.reconciliation 默认 + ssw.tds.callback.*
- docs/tds/SSWFLOW_BINDING.md: §10 V1.1–V1.4 全标 ✅
- docs/db/0813/{sswflow,tds,tdc,j7}/: schema 含新字段
2026-08-13 16:38:01 +08:00

1505 lines
35 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"database": "tds",
"schema": "public",
"exported_at": "2026-08-13 16:37:15",
"note": "schema-only; no data exported",
"tables": [
{
"name": "tds_alarm_event",
"rows": 0,
"size": "40 kB",
"columns": [
"f_id",
"f_space_id",
"f_rule_id",
"f_rule_code",
"f_rule_name",
"f_level",
"f_title",
"f_detail",
"f_subject_org_id",
"f_subject_org_name",
"f_target_type",
"f_target_id",
"f_target_name",
"f_trigger_value",
"f_threshold_value",
"f_status",
"f_interrupt_mark",
"f_interrupt_time",
"f_handle_user_id",
"f_handle_time",
"f_handle_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据异常使用告警事件"
},
{
"name": "tds_alarm_rule",
"rows": 21,
"size": "48 kB",
"columns": [
"f_id",
"f_space_id",
"f_rule_code",
"f_name",
"f_monitor_type",
"f_target_type",
"f_target_id",
"f_target_name",
"f_threshold_value",
"f_window_minutes",
"f_level",
"f_action_type",
"f_enabled_mark",
"f_description",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据异常使用告警规则"
},
{
"name": "tds_app_store",
"rows": 3,
"size": "48 kB",
"columns": [
"f_id",
"f_space_id",
"f_app_code",
"f_name",
"f_category",
"f_version",
"f_vendor_org_id",
"f_vendor_org_name",
"f_summary",
"f_icon_uri",
"f_entry_url",
"f_audit_status",
"f_status",
"f_install_count",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion"
],
"table_comment": "应用商店"
},
{
"name": "tds_attest_record",
"rows": 132124,
"size": "33 MB",
"columns": [
"f_id",
"f_device_id",
"f_attest_status",
"f_attest_mode",
"f_pcr_digest",
"f_pcr_mask",
"f_firmware_hash",
"f_quote_b64",
"f_signature_b64",
"f_nonce_b64",
"f_ip_address",
"f_operator",
"f_error_code",
"f_error_message",
"f_quote_time",
"f_verified_time",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": null
},
{
"name": "tds_audit_log",
"rows": 465,
"size": "584 kB",
"columns": [
"f_id",
"f_log_no",
"f_space_id",
"f_log_type",
"f_biz_type",
"f_biz_id",
"f_action",
"f_actor_type",
"f_actor_id",
"f_actor_name",
"f_org_id",
"f_org_name",
"f_target",
"f_result",
"f_fail_reason",
"f_ip",
"f_user_agent",
"f_request_uri",
"f_detail",
"f_log_time",
"f_cost_ms",
"f_seq_no",
"f_prev_hash",
"f_hash",
"f_chain_tx_hash",
"f_retention_until",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "审计日志(防篡改哈希链)"
},
{
"name": "tds_audit_record",
"rows": 0,
"size": "32 kB",
"columns": [
"f_id",
"f_space_id",
"f_biz_type",
"f_biz_id",
"f_biz_name",
"f_apply_org_id",
"f_apply_org_name",
"f_apply_user_id",
"f_apply_time",
"f_apply_content",
"f_deadline",
"f_audit_status",
"f_audit_user_id",
"f_audit_user_name",
"f_audit_time",
"f_audit_opinion",
"f_overtime_mark",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "通用审批记录"
},
{
"name": "tds_billing_ledger",
"rows": 83,
"size": "96 kB",
"columns": [
"f_id",
"f_space_id",
"f_contract_id",
"f_order_id",
"f_product_id",
"f_product_name",
"f_consumer_org_id",
"f_consumer_org_name",
"f_provider_org_id",
"f_provider_org_name",
"f_billing_type",
"f_period",
"f_quantity",
"f_unit_price",
"f_amount",
"f_currency",
"f_status",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_run_id"
],
"table_comment": "计费台账"
},
{
"name": "tds_cert",
"rows": 3,
"size": "80 kB",
"columns": [
"f_id",
"f_subject",
"f_pem",
"f_fingerprint_sha256",
"f_kind",
"f_owner_id",
"f_status",
"f_issued_at",
"f_expires_at",
"f_revoked_at",
"f_revoked_reason",
"f_rotated_from_id",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_user_id",
"f_last_modify_time",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "吉利需求点 2:平台级证书生命周期(签发/轮换/吊销)"
},
{
"name": "tds_certification",
"rows": 0,
"size": "40 kB",
"columns": [
"f_id",
"f_space_id",
"f_cert_no",
"f_subject_type",
"f_subject_id",
"f_subject_name",
"f_cert_type",
"f_cert_level",
"f_issuer_org",
"f_status",
"f_valid_start_time",
"f_valid_end_time",
"f_credit_score",
"f_fingerprint",
"f_public_key",
"f_cert_file_uri",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion",
"f_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "认证中心"
},
{
"name": "tds_chain_evidence",
"rows": 289,
"size": "264 kB",
"columns": [
"f_id",
"f_evidence_no",
"f_space_id",
"f_biz_type",
"f_biz_id",
"f_content_hash",
"f_hash_algorithm",
"f_raw_summary",
"f_chain_name",
"f_chain_tx_hash",
"f_chain_block_no",
"f_chain_time",
"f_status",
"f_retry_count",
"f_error_msg",
"f_verify_time",
"f_verify_result",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "区块链存证记录"
},
{
"name": "tds_connector",
"rows": 103,
"size": "192 kB",
"columns": [
"f_id",
"f_connector_code",
"f_name",
"f_space_id",
"f_org_id",
"f_org_name",
"f_credit_code",
"f_type",
"f_deploy_mode",
"f_endpoint",
"f_callback_url",
"f_version",
"f_cert_sn",
"f_cert_pem",
"f_public_key",
"f_cert_expire_time",
"f_access_key",
"f_secret_key",
"f_capability",
"f_status",
"f_audit_status",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion",
"f_heartbeat_interval",
"f_last_heartbeat_time",
"f_offline_time",
"f_online_time",
"f_cancel_time",
"f_cancel_reason",
"f_data_retention_until",
"f_product_count",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_security_device_id",
"f_attest_status",
"f_pcr_digest",
"f_last_attest_time"
],
"table_comment": "接入连接器注册档案"
},
{
"name": "tds_contract",
"rows": 296,
"size": "400 kB",
"columns": [
"f_id",
"f_contract_code",
"f_name",
"f_space_id",
"f_product_id",
"f_product_name",
"f_order_id",
"f_provider_connector_id",
"f_provider_org_id",
"f_provider_org_name",
"f_consumer_connector_id",
"f_consumer_org_id",
"f_consumer_org_name",
"f_purpose",
"f_delivery_type",
"f_policy_content",
"f_terms_content",
"f_price_mode",
"f_amount",
"f_quota_total",
"f_quota_used",
"f_status",
"f_effective_time",
"f_expire_time",
"f_provider_sign_time",
"f_provider_signature",
"f_consumer_sign_time",
"f_consumer_signature",
"f_sign_time",
"f_sign_cost_ms",
"f_chain_tx_hash",
"f_chain_block_no",
"f_chain_time",
"f_content_hash",
"f_parent_contract_id",
"f_version",
"f_terminate_time",
"f_terminate_reason",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_expire_notify_sent",
"f_flow_run_id"
],
"table_comment": "数字合约"
},
{
"name": "tds_contract_change",
"rows": 0,
"size": "24 kB",
"columns": [
"f_id",
"f_contract_id",
"f_change_type",
"f_apply_org_id",
"f_apply_org_name",
"f_apply_user_id",
"f_apply_time",
"f_apply_reason",
"f_before_content",
"f_after_content",
"f_diff_content",
"f_confirm_org_id",
"f_confirm_user_id",
"f_confirm_time",
"f_confirm_opinion",
"f_status",
"f_new_contract_id",
"f_chain_tx_hash",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "合约变更记录"
},
{
"name": "tds_contract_sign",
"rows": 0,
"size": "24 kB",
"columns": [
"f_id",
"f_contract_id",
"f_signer_type",
"f_signer_org_id",
"f_signer_org_name",
"f_signer_user_id",
"f_signer_name",
"f_sign_method",
"f_cert_sn",
"f_signature",
"f_sign_algorithm",
"f_content_hash",
"f_sign_time",
"f_cost_ms",
"f_ip",
"f_result",
"f_fail_reason",
"f_chain_tx_hash",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "合约签署记录"
},
{
"name": "tds_data_apply",
"rows": 53,
"size": "112 kB",
"columns": [
"f_id",
"f_space_id",
"f_apply_no",
"f_product_id",
"f_product_name",
"f_provider_org_id",
"f_provider_org_name",
"f_applicant_org_id",
"f_applicant_org_name",
"f_applicant_user_id",
"f_applicant_user_name",
"f_connector_id",
"f_connector_name",
"f_purpose",
"f_usage_scene",
"f_data_scope",
"f_expect_start_time",
"f_expect_end_time",
"f_status",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion",
"f_contract_id",
"f_attachment_uri",
"f_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据使用申请"
},
{
"name": "tds_data_product",
"rows": 334,
"size": "288 kB",
"columns": [
"f_id",
"f_product_code",
"f_name",
"f_space_id",
"f_provider_connector_id",
"f_provider_org_id",
"f_provider_org_name",
"f_category",
"f_category_path",
"f_tags",
"f_delivery_type",
"f_data_scale",
"f_field_count",
"f_update_frequency",
"f_time_span",
"f_classify_level",
"f_metadata",
"f_sample_data",
"f_schema_info",
"f_quality_score",
"f_price_mode",
"f_price",
"f_price_unit",
"f_status",
"f_audit_status",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion",
"f_online_time",
"f_offline_time",
"f_offline_reason",
"f_view_count",
"f_order_count",
"f_contract_count",
"f_recommend_mark",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_trial_mark"
],
"table_comment": "数据产品目录"
},
{
"name": "tds_delivery_record",
"rows": 0,
"size": "32 kB",
"columns": [
"f_id",
"f_record_no",
"f_space_id",
"f_contract_id",
"f_product_id",
"f_provider_connector_id",
"f_consumer_connector_id",
"f_delivery_type",
"f_tdc_task_id",
"f_request_time",
"f_finish_time",
"f_duration_ms",
"f_record_count",
"f_data_size",
"f_policy_result",
"f_deny_reason",
"f_status",
"f_error_msg",
"f_content_hash",
"f_chain_tx_hash",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "数据交付记录"
},
{
"name": "tds_external_datasource",
"rows": 11,
"size": "64 kB",
"columns": [
"f_id",
"f_space_id",
"f_name",
"f_type",
"f_endpoint",
"f_region",
"f_bucket",
"f_access_key",
"f_secret_key_enc",
"f_secret_iv",
"f_secret_kek_id",
"f_prefix",
"f_status",
"f_last_test_time",
"f_last_test_result",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "外部数据源(对象存储 S3/SFTP/本地目录)"
},
{
"name": "tds_intl_exchange",
"rows": 0,
"size": "40 kB",
"columns": [
"f_id",
"f_space_id",
"f_gateway_id",
"f_gateway_name",
"f_exchange_no",
"f_direction",
"f_product_id",
"f_product_name",
"f_peer_org_name",
"f_country_region",
"f_data_volume",
"f_compliance_check",
"f_compliance_detail",
"f_security_assess_no",
"f_status",
"f_start_time",
"f_end_time",
"f_fail_reason",
"f_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "国际互通流通记录"
},
{
"name": "tds_intl_gateway",
"rows": 0,
"size": "32 kB",
"columns": [
"f_id",
"f_space_id",
"f_gateway_code",
"f_name",
"f_standard",
"f_protocol",
"f_endpoint_url",
"f_country_region",
"f_peer_org_name",
"f_cert_subject",
"f_export_level",
"f_compliance_status",
"f_security_assess_no",
"f_status",
"f_last_handshake_time",
"f_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "国际互通网关"
},
{
"name": "tds_invoice",
"rows": 3,
"size": "32 kB",
"columns": [
"f_id",
"f_space_id",
"f_invoice_no",
"f_ledger_ids",
"f_buyer_org_id",
"f_buyer_org_name",
"f_seller_org_id",
"f_seller_org_name",
"f_amount",
"f_tax_amount",
"f_status",
"f_issue_time",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "发票"
},
{
"name": "tds_license",
"rows": 1,
"size": "64 kB",
"columns": [
"f_id",
"f_license_code",
"f_org_id",
"f_org_name",
"f_plan",
"f_max_users",
"f_max_spaces",
"f_max_storage_gb",
"f_max_api_qps",
"f_features_json",
"f_status",
"f_issued_at",
"f_activated_at",
"f_expires_at",
"f_renewal_at",
"f_payment_channel",
"f_payment_ref",
"f_amount",
"f_note",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_user_id",
"f_last_modify_time",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "吉利需求点 1/3:License/续费/订阅管理(依赖外部支付,本期提供数据模型)"
},
{
"name": "tds_lineage_approval",
"rows": 4,
"size": "80 kB",
"columns": [
"f_id",
"f_space_id",
"f_resource_type",
"f_resource_id",
"f_resource_name",
"f_action",
"f_requester_id",
"f_requester_name",
"f_requester_comment",
"f_status",
"f_current_approvers",
"f_decisions_json",
"f_chain_evidence_id",
"f_decide_user_id",
"f_decide_time",
"f_decide_comment",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "可信血缘-审批单(密态开发平台 P1-D)"
},
{
"name": "tds_lineage_edge",
"rows": 8,
"size": "80 kB",
"columns": [
"f_id",
"f_space_id",
"f_from_type",
"f_from_id",
"f_from_name",
"f_to_type",
"f_to_id",
"f_to_name",
"f_edge_type",
"f_transform",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "可信血缘-边(密态开发平台 P1-D)"
},
{
"name": "tds_ml_component",
"rows": 6,
"size": "64 kB",
"columns": [
"f_id",
"f_code",
"f_name",
"f_category",
"f_algo",
"f_version",
"f_params_schema_json",
"f_default_params_json",
"f_description",
"f_builtin_mark",
"f_enabled_mark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "机器学习组件库(密态开发平台 P1-C)"
},
{
"name": "tds_node_report",
"rows": 6,
"size": "80 kB",
"columns": [
"f_id",
"f_category",
"f_category_name",
"f_target_url",
"f_target_type",
"f_item_count",
"f_payload",
"f_status",
"f_error_msg",
"f_receipt_id",
"f_global_node_id",
"f_report_time",
"f_ack_time",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": null
},
{
"name": "tds_notify",
"rows": 1,
"size": "32 kB",
"columns": [
"f_id",
"f_receiver",
"f_receiver_type",
"f_type",
"f_level",
"f_channel",
"f_title",
"f_content",
"f_biz_type",
"f_biz_id",
"f_read_mark",
"f_read_time",
"f_space_id",
"f_tenant_id",
"f_creator_user_id",
"f_creator_time",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_sort_code",
"f_last_modify_time",
"f_last_modify_user_id"
],
"table_comment": null
},
{
"name": "tds_order",
"rows": 0,
"size": "40 kB",
"columns": [
"f_id",
"f_order_no",
"f_space_id",
"f_product_id",
"f_product_name",
"f_provider_org_id",
"f_provider_org_name",
"f_consumer_org_id",
"f_consumer_org_name",
"f_consumer_connector_id",
"f_purpose",
"f_apply_policy",
"f_apply_period_start",
"f_apply_period_end",
"f_apply_quota",
"f_price_mode",
"f_amount",
"f_status",
"f_confirm_user_id",
"f_confirm_time",
"f_confirm_opinion",
"f_contract_id",
"f_pay_status",
"f_pay_time",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "数据订购单"
},
{
"name": "tds_pir_audit",
"rows": 7,
"size": "48 kB",
"columns": [
"f_id",
"f_space_id",
"f_dataset_id",
"f_query_hash_key",
"f_query_hash_b64",
"f_rows_returned",
"f_request_user_id",
"f_request_ip",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "PIR 查询审计(只记录桶号 + 行数,不记录原 key)"
},
{
"name": "tds_pir_dataset",
"rows": 7,
"size": "48 kB",
"columns": [
"f_id",
"f_space_id",
"f_name",
"f_description",
"f_key_field",
"f_total_rows",
"f_status",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "匿踪查询数据集(密态查询 P1.5-A)"
},
{
"name": "tds_pir_row",
"rows": 501,
"size": "216 kB",
"columns": [
"f_id",
"f_dataset_id",
"f_hash_key",
"f_biz_id",
"f_payload_json",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "PIR 数据行(按桶分布,客户端本地精确匹配)"
},
{
"name": "tds_policy_conflict_log",
"rows": 281,
"size": "128 kB",
"columns": [
"f_id",
"f_contract_id",
"f_product_id",
"f_space_id",
"f_check_result",
"f_conflicts",
"f_check_time",
"f_creator_user_id",
"f_creator_time",
"f_delete_mark",
"f_tenant_id",
"f_delete_time",
"f_delete_user_id",
"f_sort_code",
"f_last_modify_time",
"f_last_modify_user_id"
],
"table_comment": null
},
{
"name": "tds_policy_instance",
"rows": 0,
"size": "24 kB",
"columns": [
"f_id",
"f_contract_id",
"f_template_id",
"f_template_code",
"f_name",
"f_category",
"f_policy_type",
"f_params",
"f_rule_content",
"f_enforce_point",
"f_deny_action",
"f_priority",
"f_enabled_mark",
"f_hit_count",
"f_deny_count",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "合约策略实例"
},
{
"name": "tds_policy_template",
"rows": 303,
"size": "272 kB",
"columns": [
"f_id",
"f_template_code",
"f_name",
"f_space_id",
"f_category",
"f_policy_type",
"f_scene",
"f_rule_lang",
"f_rule_content",
"f_param_schema",
"f_default_params",
"f_enforce_point",
"f_deny_action",
"f_builtin_mark",
"f_enabled_mark",
"f_version",
"f_use_count",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "使用控制策略模板"
},
{
"name": "tds_quota",
"rows": 1,
"size": "56 kB",
"columns": [
"f_id",
"f_dimension",
"f_target_id",
"f_metric",
"f_limit_value",
"f_used_value",
"f_window",
"f_window_start",
"f_status",
"f_overflow_policy",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_user_id",
"f_last_modify_time",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "吉利需求点 4:平台级统一限额管理(按维度+对象+指标+窗口)"
},
{
"name": "tds_rating",
"rows": 4,
"size": "32 kB",
"columns": [
"f_id",
"f_space_id",
"f_target_org_id",
"f_target_org_name",
"f_target_role",
"f_rater_org_id",
"f_rater_org_name",
"f_score",
"f_dimension",
"f_comment",
"f_anonymous",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "主体评价"
},
{
"name": "tds_sample_job",
"rows": 8,
"size": "64 kB",
"columns": [
"f_id",
"f_space_id",
"f_name",
"f_method",
"f_source_csv",
"f_sample_rate",
"f_sample_count",
"f_stratify_key",
"f_seed",
"f_status",
"f_output_path",
"f_preview_json",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据抽样任务(密态开发平台 P1-B)"
},
{
"name": "tds_security_device",
"rows": 4,
"size": "80 kB",
"columns": [
"f_id",
"f_connector_id",
"f_endpoint",
"f_status",
"f_attest_status",
"f_attest_mode",
"f_pcr_digest",
"f_pcr_mask",
"f_firmware_hash",
"f_quote_signed_at",
"f_last_attest_time",
"f_last_heartbeat_time",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": null
},
{
"name": "tds_space",
"rows": 22,
"size": "64 kB",
"columns": [
"f_id",
"f_space_code",
"f_name",
"f_type",
"f_industry",
"f_region",
"f_operator_org_id",
"f_operator_name",
"f_contact_person",
"f_contact_phone",
"f_join_policy",
"f_governance_rule",
"f_service_scope",
"f_member_count",
"f_product_count",
"f_contract_count",
"f_status",
"f_online_time",
"f_close_time",
"f_close_reason",
"f_logo",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "可信数据空间"
},
{
"name": "tds_space_member",
"rows": 18,
"size": "64 kB",
"columns": [
"f_id",
"f_space_id",
"f_org_id",
"f_org_name",
"f_credit_code",
"f_member_role",
"f_member_type",
"f_contact_person",
"f_contact_phone",
"f_apply_time",
"f_apply_reason",
"f_audit_status",
"f_audit_user_id",
"f_audit_time",
"f_audit_opinion",
"f_join_time",
"f_quit_time",
"f_status",
"f_desc",
"f_tenant_id",
"f_sort_code",
"f_creator_time",
"f_creator_user_id",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "空间成员"
},
{
"name": "tds_subscription",
"rows": 2,
"size": "48 kB",
"columns": [
"f_id",
"f_space_id",
"f_subscriber_org_id",
"f_subscriber_org_name",
"f_target_type",
"f_target_id",
"f_target_name",
"f_status",
"f_remark",
"f_tenant_id",
"f_sort_code",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id"
],
"table_comment": "数据订阅"
},
{
"name": "tds_sync_roundtrip",
"rows": 5,
"size": "64 kB",
"columns": [
"f_id",
"f_space_id",
"f_name",
"f_source_ds_id",
"f_source_filter",
"f_target_space_id",
"f_target_dataset_code",
"f_mode",
"f_cursor_value",
"f_schedule_cron",
"f_last_run_time",
"f_last_run_status",
"f_last_run_rows",
"f_last_run_msg",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据同步回流任务"
},
{
"name": "tds_synth_job",
"rows": 11,
"size": "64 kB",
"columns": [
"f_id",
"f_space_id",
"f_name",
"f_method",
"f_source_csv",
"f_sample_count",
"f_columns_json",
"f_status",
"f_output_path",
"f_output_summary",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code"
],
"table_comment": "数据合成任务(密态开发平台 P1-A)"
},
{
"name": "tds_vuln_scan",
"rows": 28,
"size": "112 kB",
"columns": [
"f_id",
"f_space_id",
"f_scan_no",
"f_name",
"f_target_type",
"f_target_name",
"f_target_ref",
"f_scan_type",
"f_status",
"f_risk_level",
"f_total_count",
"f_high_count",
"f_medium_count",
"f_low_count",
"f_findings_json",
"f_start_time",
"f_end_time",
"f_report_uri",
"f_handle_status",
"f_handle_user_id",
"f_handle_time",
"f_handle_remark",
"f_creator_user_id",
"f_creator_time",
"f_last_modify_time",
"f_last_modify_user_id",
"f_delete_mark",
"f_delete_time",
"f_delete_user_id",
"f_tenant_id",
"f_sort_code",
"f_source",
"f_upload_time",
"f_scanner_name"
],
"table_comment": "系统安全与漏洞审查"
}
]
}