auto: 2026-10-26 03:18 (ESD_LAPTOP)
This commit is contained in:
@@ -83,7 +83,8 @@ async def _plan_inputs(
|
||||
stored = await get_project_storage_relative_path(connection, project_id)
|
||||
async with connection.cursor(aiomysql.DictCursor) as cursor:
|
||||
await cursor.execute(
|
||||
"SELECT road_type, design_speed_kph, route_start_m FROM projects WHERE id = %s",
|
||||
"SELECT road_type, design_speed_kph, route_start_m, route_end_m FROM projects"
|
||||
" WHERE id = %s",
|
||||
(str(project_id),),
|
||||
)
|
||||
project = await cursor.fetchone()
|
||||
@@ -256,6 +257,10 @@ async def plan_analysis(project_id: UUID, points: str | None = None) -> dict[str
|
||||
"chain": rows,
|
||||
"line": line,
|
||||
"start_chainage_m": float(project["route_start_m"] or 0.0),
|
||||
# 등록 목표 끝 누가(요구서 3-1) — 화면이 이은 끝 누가와 차이를 보임
|
||||
"end_chainage_target_m": (
|
||||
float(project["route_end_m"]) if project["route_end_m"] is not None else None
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user