巴林闲侠
2 years ago
12 changed files with 1701 additions and 6 deletions
@ -0,0 +1,71 @@ |
|||
'use strict'; |
|||
|
|||
async function bridgeGet (ctx) { |
|||
try { |
|||
const models = ctx.fs.dc.models; |
|||
|
|||
const roadRes = await models.Bridge.findAll({ |
|||
order: [['id', 'DESC']] |
|||
}) |
|||
|
|||
ctx.status = 200; |
|||
ctx.body = roadRes |
|||
} catch (error) { |
|||
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); |
|||
ctx.status = 400; |
|||
ctx.body = { |
|||
message: typeof error == 'string' ? error : undefined |
|||
} |
|||
} |
|||
} |
|||
|
|||
async function bridgeEdit (ctx) { |
|||
try { |
|||
const models = ctx.fs.dc.models; |
|||
const data = ctx.request.body; |
|||
|
|||
if (!data.bridgeId) { |
|||
await models.Bridge.create(data) |
|||
} else { |
|||
await models.Bridge.update( |
|||
data, { |
|||
where: { |
|||
id: data.bridgeId |
|||
} |
|||
}) |
|||
} |
|||
|
|||
ctx.status = 204 |
|||
} catch (error) { |
|||
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); |
|||
ctx.status = 400; |
|||
ctx.body = { |
|||
message: typeof error == 'string' ? error : undefined |
|||
} |
|||
} |
|||
} |
|||
|
|||
async function bridgeDel (ctx) { |
|||
try { |
|||
const models = ctx.fs.dc.models; |
|||
const { bridgeId } = ctx.params; |
|||
|
|||
await models.Bridge.destroy({ |
|||
where: { |
|||
id: bridgeId |
|||
} |
|||
}) |
|||
|
|||
ctx.status = 204 |
|||
} catch (error) { |
|||
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); |
|||
ctx.status = 400; |
|||
ctx.body = { |
|||
message: typeof error == 'string' ? error : undefined |
|||
} |
|||
} |
|||
} |
|||
|
|||
module.exports = { |
|||
bridgeGet, bridgeEdit, bridgeDel, |
|||
}; |
@ -0,0 +1,898 @@ |
|||
/* eslint-disable*/ |
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const Bridge = sequelize.define("bridge", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true, |
|||
unique: "bridge_id_uindex" |
|||
}, |
|||
bridgeCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁代码", |
|||
primaryKey: false, |
|||
field: "bridge_code", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁名称", |
|||
primaryKey: false, |
|||
field: "bridge_name", |
|||
autoIncrement: false |
|||
}, |
|||
centralStation: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "中心桩号", |
|||
primaryKey: false, |
|||
field: "central_station", |
|||
autoIncrement: false |
|||
}, |
|||
crossingFigureType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨越地物类型", |
|||
primaryKey: false, |
|||
field: "crossing_figure_type", |
|||
autoIncrement: false |
|||
}, |
|||
crossingFigureName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨越地物名称", |
|||
primaryKey: false, |
|||
field: "crossing_figure_name", |
|||
autoIncrement: false |
|||
}, |
|||
natureOfCharges: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "收费性质", |
|||
primaryKey: false, |
|||
field: "nature_of_charges", |
|||
autoIncrement: false |
|||
}, |
|||
rampCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "匝道编码", |
|||
primaryKey: false, |
|||
field: "ramp_code", |
|||
autoIncrement: false |
|||
}, |
|||
sectionType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路段类型", |
|||
primaryKey: false, |
|||
field: "section_type", |
|||
autoIncrement: false |
|||
}, |
|||
crossingFigureType1: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨越地物类型1", |
|||
primaryKey: false, |
|||
field: "crossing_figure_type_1", |
|||
autoIncrement: false |
|||
}, |
|||
crossingFigureName1: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨越地物名称1", |
|||
primaryKey: false, |
|||
field: "crossing_figure_name_1", |
|||
autoIncrement: false |
|||
}, |
|||
originalBridgeCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "原桥梁代码", |
|||
primaryKey: false, |
|||
field: "original_bridge_code", |
|||
autoIncrement: false |
|||
}, |
|||
whetherWideRoadAndNarrowBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否宽路窄桥", |
|||
primaryKey: false, |
|||
field: "whether_wide_road_and_narrow_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
isItInTheDirectoryOfLongAndLongBridges: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否在长大桥梁目录中", |
|||
primaryKey: false, |
|||
field: "is_it_in_the_directory_of_long_and_long_bridges", |
|||
autoIncrement: false |
|||
}, |
|||
whetherItIsACrossProvincialBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否跨省桥梁", |
|||
primaryKey: false, |
|||
field: "whether_it_is_a_cross_provincial_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
interworkingType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "互通类型", |
|||
primaryKey: false, |
|||
field: "interworking_type", |
|||
autoIncrement: false |
|||
}, |
|||
interworkingForm: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "互通形式", |
|||
primaryKey: false, |
|||
field: "interworking_form", |
|||
autoIncrement: false |
|||
}, |
|||
interworkingAndCrossoverMode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "互通交叉方式", |
|||
primaryKey: false, |
|||
field: "interworking_and_crossover_mode", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeClassification: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁分类", |
|||
primaryKey: false, |
|||
field: "bridge_classification", |
|||
autoIncrement: false |
|||
}, |
|||
totalLengthOfBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁全长", |
|||
primaryKey: false, |
|||
field: "total_length_of_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
totalSpanLength: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径总长", |
|||
primaryKey: false, |
|||
field: "total_span_length", |
|||
autoIncrement: false |
|||
}, |
|||
mainSpanOfMainBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "主桥主跨", |
|||
primaryKey: false, |
|||
field: "main_span_of_main_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
numberOfMainBridgeHoles: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "主桥孔数", |
|||
primaryKey: false, |
|||
field: "number_of_main_bridge_holes", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合", |
|||
primaryKey: false, |
|||
field: "span_combination", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeProperties: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁性质", |
|||
primaryKey: false, |
|||
field: "bridge_properties", |
|||
autoIncrement: false |
|||
}, |
|||
designLoadClass: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "设计荷载等级", |
|||
primaryKey: false, |
|||
field: "design_load_class", |
|||
autoIncrement: false |
|||
}, |
|||
superstructure: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上部结构", |
|||
primaryKey: false, |
|||
field: "superstructure", |
|||
autoIncrement: false |
|||
}, |
|||
superstructureMaterials: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上部结构材料", |
|||
primaryKey: false, |
|||
field: "superstructure_materials", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeDeckPavementType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥面铺装类型", |
|||
primaryKey: false, |
|||
field: "bridge_deck_pavement_type", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeDeckWidth: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥面宽", |
|||
primaryKey: false, |
|||
field: "bridge_deck_width", |
|||
autoIncrement: false |
|||
}, |
|||
clearWidthOfBridgeDeck: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥面净宽", |
|||
primaryKey: false, |
|||
field: "clear_width_of_bridge_deck", |
|||
autoIncrement: false |
|||
}, |
|||
clearanceUnderBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥下净空", |
|||
primaryKey: false, |
|||
field: "clearance_under_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
seismicGrade: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "抗震等级", |
|||
primaryKey: false, |
|||
field: "seismic_grade", |
|||
autoIncrement: false |
|||
}, |
|||
navigationClass: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "通航等级", |
|||
primaryKey: false, |
|||
field: "navigation_class", |
|||
autoIncrement: false |
|||
}, |
|||
abutmentType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥台类型", |
|||
primaryKey: false, |
|||
field: "abutment_type", |
|||
autoIncrement: false |
|||
}, |
|||
pierType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥墩类型", |
|||
primaryKey: false, |
|||
field: "pier_type", |
|||
autoIncrement: false |
|||
}, |
|||
typesOfPierAndAbutmentAntiCollisionFacilities: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "墩台防撞设施类型", |
|||
primaryKey: false, |
|||
field: "types_of_pier_and_abutment_anti_collision_facilities", |
|||
autoIncrement: false |
|||
}, |
|||
expansionJointType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "伸缩缝类型", |
|||
primaryKey: false, |
|||
field: "expansion_joint_type", |
|||
autoIncrement: false |
|||
}, |
|||
supportType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "支座类型", |
|||
primaryKey: false, |
|||
field: "support_type", |
|||
autoIncrement: false |
|||
}, |
|||
characteristicsOfCurvedSlope: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "弯坡斜特征", |
|||
primaryKey: false, |
|||
field: "characteristics_of_curved_slope", |
|||
autoIncrement: false |
|||
}, |
|||
bridgeHeight: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桥梁高度", |
|||
primaryKey: false, |
|||
field: "bridge_height", |
|||
autoIncrement: false |
|||
}, |
|||
sidewalkWidth: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "人行道宽度", |
|||
primaryKey: false, |
|||
field: "sidewalk_width", |
|||
autoIncrement: false |
|||
}, |
|||
constructionUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "建设单位", |
|||
primaryKey: false, |
|||
field: "construction_unit", |
|||
autoIncrement: false |
|||
}, |
|||
completionTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "建成时间", |
|||
primaryKey: false, |
|||
field: "completion_time", |
|||
autoIncrement: false |
|||
}, |
|||
openingDate: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "通车日期", |
|||
primaryKey: false, |
|||
field: "opening_date", |
|||
autoIncrement: false |
|||
}, |
|||
reconstructionTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "改建时间", |
|||
primaryKey: false, |
|||
field: "reconstruction_time", |
|||
autoIncrement: false |
|||
}, |
|||
totalCost: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "总造价", |
|||
primaryKey: false, |
|||
field: "total_cost", |
|||
autoIncrement: false |
|||
}, |
|||
nameOfDesignUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "设计单位名称", |
|||
primaryKey: false, |
|||
field: "name_of_design_unit", |
|||
autoIncrement: false |
|||
}, |
|||
nameOfConstructionUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "施工单位名称", |
|||
primaryKey: false, |
|||
field: "name_of_construction_unit", |
|||
autoIncrement: false |
|||
}, |
|||
nameOfSupervisionUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "监理单位名称", |
|||
primaryKey: false, |
|||
field: "name_of_supervision_unit", |
|||
autoIncrement: false |
|||
}, |
|||
natureOfConstruction: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "建设性质", |
|||
primaryKey: false, |
|||
field: "nature_of_construction", |
|||
autoIncrement: false |
|||
}, |
|||
evaluationDate: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "评定日期", |
|||
primaryKey: false, |
|||
field: "evaluation_date", |
|||
autoIncrement: false |
|||
}, |
|||
technicalConditionEvaluation: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "技术状况评定", |
|||
primaryKey: false, |
|||
field: "technical_condition_evaluation", |
|||
autoIncrement: false |
|||
}, |
|||
assessmentUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "评定单位", |
|||
primaryKey: false, |
|||
field: "assessment_unit", |
|||
autoIncrement: false |
|||
}, |
|||
locationOfMajorDiseases: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "主要病害位置", |
|||
primaryKey: false, |
|||
field: "location_of_major_diseases", |
|||
autoIncrement: false |
|||
}, |
|||
diseaseDescription: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "病害描述", |
|||
primaryKey: false, |
|||
field: "disease_description", |
|||
autoIncrement: false |
|||
}, |
|||
takeControlMeasures: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "采取管制措施", |
|||
primaryKey: false, |
|||
field: "take_control_measures", |
|||
autoIncrement: false |
|||
}, |
|||
dateOfLastPeriodicInspection: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "最近定期检查日期", |
|||
primaryKey: false, |
|||
field: "date_of_last_periodic_inspection", |
|||
autoIncrement: false |
|||
}, |
|||
natureOfManagementAndMaintenanceUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "管养单位性质", |
|||
primaryKey: false, |
|||
field: "nature_of_management_and_maintenance_unit", |
|||
autoIncrement: false |
|||
}, |
|||
managementAndMaintenanceUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "管养单位", |
|||
primaryKey: false, |
|||
field: "management_and_maintenance_unit", |
|||
autoIncrement: false |
|||
}, |
|||
supervisionUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "监管单位", |
|||
primaryKey: false, |
|||
field: "supervision_unit", |
|||
autoIncrement: false |
|||
}, |
|||
reconstructionConstructionUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "改造施工单位", |
|||
primaryKey: false, |
|||
field: "reconstruction_construction_unit", |
|||
autoIncrement: false |
|||
}, |
|||
whetherItIsASubsidyProjectOfTheMinistry: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否部补助项目", |
|||
primaryKey: false, |
|||
field: "whether_it_is_a_subsidy_project_of_the_ministry", |
|||
autoIncrement: false |
|||
}, |
|||
engineeringProperties: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "工程性质", |
|||
primaryKey: false, |
|||
field: "engineering_properties_", |
|||
autoIncrement: false |
|||
}, |
|||
reconstructionPart: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "改造部位", |
|||
primaryKey: false, |
|||
field: "reconstruction_part", |
|||
autoIncrement: false |
|||
}, |
|||
modificationCompletionDate: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "改造完工日期", |
|||
primaryKey: false, |
|||
field: "modification_completion_date", |
|||
autoIncrement: false |
|||
}, |
|||
year1: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "年份1", |
|||
primaryKey: false, |
|||
field: "year_1", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination1: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合1", |
|||
primaryKey: false, |
|||
field: "span_combination_1", |
|||
autoIncrement: false |
|||
}, |
|||
investment1: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "投资1", |
|||
primaryKey: false, |
|||
field: "investment_1", |
|||
autoIncrement: false |
|||
}, |
|||
year2: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "年份2", |
|||
primaryKey: false, |
|||
field: "year_2", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination2: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合2", |
|||
primaryKey: false, |
|||
field: "span_combination_2", |
|||
autoIncrement: false |
|||
}, |
|||
investment2: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "投资2", |
|||
primaryKey: false, |
|||
field: "investment_2", |
|||
autoIncrement: false |
|||
}, |
|||
year3: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "年份3", |
|||
primaryKey: false, |
|||
field: "year_3", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination3: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合3", |
|||
primaryKey: false, |
|||
field: "span_combination_3", |
|||
autoIncrement: false |
|||
}, |
|||
investment3: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "投资3", |
|||
primaryKey: false, |
|||
field: "investment_3", |
|||
autoIncrement: false |
|||
}, |
|||
year4: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "年份4", |
|||
primaryKey: false, |
|||
field: "year_4", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination4: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合4", |
|||
primaryKey: false, |
|||
field: "span_combination_4", |
|||
autoIncrement: false |
|||
}, |
|||
investment4: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "投资4", |
|||
primaryKey: false, |
|||
field: "investment_4", |
|||
autoIncrement: false |
|||
}, |
|||
year5: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "年份5", |
|||
primaryKey: false, |
|||
field: "year_5", |
|||
autoIncrement: false |
|||
}, |
|||
spanCombination5: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "跨径组合5", |
|||
primaryKey: false, |
|||
field: "span_combination_5", |
|||
autoIncrement: false |
|||
}, |
|||
investment5: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "投资5", |
|||
primaryKey: false, |
|||
field: "investment_5", |
|||
autoIncrement: false |
|||
}, |
|||
plannedFundCategory: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划资金类别", |
|||
primaryKey: false, |
|||
field: "planned_fund_category", |
|||
autoIncrement: false |
|||
}, |
|||
plannedYear: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划年度", |
|||
primaryKey: false, |
|||
field: "planned_year", |
|||
autoIncrement: false |
|||
}, |
|||
planDocumentNo: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划文号", |
|||
primaryKey: false, |
|||
field: "plan_document_no", |
|||
autoIncrement: false |
|||
}, |
|||
planItemUniqueCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划项目唯一编码", |
|||
primaryKey: false, |
|||
field: "plan_item_unique_code", |
|||
autoIncrement: false |
|||
}, |
|||
plannedProjectType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划项目类型", |
|||
primaryKey: false, |
|||
field: "planned_project_type", |
|||
autoIncrement: false |
|||
}, |
|||
planProjectName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "计划项目名称", |
|||
primaryKey: false, |
|||
field: "plan_project_name", |
|||
autoIncrement: false |
|||
}, |
|||
completionStatus: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "完工情况", |
|||
primaryKey: false, |
|||
field: "completion_status", |
|||
autoIncrement: false |
|||
}, |
|||
yearOfCompletion: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "完工年度", |
|||
primaryKey: false, |
|||
field: "year_of_completion", |
|||
autoIncrement: false |
|||
}, |
|||
reasonForChange: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "变更原因", |
|||
primaryKey: false, |
|||
field: "reason_for_change", |
|||
autoIncrement: false |
|||
}, |
|||
changeTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "变更时间", |
|||
primaryKey: false, |
|||
field: "change_time", |
|||
autoIncrement: false |
|||
}, |
|||
reportingUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "填报单位", |
|||
primaryKey: false, |
|||
field: "reporting_unit", |
|||
autoIncrement: false |
|||
}, |
|||
remarks: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "备注", |
|||
primaryKey: false, |
|||
field: "remarks", |
|||
autoIncrement: false |
|||
}, |
|||
whetherOverpassBridge: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否跨线桥", |
|||
primaryKey: false, |
|||
field: "whether_overpass_bridge", |
|||
autoIncrement: false |
|||
}, |
|||
offLineBridgeOrNot: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否线外桥", |
|||
primaryKey: false, |
|||
field: "off_line_bridge_or_not", |
|||
autoIncrement: false |
|||
}, |
|||
whetherDangerousBridgeReconstruction: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否危桥改造", |
|||
primaryKey: false, |
|||
field: "whether_dangerous_bridge_reconstruction", |
|||
autoIncrement: false |
|||
}, |
|||
districtcounty: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "所在区县", |
|||
primaryKey: false, |
|||
field: "districtcounty", |
|||
autoIncrement: false |
|||
}, |
|||
locationCity: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "所在地市", |
|||
primaryKey: false, |
|||
field: "location_city", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "bridge", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.Bridge = Bridge; |
|||
return Bridge; |
|||
}; |
Binary file not shown.
@ -0,0 +1,99 @@ |
|||
{ |
|||
"桥梁代码": "bridgeCode", |
|||
"桥梁名称": "bridgeName", |
|||
"中心桩号": "centralStation", |
|||
"跨越地物类型": "crossingFigureType", |
|||
"跨越地物名称": "crossingFigureName", |
|||
"收费性质": "natureOfCharges", |
|||
"匝道编码": "rampCode", |
|||
"路段类型": "sectionType", |
|||
"跨越地物类型1": "crossingFigureType1", |
|||
"跨越地物名称1": "crossingFigureName1", |
|||
"原桥梁代码": "originalBridgeCode", |
|||
"是否宽路窄桥": "whetherWideRoadAndNarrowBridge", |
|||
"是否在长大桥梁目录中": "isItInTheDirectoryOfLongAndLongBridges", |
|||
"是否跨省桥梁": "whetherItIsACrossProvincialBridge", |
|||
"互通类型": "interworkingType", |
|||
"互通形式": "interworkingForm", |
|||
"互通交叉方式": "interworkingAndCrossoverMode", |
|||
"桥梁分类": "bridgeClassification", |
|||
"桥梁全长": "totalLengthOfBridge", |
|||
"跨径总长": "totalSpanLength", |
|||
"主桥主跨": "mainSpanOfMainBridge", |
|||
"主桥孔数": "numberOfMainBridgeHoles", |
|||
"跨径组合": "spanCombination", |
|||
"桥梁性质": "bridgeProperties", |
|||
"设计荷载等级": "designLoadClass", |
|||
"上部结构": "superstructure", |
|||
"上部结构材料": "superstructureMaterials", |
|||
"桥面铺装类型": "bridgeDeckPavementType", |
|||
"桥面宽": "bridgeDeckWidth", |
|||
"桥面净宽": "clearWidthOfBridgeDeck", |
|||
"桥下净空": "clearanceUnderBridge", |
|||
"抗震等级": "seismicGrade", |
|||
"通航等级": "navigationClass", |
|||
"桥台类型": "abutmentType", |
|||
"桥墩类型": "pierType", |
|||
"墩台防撞设施类型": "typesOfPierAndAbutmentAntiCollisionFacilities", |
|||
"伸缩缝类型": "expansionJointType", |
|||
"支座类型": "supportType", |
|||
"弯坡斜特征": "characteristicsOfCurvedSlope", |
|||
"桥梁高度": "bridgeHeight", |
|||
"人行道宽度": "sidewalkWidth", |
|||
"建设单位": "constructionUnit", |
|||
"建成时间": "completionTime", |
|||
"通车日期": "openingDate", |
|||
"改建时间": "reconstructionTime", |
|||
"总造价": "totalCost", |
|||
"设计单位名称": "nameOfDesignUnit", |
|||
"施工单位名称": "nameOfConstructionUnit", |
|||
"监理单位名称": "nameOfSupervisionUnit", |
|||
"建设性质": "natureOfConstruction", |
|||
"评定日期": "evaluationDate", |
|||
"技术状况评定": "technicalConditionEvaluation", |
|||
"评定单位": "assessmentUnit", |
|||
"主要病害位置": "locationOfMajorDiseases", |
|||
"病害描述": "diseaseDescription", |
|||
"采取管制措施": "takeControlMeasures", |
|||
"最近定期检查日期": "dateOfLastPeriodicInspection", |
|||
"管养单位性质": "natureOfManagementAndMaintenanceUnit", |
|||
"管养单位": "managementAndMaintenanceUnit", |
|||
"监管单位": "supervisionUnit", |
|||
"改造施工单位": "reconstructionConstructionUnit", |
|||
"是否部补助项目": "whetherItIsASubsidyProjectOfTheMinistry", |
|||
"工程性质": "engineeringProperties", |
|||
"改造部位": "reconstructionPart", |
|||
"改造完工日期": "modificationCompletionDate", |
|||
"年份1": "year1", |
|||
"跨径组合1": "spanCombination1", |
|||
"投资1": "investment1", |
|||
"年份2": "year2", |
|||
"跨径组合2": "spanCombination2", |
|||
"投资2": "investment2", |
|||
"年份3": "year3", |
|||
"跨径组合3": "spanCombination3", |
|||
"投资3": "investment3", |
|||
"年份4": "year4", |
|||
"跨径组合4": "spanCombination4", |
|||
"投资4": "investment4", |
|||
"年份5": "year5", |
|||
"跨径组合5": "spanCombination5", |
|||
"投资5": "investment5", |
|||
"计划资金类别": "plannedFundCategory", |
|||
"计划年度": "plannedYear", |
|||
"计划文号": "planDocumentNo", |
|||
"计划项目唯一编码": "planItemUniqueCode", |
|||
"计划项目类型": "plannedProjectType", |
|||
"计划项目名称": "planProjectName", |
|||
"完工情况": "completionStatus", |
|||
"完工年度": "yearOfCompletion", |
|||
"变更原因": "reasonForChange", |
|||
"变更时间": "changeTime", |
|||
"填报单位": "reportingUnit", |
|||
"备注": "remarks", |
|||
"是否跨线桥": "whetherOverpassBridge", |
|||
"是否线外桥": "offLineBridgeOrNot", |
|||
"是否危桥改造": "whetherDangerousBridgeReconstruction", |
|||
"所在区县": "districtcounty", |
|||
"所在地市": "locationCity" |
|||
} |
@ -0,0 +1,390 @@ |
|||
{ |
|||
"bridgeCode": { |
|||
"type": "string", |
|||
"description": "桥梁代码" |
|||
}, |
|||
"bridgeName": { |
|||
"type": "string", |
|||
"description": "桥梁名称" |
|||
}, |
|||
"centralStation": { |
|||
"type": "string", |
|||
"description": "中心桩号" |
|||
}, |
|||
"crossingFigureType": { |
|||
"type": "string", |
|||
"description": "跨越地物类型" |
|||
}, |
|||
"crossingFigureName": { |
|||
"type": "string", |
|||
"description": "跨越地物名称" |
|||
}, |
|||
"natureOfCharges": { |
|||
"type": "string", |
|||
"description": "收费性质" |
|||
}, |
|||
"rampCode": { |
|||
"type": "string", |
|||
"description": "匝道编码" |
|||
}, |
|||
"sectionType": { |
|||
"type": "string", |
|||
"description": "路段类型" |
|||
}, |
|||
"crossingFigureType1": { |
|||
"type": "string", |
|||
"description": "跨越地物类型1" |
|||
}, |
|||
"crossingFigureName1": { |
|||
"type": "string", |
|||
"description": "跨越地物名称1" |
|||
}, |
|||
"originalBridgeCode": { |
|||
"type": "string", |
|||
"description": "原桥梁代码" |
|||
}, |
|||
"whetherWideRoadAndNarrowBridge": { |
|||
"type": "string", |
|||
"description": "是否宽路窄桥" |
|||
}, |
|||
"isItInTheDirectoryOfLongAndLongBridges": { |
|||
"type": "string", |
|||
"description": "是否在长大桥梁目录中" |
|||
}, |
|||
"whetherItIsACrossProvincialBridge": { |
|||
"type": "string", |
|||
"description": "是否跨省桥梁" |
|||
}, |
|||
"interworkingType": { |
|||
"type": "string", |
|||
"description": "互通类型" |
|||
}, |
|||
"interworkingForm": { |
|||
"type": "string", |
|||
"description": "互通形式" |
|||
}, |
|||
"interworkingAndCrossoverMode": { |
|||
"type": "string", |
|||
"description": "互通交叉方式" |
|||
}, |
|||
"bridgeClassification": { |
|||
"type": "string", |
|||
"description": "桥梁分类" |
|||
}, |
|||
"totalLengthOfBridge": { |
|||
"type": "string", |
|||
"description": "桥梁全长" |
|||
}, |
|||
"totalSpanLength": { |
|||
"type": "string", |
|||
"description": "跨径总长" |
|||
}, |
|||
"mainSpanOfMainBridge": { |
|||
"type": "string", |
|||
"description": "主桥主跨" |
|||
}, |
|||
"numberOfMainBridgeHoles": { |
|||
"type": "string", |
|||
"description": "主桥孔数" |
|||
}, |
|||
"spanCombination": { |
|||
"type": "string", |
|||
"description": "跨径组合" |
|||
}, |
|||
"bridgeProperties": { |
|||
"type": "string", |
|||
"description": "桥梁性质" |
|||
}, |
|||
"designLoadClass": { |
|||
"type": "string", |
|||
"description": "设计荷载等级" |
|||
}, |
|||
"superstructure": { |
|||
"type": "string", |
|||
"description": "上部结构" |
|||
}, |
|||
"superstructureMaterials": { |
|||
"type": "string", |
|||
"description": "上部结构材料" |
|||
}, |
|||
"bridgeDeckPavementType": { |
|||
"type": "string", |
|||
"description": "桥面铺装类型" |
|||
}, |
|||
"bridgeDeckWidth": { |
|||
"type": "string", |
|||
"description": "桥面宽" |
|||
}, |
|||
"clearWidthOfBridgeDeck": { |
|||
"type": "string", |
|||
"description": "桥面净宽" |
|||
}, |
|||
"clearanceUnderBridge": { |
|||
"type": "string", |
|||
"description": "桥下净空" |
|||
}, |
|||
"seismicGrade": { |
|||
"type": "string", |
|||
"description": "抗震等级" |
|||
}, |
|||
"navigationClass": { |
|||
"type": "string", |
|||
"description": "通航等级" |
|||
}, |
|||
"abutmentType": { |
|||
"type": "string", |
|||
"description": "桥台类型" |
|||
}, |
|||
"pierType": { |
|||
"type": "string", |
|||
"description": "桥墩类型" |
|||
}, |
|||
"typesOfPierAndAbutmentAntiCollisionFacilities": { |
|||
"type": "string", |
|||
"description": "墩台防撞设施类型" |
|||
}, |
|||
"expansionJointType": { |
|||
"type": "string", |
|||
"description": "伸缩缝类型" |
|||
}, |
|||
"supportType": { |
|||
"type": "string", |
|||
"description": "支座类型" |
|||
}, |
|||
"characteristicsOfCurvedSlope": { |
|||
"type": "string", |
|||
"description": "弯坡斜特征" |
|||
}, |
|||
"bridgeHeight": { |
|||
"type": "string", |
|||
"description": "桥梁高度" |
|||
}, |
|||
"sidewalkWidth": { |
|||
"type": "string", |
|||
"description": "人行道宽度" |
|||
}, |
|||
"constructionUnit": { |
|||
"type": "string", |
|||
"description": "建设单位" |
|||
}, |
|||
"completionTime": { |
|||
"type": "string", |
|||
"description": "建成时间" |
|||
}, |
|||
"openingDate": { |
|||
"type": "string", |
|||
"description": "通车日期" |
|||
}, |
|||
"reconstructionTime": { |
|||
"type": "string", |
|||
"description": "改建时间" |
|||
}, |
|||
"totalCost": { |
|||
"type": "string", |
|||
"description": "总造价" |
|||
}, |
|||
"nameOfDesignUnit": { |
|||
"type": "string", |
|||
"description": "设计单位名称" |
|||
}, |
|||
"nameOfConstructionUnit": { |
|||
"type": "string", |
|||
"description": "施工单位名称" |
|||
}, |
|||
"nameOfSupervisionUnit": { |
|||
"type": "string", |
|||
"description": "监理单位名称" |
|||
}, |
|||
"natureOfConstruction": { |
|||
"type": "string", |
|||
"description": "建设性质" |
|||
}, |
|||
"evaluationDate": { |
|||
"type": "string", |
|||
"description": "评定日期" |
|||
}, |
|||
"technicalConditionEvaluation": { |
|||
"type": "string", |
|||
"description": "技术状况评定" |
|||
}, |
|||
"assessmentUnit": { |
|||
"type": "string", |
|||
"description": "评定单位" |
|||
}, |
|||
"locationOfMajorDiseases": { |
|||
"type": "string", |
|||
"description": "主要病害位置" |
|||
}, |
|||
"diseaseDescription": { |
|||
"type": "string", |
|||
"description": "病害描述" |
|||
}, |
|||
"takeControlMeasures": { |
|||
"type": "string", |
|||
"description": "采取管制措施" |
|||
}, |
|||
"dateOfLastPeriodicInspection": { |
|||
"type": "string", |
|||
"description": "最近定期检查日期" |
|||
}, |
|||
"natureOfManagementAndMaintenanceUnit": { |
|||
"type": "string", |
|||
"description": "管养单位性质" |
|||
}, |
|||
"managementAndMaintenanceUnit": { |
|||
"type": "string", |
|||
"description": "管养单位" |
|||
}, |
|||
"supervisionUnit": { |
|||
"type": "string", |
|||
"description": "监管单位" |
|||
}, |
|||
"reconstructionConstructionUnit": { |
|||
"type": "string", |
|||
"description": "改造施工单位" |
|||
}, |
|||
"whetherItIsASubsidyProjectOfTheMinistry": { |
|||
"type": "string", |
|||
"description": "是否部补助项目" |
|||
}, |
|||
"engineeringProperties": { |
|||
"type": "string", |
|||
"description": "工程性质" |
|||
}, |
|||
"reconstructionPart": { |
|||
"type": "string", |
|||
"description": "改造部位" |
|||
}, |
|||
"modificationCompletionDate": { |
|||
"type": "string", |
|||
"description": "改造完工日期" |
|||
}, |
|||
"year1": { |
|||
"type": "string", |
|||
"description": "年份1" |
|||
}, |
|||
"spanCombination1": { |
|||
"type": "string", |
|||
"description": "跨径组合1" |
|||
}, |
|||
"investment1": { |
|||
"type": "string", |
|||
"description": "投资1" |
|||
}, |
|||
"year2": { |
|||
"type": "string", |
|||
"description": "年份2" |
|||
}, |
|||
"spanCombination2": { |
|||
"type": "string", |
|||
"description": "跨径组合2" |
|||
}, |
|||
"investment2": { |
|||
"type": "string", |
|||
"description": "投资2" |
|||
}, |
|||
"year3": { |
|||
"type": "string", |
|||
"description": "年份3" |
|||
}, |
|||
"spanCombination3": { |
|||
"type": "string", |
|||
"description": "跨径组合3" |
|||
}, |
|||
"investment3": { |
|||
"type": "string", |
|||
"description": "投资3" |
|||
}, |
|||
"year4": { |
|||
"type": "string", |
|||
"description": "年份4" |
|||
}, |
|||
"spanCombination4": { |
|||
"type": "string", |
|||
"description": "跨径组合4" |
|||
}, |
|||
"investment4": { |
|||
"type": "string", |
|||
"description": "投资4" |
|||
}, |
|||
"year5": { |
|||
"type": "string", |
|||
"description": "年份5" |
|||
}, |
|||
"spanCombination5": { |
|||
"type": "string", |
|||
"description": "跨径组合5" |
|||
}, |
|||
"investment5": { |
|||
"type": "string", |
|||
"description": "投资5" |
|||
}, |
|||
"plannedFundCategory": { |
|||
"type": "string", |
|||
"description": "计划资金类别" |
|||
}, |
|||
"plannedYear": { |
|||
"type": "string", |
|||
"description": "计划年度" |
|||
}, |
|||
"planDocumentNo": { |
|||
"type": "string", |
|||
"description": "计划文号" |
|||
}, |
|||
"planItemUniqueCode": { |
|||
"type": "string", |
|||
"description": "计划项目唯一编码" |
|||
}, |
|||
"plannedProjectType": { |
|||
"type": "string", |
|||
"description": "计划项目类型" |
|||
}, |
|||
"planProjectName": { |
|||
"type": "string", |
|||
"description": "计划项目名称" |
|||
}, |
|||
"completionStatus": { |
|||
"type": "string", |
|||
"description": "完工情况" |
|||
}, |
|||
"yearOfCompletion": { |
|||
"type": "string", |
|||
"description": "完工年度" |
|||
}, |
|||
"reasonForChange": { |
|||
"type": "string", |
|||
"description": "变更原因" |
|||
}, |
|||
"changeTime": { |
|||
"type": "string", |
|||
"description": "变更时间" |
|||
}, |
|||
"reportingUnit": { |
|||
"type": "string", |
|||
"description": "填报单位" |
|||
}, |
|||
"remarks": { |
|||
"type": "string", |
|||
"description": "备注" |
|||
}, |
|||
"whetherOverpassBridge": { |
|||
"type": "string", |
|||
"description": "是否跨线桥" |
|||
}, |
|||
"offLineBridgeOrNot": { |
|||
"type": "string", |
|||
"description": "是否线外桥" |
|||
}, |
|||
"whetherDangerousBridgeReconstruction": { |
|||
"type": "string", |
|||
"description": "是否危桥改造" |
|||
}, |
|||
"districtcounty": { |
|||
"type": "string", |
|||
"description": "所在区县" |
|||
}, |
|||
"locationCity": { |
|||
"type": "string", |
|||
"description": "所在地市" |
|||
} |
|||
} |
@ -0,0 +1,99 @@ |
|||
{ |
|||
"桥梁代码": "bridge_code", |
|||
"桥梁名称": "bridge_name", |
|||
"中心桩号": "central_station", |
|||
"跨越地物类型": "crossing_figure_type", |
|||
"跨越地物名称": "crossing_figure_name", |
|||
"收费性质": "nature_of_charges", |
|||
"匝道编码": "ramp_code", |
|||
"路段类型": "section_type", |
|||
"跨越地物类型1": "crossing_figure_type_1", |
|||
"跨越地物名称1": "crossing_figure_name_1", |
|||
"原桥梁代码": "original_bridge_code", |
|||
"是否宽路窄桥": "whether_wide_road_and_narrow_bridge", |
|||
"是否在长大桥梁目录中": "is_it_in_the_directory_of_long_and_long_bridges", |
|||
"是否跨省桥梁": "whether_it_is_a_cross_provincial_Bridge", |
|||
"互通类型": "interworking_type", |
|||
"互通形式": "interworking_form", |
|||
"互通交叉方式": "interworking_and_crossover_mode", |
|||
"桥梁分类": "bridge_classification", |
|||
"桥梁全长": "total_length_of_bridge", |
|||
"跨径总长": "total_span_length", |
|||
"主桥主跨": "main_span_of_main_bridge", |
|||
"主桥孔数": "number_of_main_bridge_holes", |
|||
"跨径组合": "span_combination", |
|||
"桥梁性质": "bridge_properties", |
|||
"设计荷载等级": "design_load_class", |
|||
"上部结构": "superstructure", |
|||
"上部结构材料": "superstructure_materials", |
|||
"桥面铺装类型": "bridge_deck_pavement_type", |
|||
"桥面宽": "bridge_deck_width", |
|||
"桥面净宽": "clear_width_of_bridge_deck", |
|||
"桥下净空": "clearance_under_bridge", |
|||
"抗震等级": "seismic_grade", |
|||
"通航等级": "navigation_class", |
|||
"桥台类型": "abutment_type", |
|||
"桥墩类型": "pier_type", |
|||
"墩台防撞设施类型": "types_of_pier_and_abutment_anti_collision_facilities", |
|||
"伸缩缝类型": "expansion_joint_type", |
|||
"支座类型": "support_type", |
|||
"弯坡斜特征": "characteristics_of_curved_slope", |
|||
"桥梁高度": "bridge_height", |
|||
"人行道宽度": "sidewalk_width", |
|||
"建设单位": "construction_unit", |
|||
"建成时间": "completion_time", |
|||
"通车日期": "opening_date", |
|||
"改建时间": "reconstruction_time", |
|||
"总造价": "total_cost", |
|||
"设计单位名称": "name_of_design_unit", |
|||
"施工单位名称": "name_of_construction_unit", |
|||
"监理单位名称": "name_of_supervision_unit", |
|||
"建设性质": "nature_of_construction", |
|||
"评定日期": "evaluation_date", |
|||
"技术状况评定": "technical_condition_evaluation", |
|||
"评定单位": "assessment_unit", |
|||
"主要病害位置": "location_of_major_diseases", |
|||
"病害描述": "disease_description", |
|||
"采取管制措施": "take_control_measures", |
|||
"最近定期检查日期": "date_of_last_periodic_inspection", |
|||
"管养单位性质": "nature_of_management_and_maintenance_unit", |
|||
"管养单位": "management_and_maintenance_unit", |
|||
"监管单位": "supervision_unit", |
|||
"改造施工单位": "reconstruction_construction_unit", |
|||
"是否部补助项目": "whether_it_is_a_subsidy_project_of_the_Ministry", |
|||
"工程性质": "engineering_properties", |
|||
"改造部位": "reconstruction_part", |
|||
"改造完工日期": "modification_completion_date", |
|||
"年份1": "year_1", |
|||
"跨径组合1": "span_combination_1", |
|||
"投资1": "investment_1", |
|||
"年份2": "year_2", |
|||
"跨径组合2": "span_combination_2", |
|||
"投资2": "investment_2", |
|||
"年份3": "year_3", |
|||
"跨径组合3": "span_combination_3", |
|||
"投资3": "investment_3", |
|||
"年份4": "year_4", |
|||
"跨径组合4": "span_combination_4", |
|||
"投资4": "investment_4", |
|||
"年份5": "year_5", |
|||
"跨径组合5": "span_combination_5", |
|||
"投资5": "investment_5", |
|||
"计划资金类别": "planned_fund_category", |
|||
"计划年度": "planned_year", |
|||
"计划文号": "plan_document_No", |
|||
"计划项目唯一编码": "plan_item_unique_code", |
|||
"计划项目类型": "planned_project_type", |
|||
"计划项目名称": "plan_project_name", |
|||
"完工情况": "completion_status", |
|||
"完工年度": "year_of_completion", |
|||
"变更原因": "reason_for_change", |
|||
"变更时间": "change_time", |
|||
"填报单位": "reporting_unit", |
|||
"备注": "remarks", |
|||
"是否跨线桥": "whether_overpass_bridge", |
|||
"是否线外桥": "off_line_bridge_or_not", |
|||
"是否危桥改造": "whether_dangerous_bridge_reconstruction", |
|||
"所在区县": "districtcounty", |
|||
"所在地市": "location_city" |
|||
} |
@ -0,0 +1,103 @@ |
|||
-- 桥梁 |
|||
|
|||
CREATE TABLE if not exists "bridge" ( id serial not null ); |
|||
|
|||
CREATE unique index if not exists bridge_id_uindex |
|||
ON bridge (id); alter TABLE bridge add constraint bridge_pk primary key (id); alter TABLE bridge add Bridge_Code varchar(1024); comment |
|||
ON column bridge.Bridge_Code is '桥梁代码'; alter TABLE bridge add Bridge_Name varchar(1024); comment |
|||
ON column bridge.Bridge_Name is '桥梁名称'; alter TABLE bridge add Central_Station varchar(1024); comment |
|||
ON column bridge.Central_Station is '中心桩号'; alter TABLE bridge add Crossing_Figure_Type varchar(1024); comment |
|||
ON column bridge.Crossing_Figure_Type is '跨越地物类型'; alter TABLE bridge add Crossing_Figure_Name varchar(1024); comment |
|||
ON column bridge.Crossing_Figure_Name is '跨越地物名称'; alter TABLE bridge add Nature_Of_Charges varchar(1024); comment |
|||
ON column bridge.Nature_Of_Charges is '收费性质'; alter TABLE bridge add Ramp_Code varchar(1024); comment |
|||
ON column bridge.Ramp_Code is '匝道编码'; alter TABLE bridge add Section_Type varchar(1024); comment |
|||
ON column bridge.Section_Type is '路段类型'; alter TABLE bridge add Crossing_Figure_Type_1 varchar(1024); comment |
|||
ON column bridge.Crossing_Figure_Type_1 is '跨越地物类型1'; alter TABLE bridge add Crossing_Figure_Name_1 varchar(1024); comment |
|||
ON column bridge.Crossing_Figure_Name_1 is '跨越地物名称1'; alter TABLE bridge add Original_Bridge_Code varchar(1024); comment |
|||
ON column bridge.Original_Bridge_Code is '原桥梁代码'; alter TABLE bridge add Whether_Wide_Road_And_Narrow_Bridge varchar(1024); comment |
|||
ON column bridge.Whether_Wide_Road_And_Narrow_Bridge is '是否宽路窄桥'; alter TABLE bridge add Is_It_In_The_Directory_Of_Long_And_Long_Bridges varchar(1024); comment |
|||
ON column bridge.Is_It_In_The_Directory_Of_Long_And_Long_Bridges is '是否在长大桥梁目录中'; alter TABLE bridge add Whether_It_Is_A_Cross_Provincial_Bridge varchar(1024); comment |
|||
ON column bridge.Whether_It_Is_A_Cross_Provincial_Bridge is '是否跨省桥梁'; alter TABLE bridge add Interworking_Type varchar(1024); comment |
|||
ON column bridge.Interworking_Type is '互通类型'; alter TABLE bridge add Interworking_Form varchar(1024); comment |
|||
ON column bridge.Interworking_Form is '互通形式'; alter TABLE bridge add Interworking_And_Crossover_Mode varchar(1024); comment |
|||
ON column bridge.Interworking_And_Crossover_Mode is '互通交叉方式'; alter TABLE bridge add Bridge_Classification varchar(1024); comment |
|||
ON column bridge.Bridge_Classification is '桥梁分类'; alter TABLE bridge add Total_Length_Of_Bridge varchar(1024); comment |
|||
ON column bridge.Total_Length_Of_Bridge is '桥梁全长'; alter TABLE bridge add Total_Span_Length varchar(1024); comment |
|||
ON column bridge.Total_Span_Length is '跨径总长'; alter TABLE bridge add Main_Span_Of_Main_Bridge varchar(1024); comment |
|||
ON column bridge.Main_Span_Of_Main_Bridge is '主桥主跨'; alter TABLE bridge add Number_Of_Main_Bridge_Holes varchar(1024); comment |
|||
ON column bridge.Number_Of_Main_Bridge_Holes is '主桥孔数'; alter TABLE bridge add Span_Combination varchar(1024); comment |
|||
ON column bridge.Span_Combination is '跨径组合'; alter TABLE bridge add Bridge_Properties varchar(1024); comment |
|||
ON column bridge.Bridge_Properties is '桥梁性质'; alter TABLE bridge add Design_Load_Class varchar(1024); comment |
|||
ON column bridge.Design_Load_Class is '设计荷载等级'; alter TABLE bridge add Superstructure varchar(1024); comment |
|||
ON column bridge.Superstructure is '上部结构'; alter TABLE bridge add Superstructure_Materials varchar(1024); comment |
|||
ON column bridge.Superstructure_Materials is '上部结构材料'; alter TABLE bridge add Bridge_Deck_Pavement_Type varchar(1024); comment |
|||
ON column bridge.Bridge_Deck_Pavement_Type is '桥面铺装类型'; alter TABLE bridge add Bridge_Deck_Width varchar(1024); comment |
|||
ON column bridge.Bridge_Deck_Width is '桥面宽'; alter TABLE bridge add Clear_Width_Of_Bridge_Deck varchar(1024); comment |
|||
ON column bridge.Clear_Width_Of_Bridge_Deck is '桥面净宽'; alter TABLE bridge add Clearance_Under_Bridge varchar(1024); comment |
|||
ON column bridge.Clearance_Under_Bridge is '桥下净空'; alter TABLE bridge add Seismic_Grade varchar(1024); comment |
|||
ON column bridge.Seismic_Grade is '抗震等级'; alter TABLE bridge add Navigation_Class varchar(1024); comment |
|||
ON column bridge.Navigation_Class is '通航等级'; alter TABLE bridge add Abutment_Type varchar(1024); comment |
|||
ON column bridge.Abutment_Type is '桥台类型'; alter TABLE bridge add Pier_Type varchar(1024); comment |
|||
ON column bridge.Pier_Type is '桥墩类型'; alter TABLE bridge add Types_Of_Pier_And_Abutment_Anti_Collision_Facilities varchar(1024); comment |
|||
ON column bridge.Types_Of_Pier_And_Abutment_Anti_Collision_Facilities is '墩台防撞设施类型'; alter TABLE bridge add Expansion_Joint_Type varchar(1024); comment |
|||
ON column bridge.Expansion_Joint_Type is '伸缩缝类型'; alter TABLE bridge add Support_Type varchar(1024); comment |
|||
ON column bridge.Support_Type is '支座类型'; alter TABLE bridge add Characteristics_Of_Curved_Slope varchar(1024); comment |
|||
ON column bridge.Characteristics_Of_Curved_Slope is '弯坡斜特征'; alter TABLE bridge add Bridge_Height varchar(1024); comment |
|||
ON column bridge.Bridge_Height is '桥梁高度'; alter TABLE bridge add Sidewalk_Width varchar(1024); comment |
|||
ON column bridge.Sidewalk_Width is '人行道宽度'; alter TABLE bridge add Construction_Unit varchar(1024); comment |
|||
ON column bridge.Construction_Unit is '建设单位'; alter TABLE bridge add Completion_Time varchar(1024); comment |
|||
ON column bridge.Completion_Time is '建成时间'; alter TABLE bridge add Opening_Date varchar(1024); comment |
|||
ON column bridge.Opening_Date is '通车日期'; alter TABLE bridge add Reconstruction_Time varchar(1024); comment |
|||
ON column bridge.Reconstruction_Time is '改建时间'; alter TABLE bridge add Total_Cost varchar(1024); comment |
|||
ON column bridge.Total_Cost is '总造价'; alter TABLE bridge add Name_Of_Design_Unit varchar(1024); comment |
|||
ON column bridge.Name_Of_Design_Unit is '设计单位名称'; alter TABLE bridge add Name_Of_Construction_Unit varchar(1024); comment |
|||
ON column bridge.Name_Of_Construction_Unit is '施工单位名称'; alter TABLE bridge add Name_Of_Supervision_Unit varchar(1024); comment |
|||
ON column bridge.Name_Of_Supervision_Unit is '监理单位名称'; alter TABLE bridge add Nature_Of_Construction varchar(1024); comment |
|||
ON column bridge.Nature_Of_Construction is '建设性质'; alter TABLE bridge add Evaluation_Date varchar(1024); comment |
|||
ON column bridge.Evaluation_Date is '评定日期'; alter TABLE bridge add Technical_Condition_Evaluation varchar(1024); comment |
|||
ON column bridge.Technical_Condition_Evaluation is '技术状况评定'; alter TABLE bridge add Assessment_Unit varchar(1024); comment |
|||
ON column bridge.Assessment_Unit is '评定单位'; alter TABLE bridge add Location_Of_Major_Diseases varchar(1024); comment |
|||
ON column bridge.Location_Of_Major_Diseases is '主要病害位置'; alter TABLE bridge add Disease_Description varchar(1024); comment |
|||
ON column bridge.Disease_Description is '病害描述'; alter TABLE bridge add Take_Control_Measures varchar(1024); comment |
|||
ON column bridge.Take_Control_Measures is '采取管制措施'; alter TABLE bridge add Date_Of_Last_Periodic_Inspection varchar(1024); comment |
|||
ON column bridge.Date_Of_Last_Periodic_Inspection is '最近定期检查日期'; alter TABLE bridge add Nature_Of_Management_And_Maintenance_Unit varchar(1024); comment |
|||
ON column bridge.Nature_Of_Management_And_Maintenance_Unit is '管养单位性质'; alter TABLE bridge add Management_And_Maintenance_Unit varchar(1024); comment |
|||
ON column bridge.Management_And_Maintenance_Unit is '管养单位'; alter TABLE bridge add Supervision_Unit varchar(1024); comment |
|||
ON column bridge.Supervision_Unit is '监管单位'; alter TABLE bridge add Reconstruction_Construction_Unit varchar(1024); comment |
|||
ON column bridge.Reconstruction_Construction_Unit is '改造施工单位'; alter TABLE bridge add Whether_It_Is_A_Subsidy_Project_Of_The_Ministry varchar(1024); comment |
|||
ON column bridge.Whether_It_Is_A_Subsidy_Project_Of_The_Ministry is '是否部补助项目'; alter TABLE bridge add Engineering_Properties_ varchar(1024); comment |
|||
ON column bridge.Engineering_Properties_ is '工程性质'; alter TABLE bridge add Reconstruction_Part varchar(1024); comment |
|||
ON column bridge.Reconstruction_Part is '改造部位'; alter TABLE bridge add Modification_Completion_Date varchar(1024); comment |
|||
ON column bridge.Modification_Completion_Date is '改造完工日期'; alter TABLE bridge add Year_1 varchar(1024); comment |
|||
ON column bridge.Year_1 is '年份1'; alter TABLE bridge add Span_Combination_1 varchar(1024); comment |
|||
ON column bridge.Span_Combination_1 is '跨径组合1'; alter TABLE bridge add Investment_1 varchar(1024); comment |
|||
ON column bridge.Investment_1 is '投资1'; alter TABLE bridge add Year_2 varchar(1024); comment |
|||
ON column bridge.Year_2 is '年份2'; alter TABLE bridge add Span_Combination_2 varchar(1024); comment |
|||
ON column bridge.Span_Combination_2 is '跨径组合2'; alter TABLE bridge add Investment_2 varchar(1024); comment |
|||
ON column bridge.Investment_2 is '投资2'; alter TABLE bridge add Year_3 varchar(1024); comment |
|||
ON column bridge.Year_3 is '年份3'; alter TABLE bridge add Span_Combination_3 varchar(1024); comment |
|||
ON column bridge.Span_Combination_3 is '跨径组合3'; alter TABLE bridge add Investment_3 varchar(1024); comment |
|||
ON column bridge.Investment_3 is '投资3'; alter TABLE bridge add Year_4 varchar(1024); comment |
|||
ON column bridge.Year_4 is '年份4'; alter TABLE bridge add Span_Combination_4 varchar(1024); comment |
|||
ON column bridge.Span_Combination_4 is '跨径组合4'; alter TABLE bridge add Investment_4 varchar(1024); comment |
|||
ON column bridge.Investment_4 is '投资4'; alter TABLE bridge add Year_5 varchar(1024); comment |
|||
ON column bridge.Year_5 is '年份5'; alter TABLE bridge add Span_Combination_5 varchar(1024); comment |
|||
ON column bridge.Span_Combination_5 is '跨径组合5'; alter TABLE bridge add Investment_5 varchar(1024); comment |
|||
ON column bridge.Investment_5 is '投资5'; alter TABLE bridge add Planned_Fund_Category varchar(1024); comment |
|||
ON column bridge.Planned_Fund_Category is '计划资金类别'; alter TABLE bridge add Planned_Year varchar(1024); comment |
|||
ON column bridge.Planned_Year is '计划年度'; alter TABLE bridge add Plan_Document_No varchar(1024); comment |
|||
ON column bridge.Plan_Document_No is '计划文号'; alter TABLE bridge add Plan_Item_Unique_Code varchar(1024); comment |
|||
ON column bridge.Plan_Item_Unique_Code is '计划项目唯一编码'; alter TABLE bridge add Planned_Project_Type varchar(1024); comment |
|||
ON column bridge.Planned_Project_Type is '计划项目类型'; alter TABLE bridge add Plan_Project_Name varchar(1024); comment |
|||
ON column bridge.Plan_Project_Name is '计划项目名称'; alter TABLE bridge add Completion_Status varchar(1024); comment |
|||
ON column bridge.Completion_Status is '完工情况'; alter TABLE bridge add Year_Of_Completion varchar(1024); comment |
|||
ON column bridge.Year_Of_Completion is '完工年度'; alter TABLE bridge add Reason_For_Change varchar(1024); comment |
|||
ON column bridge.Reason_For_Change is '变更原因'; alter TABLE bridge add Change_Time varchar(1024); comment |
|||
ON column bridge.Change_Time is '变更时间'; alter TABLE bridge add Reporting_Unit varchar(1024); comment |
|||
ON column bridge.Reporting_Unit is '填报单位'; alter TABLE bridge add Remarks varchar(1024); comment |
|||
ON column bridge.Remarks is '备注'; alter TABLE bridge add Whether_Overpass_Bridge varchar(1024); comment |
|||
ON column bridge.Whether_Overpass_Bridge is '是否跨线桥'; alter TABLE bridge add Off_Line_Bridge_Or_Not varchar(1024); comment |
|||
ON column bridge.Off_Line_Bridge_Or_Not is '是否线外桥'; alter TABLE bridge add Whether_Dangerous_Bridge_Reconstruction varchar(1024); comment |
|||
ON column bridge.Whether_Dangerous_Bridge_Reconstruction is '是否危桥改造'; alter TABLE bridge add Districtcounty varchar(1024); comment |
|||
ON column bridge.Districtcounty is '所在区县'; alter TABLE bridge add Location_City varchar(1024); comment |
|||
ON column bridge.Location_City is '所在地市'; |
Loading…
Reference in new issue