refactor(B04): B04_wf1_Surface -> B04_PreProcess 전면 개명
- 폴더·내부 파일 51개 접두사 개명 (git mv, 이력 보존) - 저장소 전체 참조 치환 67파일: import 경로, 라우트 슬러그(b04-preprocess), 라우트 키(B04_PREPROCESS), storage 경로 상수, locale, SQL 주석 - 로직 변경 없음 (기계적 치환). typecheck·백엔드 import 검증 통과 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ def _planned_route_points_in_project_crs(project_root: Path) -> list[dict[str, f
|
||||
B04 `/planned-route` 조회와 같은 규칙 — CSV가 제 좌표계(crs_epsg)를 적어 두었고
|
||||
프로젝트 좌표계와 다르면 한 번 옮긴다.
|
||||
"""
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Engine_Extent import project_epsg_from_prj
|
||||
from B04_PreProcess.B04_PreProcess_Engine_Extent import project_epsg_from_prj
|
||||
from common_util.common_util_route_geometry import (
|
||||
find_planned_route_file,
|
||||
read_planned_route_csv,
|
||||
|
||||
@@ -74,7 +74,7 @@ async def trigger_wf1_analysis_and_email(
|
||||
await connection.commit()
|
||||
stored_path = await get_project_storage_relative_path(connection, project_id)
|
||||
project_info = await _get_project_notification_info(connection, project_id)
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Repository import get_input_file
|
||||
from B04_PreProcess.B04_PreProcess_Repository import get_input_file
|
||||
|
||||
input_file = await get_input_file(connection, project_id, input_file_id)
|
||||
|
||||
@@ -83,9 +83,9 @@ async def trigger_wf1_analysis_and_email(
|
||||
if not las_path.is_file():
|
||||
raise FileNotFoundError("원본 LAS/LAZ 파일을 찾을 수 없습니다.")
|
||||
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Engine import run_surface_analysis
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Repository import save_surface_analysis_to_db
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Router import write_surface_progress
|
||||
from B04_PreProcess.B04_PreProcess_Engine import run_surface_analysis
|
||||
from B04_PreProcess.B04_PreProcess_Repository import save_surface_analysis_to_db
|
||||
from B04_PreProcess.B04_PreProcess_Router import write_surface_progress
|
||||
|
||||
write_surface_progress(project_root, 5, "analyzing", "WF1 분석을 시작합니다.")
|
||||
|
||||
@@ -119,7 +119,7 @@ async def trigger_wf1_analysis_and_email(
|
||||
# 사용자다. 모두 기본값으로 자동 확정하고 B05·B06 자동 계산 체인까지 탄다.
|
||||
# 관리자는 B04에서 다른 모델을 골라 재확정할 수 있다(체인은 경로가 이미
|
||||
# 있으면 스스로 건너뛴다).
|
||||
from B04_wf1_Surface.B04_wf1_Surface_Service import (
|
||||
from B04_PreProcess.B04_PreProcess_Service import (
|
||||
confirm_surface_selection,
|
||||
find_surface_model_for_selection,
|
||||
)
|
||||
|
||||
@@ -54,7 +54,7 @@ function L(key: keyof typeof ui_locales): string {
|
||||
export async function renderB03FileInput(root: HTMLElement): Promise<void> {
|
||||
const dashboardUser = await fetchDashboardMe();
|
||||
const completionRoute =
|
||||
dashboardUser.role === "SYSTEM_ADMIN" ? ROUTES.B04_WF1_SURFACE : ROUTES.B05_WF2_ROUTE;
|
||||
dashboardUser.role === "SYSTEM_ADMIN" ? ROUTES.B04_PREPROCESS : ROUTES.B05_WF2_ROUTE;
|
||||
const slots = initializeSlots();
|
||||
const cardMap = new Map<FileSlot, HTMLElement>();
|
||||
const resultList = document.createElement("ul");
|
||||
|
||||
Reference in New Issue
Block a user