Commit 43c28f48 authored by hkl's avatar hkl

feat:1.更新线路管理

parent 3fae48b1
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
t1.end_train_station_id, t1.end_train_station_id,
t1.line_alias_id, t1.line_alias_id,
(SELECT line_alias_name FROM t_sn_line_alias WHERE id = t1.line_alias_id limit 1) line_alias_name, (SELECT line_alias_name FROM t_sn_line_alias WHERE id = t1.line_alias_id limit 1) line_alias_name,
(SELECT count(1) FROM t_sn_section_station_map WHERE section_id = t1.id ) trainStationNum,
t1.section_starting_mileage, t1.section_starting_mileage,
t1.section_end_mileage, t1.section_end_mileage,
t1.section_starting_mileage-t1.section_end_mileage sectionMileage, t1.section_end_mileage -t1.section_starting_mileage sectionMileage,
t1.remark t1.remark
FROM FROM
t_sn_subway_section t1 LEFT JOIN t_sn_light_rail t2 ON t1.light_rail_id = t2.id t_sn_subway_section t1 LEFT JOIN t_sn_light_rail t2 ON t1.light_rail_id = t2.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment