[as] WIP: 기본계획조회 다이얼로그 구현

This commit is contained in:
2026-07-31 09:30:09 +09:00
parent e56938f7ff
commit e67492853c
12 changed files with 1488 additions and 17 deletions
+30 -9
View File
@@ -12,11 +12,22 @@ export interface LvNowDmgMtncGnsvySearchDto {
gnsvyYr?: string;
}
export interface ClsfSystmRequestDto {
export interface ClsfSystmParamsDto {
clsfSystmNm?: string;
upClsfSystmSn?: string;
}
export interface FileParamsDto {
sort?: string;
clsfSystmSn?: string;
vetPrcsYn?: string;
}
export interface FileDownloadParamsDto {
filePath?: string;
fileName?: string;
}
type NullableNumber = number | null;
type NullableString = string | null;
@@ -67,14 +78,21 @@ export interface NowDmgMtncGnsvyResponseDto
sggNm?: NullableString;
}
/**
* lvNowDmgMtncGnsvy 계층 노드.
* - level 1: ctpvNm + children(구군)
* - level 2: sggNm + children(연도)
* - level 3: gnsvyYr + children(처리시설)
* - 시설 리프: swtrmtFcltCd / swtrmtFcltNm (level 없음)
*/
export interface LvNowDmgMtncGnsvyResponseDto {
level: number;
ctpvNm: string;
sggNm: string;
gnsvyYr: string;
swtrmtFcltCd: string;
swtrmtFcltNm: string;
children: LvNowDmgMtncGnsvyResponseDto[];
level?: number;
ctpvNm?: string;
sggNm?: string;
gnsvyYr?: string;
swtrmtFcltCd?: string;
swtrmtFcltNm?: string;
children?: LvNowDmgMtncGnsvyResponseDto[];
}
export interface ClsfSystmResponseDto {
@@ -89,5 +107,8 @@ export interface ClsfSystmResponseDto {
export interface DcService {
getNowDmgMtncGnsvy(params: NowDmgMtncGnsvySearchDto): Promise<NowDmgMtncGnsvyResponseDto[]>;
getLvNowDmgMtncGnsvy(params: LvNowDmgMtncGnsvySearchDto): Promise<LvNowDmgMtncGnsvyResponseDto[]>;
getClsfSystm(params: ClsfSystmRequestDto): Promise<ClsfSystmResponseDto[]>;
getClsfSystm(params: ClsfSystmParamsDto): Promise<ClsfSystmResponseDto[]>;
getFile(params: FileParamsDto): Promise<unknown>;
getFilePrcs(fileSn: string): Promise<unknown>;
fileDownload(params: FileDownloadParamsDto): Promise<unknown>;
}