{
  "start": "2025-07-01T00:00:00+08:00",
  "end": "2026-01-15T07:28:43.859529+08:00",
  "cutoff": null,
  "window_days": 1,
  "page_size": 200,
  "chunk_size": 500,
  "sample_limit": 50,
  "store_id": 2790685415443269,
  "base_url": "https://pc.ficoo.vip/apiprod/admin/v1/",
  "results": [
    {
      "task_code": "ODS_ASSISTANT_ACCOUNT",
      "table": "billiards_ods.assistant_accounts_master",
      "endpoint": "/PersonnelManagement/SearchAssistantInfo",
      "pk_columns": [
        "id"
      ],
      "records": 64,
      "records_with_pk": 64,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.assistant_accounts_master t J...\n               ^\n"
    },
    {
      "task_code": "ODS_SETTLEMENT_RECORDS",
      "table": "billiards_ods.settlement_records",
      "endpoint": "/Site/GetAllOrderSettleList",
      "pk_columns": [
        "id"
      ],
      "records": 1,
      "records_with_pk": 1,
      "missing": 0,
      "missing_samples": [],
      "pages": 16,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.settlement_records t JOIN (VA...\n               ^\n"
    },
    {
      "task_code": "ODS_TABLE_USE",
      "table": "billiards_ods.table_fee_transactions",
      "endpoint": "/Site/GetSiteTableOrderDetails",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.table_fee_transactions t JOIN...\n               ^\n"
    },
    {
      "task_code": "ODS_ASSISTANT_LEDGER",
      "table": "billiards_ods.assistant_service_records",
      "endpoint": "/AssistantPerformance/GetOrderAssistantDetails",
      "pk_columns": [
        "id"
      ],
      "records": 9,
      "records_with_pk": 9,
      "missing": 0,
      "missing_samples": [],
      "pages": 21,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.assistant_service_records t J...\n               ^\n"
    },
    {
      "task_code": "ODS_ASSISTANT_ABOLISH",
      "table": "billiards_ods.assistant_cancellation_records",
      "endpoint": "/AssistantPerformance/GetAbolitionAssistant",
      "pk_columns": [
        "id"
      ],
      "records": 1,
      "records_with_pk": 1,
      "missing": 0,
      "missing_samples": [],
      "pages": 106,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.assistant_cancellation_record...\n               ^\n"
    },
    {
      "task_code": "ODS_STORE_GOODS_SALES",
      "table": "billiards_ods.store_goods_sales_records",
      "endpoint": "/TenantGoods/GetGoodsSalesList",
      "pk_columns": [
        "id"
      ],
      "records": 0,
      "records_with_pk": 0,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 0,
      "error_detail": null
    },
    {
      "task_code": "ODS_PAYMENT",
      "table": "billiards_ods.payment_transactions",
      "endpoint": "/PayLog/GetPayLogListPage",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.payment_transactions t JOIN (...\n               ^\n"
    },
    {
      "task_code": "ODS_REFUND",
      "table": "billiards_ods.refund_transactions",
      "endpoint": "/Order/GetRefundPayLogList",
      "pk_columns": [
        "id"
      ],
      "records": 37,
      "records_with_pk": 37,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.refund_transactions t JOIN (V...\n               ^\n"
    },
    {
      "task_code": "ODS_PLATFORM_COUPON",
      "table": "billiards_ods.platform_coupon_redemption_records",
      "endpoint": "/Promotion/GetOfflineCouponConsumePageList",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.platform_coupon_redemption_re...\n               ^\n"
    },
    {
      "task_code": "ODS_MEMBER",
      "table": "billiards_ods.member_profiles",
      "endpoint": "/MemberProfile/GetTenantMemberList",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.member_profiles t JOIN (VALUE...\n               ^\n"
    },
    {
      "task_code": "ODS_MEMBER_CARD",
      "table": "billiards_ods.member_stored_value_cards",
      "endpoint": "/MemberProfile/GetTenantMemberCardList",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.member_stored_value_cards t J...\n               ^\n"
    },
    {
      "task_code": "ODS_MEMBER_BALANCE",
      "table": "billiards_ods.member_balance_changes",
      "endpoint": "/MemberProfile/GetMemberCardBalanceChange",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.member_balance_changes t JOIN...\n               ^\n"
    },
    {
      "task_code": "ODS_RECHARGE_SETTLE",
      "table": "billiards_ods.recharge_settlements",
      "endpoint": "/Site/GetRechargeSettleList",
      "pk_columns": [
        "id"
      ],
      "records": 1,
      "records_with_pk": 1,
      "missing": 0,
      "missing_samples": [],
      "pages": 21,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.recharge_settlements t JOIN (...\n               ^\n"
    },
    {
      "task_code": "ODS_GROUP_PACKAGE",
      "table": "billiards_ods.group_buy_packages",
      "endpoint": "/PackageCoupon/QueryPackageCouponList",
      "pk_columns": [
        "id"
      ],
      "records": 18,
      "records_with_pk": 18,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.group_buy_packages t JOIN (VA...\n               ^\n"
    },
    {
      "task_code": "ODS_GROUP_BUY_REDEMPTION",
      "table": "billiards_ods.group_buy_redemption_records",
      "endpoint": "/Site/GetSiteTableUseDetails",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.group_buy_redemption_records ...\n               ^\n"
    },
    {
      "task_code": "ODS_INVENTORY_STOCK",
      "table": "billiards_ods.goods_stock_summary",
      "endpoint": "/TenantGoods/GetGoodsStockReport",
      "pk_columns": [
        "sitegoodsid"
      ],
      "records": 169,
      "records_with_pk": 169,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"sitegoodsid\" 是不明确的\nLINE 1: SELECT \"sitegoodsid\" FROM billiards_ods.goods_stock_summary ...\n               ^\n"
    },
    {
      "task_code": "ODS_INVENTORY_CHANGE",
      "table": "billiards_ods.goods_stock_movements",
      "endpoint": "/GoodsStockManage/QueryGoodsOutboundReceipt",
      "pk_columns": [
        "sitegoodsstockid"
      ],
      "records": 62,
      "records_with_pk": 62,
      "missing": 0,
      "missing_samples": [],
      "pages": 18,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"sitegoodsstockid\" 是不明确的\nLINE 1: SELECT \"sitegoodsstockid\" FROM billiards_ods.goods_stock_mov...\n               ^\n"
    },
    {
      "task_code": "ODS_TABLES",
      "table": "billiards_ods.site_tables_master",
      "endpoint": "/Table/GetSiteTables",
      "pk_columns": [
        "id"
      ],
      "records": 74,
      "records_with_pk": 74,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.site_tables_master t JOIN (VA...\n               ^\n"
    },
    {
      "task_code": "ODS_GOODS_CATEGORY",
      "table": "billiards_ods.stock_goods_category_tree",
      "endpoint": "/TenantGoodsCategory/QueryPrimarySecondaryCategory",
      "pk_columns": [
        "id"
      ],
      "records": 9,
      "records_with_pk": 9,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.stock_goods_category_tree t J...\n               ^\n"
    },
    {
      "task_code": "ODS_STORE_GOODS",
      "table": "billiards_ods.store_goods_master",
      "endpoint": "/TenantGoods/GetGoodsInventoryList",
      "pk_columns": [
        "id"
      ],
      "records": 169,
      "records_with_pk": 169,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.store_goods_master t JOIN (VA...\n               ^\n"
    },
    {
      "task_code": "ODS_TABLE_FEE_DISCOUNT",
      "table": "billiards_ods.table_fee_discount_records",
      "endpoint": "/Site/GetTaiFeeAdjustList",
      "pk_columns": [
        "id"
      ],
      "records": 200,
      "records_with_pk": 200,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.table_fee_discount_records t ...\n               ^\n"
    },
    {
      "task_code": "ODS_TENANT_GOODS",
      "table": "billiards_ods.tenant_goods_master",
      "endpoint": "/TenantGoods/QueryTenantGoods",
      "pk_columns": [
        "id"
      ],
      "records": 170,
      "records_with_pk": 170,
      "missing": 0,
      "missing_samples": [],
      "pages": 1,
      "skipped_missing_pk": 0,
      "errors": 1,
      "error_detail": "AmbiguousColumn: 错误:  字段关联 \"id\" 是不明确的\nLINE 1: SELECT \"id\" FROM billiards_ods.tenant_goods_master t JOIN (V...\n               ^\n"
    },
    {
      "task_code": "ODS_SETTLEMENT_TICKET",
      "table": "billiards_ods.settlement_ticket_details",
      "endpoint": "/Order/GetOrderSettleTicketNew",
      "pk_columns": [
        "ordersettleid"
      ],
      "records": 22265,
      "records_with_pk": 0,
      "missing": 0,
      "missing_samples": [],
      "pages": 203,
      "skipped_missing_pk": 22265,
      "errors": 0,
      "error_detail": null,
      "source_endpoint": "/PayLog/GetPayLogListPage"
    }
  ],
  "total_missing": 0,
  "total_errors": 21,
  "generated_at": "2026-01-15T07:30:06.858721+08:00"
}
