xyc
2026-11-11 9483eb4f6d7a75261dbde71ace7878df2f7eda07
docs/database.md
@@ -140,6 +140,38 @@
| import_batch_id | bigint | 导入批次 |
| created_at | datetime | 创建时间 |
### h202_freight_vehicle_ownership (H202 highway freight operating vehicle ownership)
Source: transport authority comprehensive ledger workbook `RP_JTB_FreightVehicle_<region>.xlsx`.
One row contains one report period, one region, and one indicator code (`01`-`93`).
All numeric values use `DECIMAL(30,15)` and Java `BigDecimal`; Excel values are converted
through their exact text and are never routed through `double`.
| Field | Type | Description |
|------|------|------|
| id | bigint | Primary key |
| report_period | varchar(20) | Report period `yyyy-MM` |
| region_name | varchar(50) | Hubei province or one of 17 prefecture-level regions |
| report_date | date | Report date read from cell `L3` |
| item_code | varchar(10) | H202 indicator code `01`-`93` |
| item_name | varchar(200) | Indicator name inherited from the matrix row |
| unit | varchar(20) | Measurement unit |
| total_value | decimal(30,15) | Total |
| individual_value | decimal(30,15) | Individual |
| large_value | decimal(30,15) | Large |
| large_heavy_value | decimal(30,15) | Large-heavy |
| large_heavy_individual_value | decimal(30,15) | Large-heavy-individual |
| large_individual_value | decimal(30,15) | Large-individual |
| medium_value | decimal(30,15) | Medium |
| medium_individual_value | decimal(30,15) | Medium-individual |
| small_value | decimal(30,15) | Small |
| small_individual_value | decimal(30,15) | Small-individual |
| source_file_name | varchar(255) | Source workbook file name |
| import_batch_id | bigint | Import batch |
| created_at | datetime | Creation time |
Unique key: `(report_period, region_name, item_code)`.
### transport_auth_vehicle(运政车辆数据)
> 数据来源:模板_运政车辆.xlsx