| | |
| | | | 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 |
| | | |
| | |
| | | | created_at | datetime | 创建时间 | |
| | | |
| | | ### vehicle_track_mileage(车辆轨迹里程) |
| | | > 数据来源:模板_轨迹里程.xlsx |
| | | > 数据来源:模板_轨迹里程.xlsx。同一报表期可同时存在规上企业和两客企业。 |
| | | |
| | | | 字段 | 类型 | 说明 | |
| | | |------|------|------| |
| | | | id | bigint | PK | |
| | | | enterprise_name | varchar(200) | 企业名称 | |
| | | | enterprise_category | varchar(20) | ABOVE_SCALE(规上企业)/PASSENGER(两客企业) | |
| | | | monthly_mileage | double | 月度总里程(公里) | |
| | | | tracked_vehicles | int | 有里程的车辆数 | |
| | | | anomaly_mileage | double | 异常里程(公里);旧文件无此列时为 NULL | |
| | | | report_period | varchar(20) | 报表期 | |
| | | | import_batch_id | bigint | 导入批次 | |
| | | | created_at | datetime | 创建时间 | |
| | | |
| | | > 唯一约束:`report_period + enterprise_category + enterprise_name`。审核规则只使用 `ABOVE_SCALE` 数据。 |
| | | |
| | | ### scale_split_transport(规上规下拆分运输量) |
| | | > 数据来源:模板_规上规下拆分运输量.xlsx,用户手动上传 |
| | | |