[st] feat: 통계 검증 상세 화면 작업

This commit is contained in:
2026-03-09 17:36:25 +09:00
parent 64e7a1f43f
commit ff2b79aaa6
15 changed files with 1347 additions and 300 deletions
@@ -0,0 +1,28 @@
import type { PageableList, PageableParams } from "@/shared/model";
export interface StAnlsDtlResponse {
anlsSn: number; // 분석 일련번호
vrfcTrgtSn: number; // 검증 대상 일련번호
ipcrCntVl: number | null; // 중요도 개수 값 (mu)
pctlCrtrVl: number | null; // 백분위 기준 값 (percentile)
scopAjmtCntVl: number | null; // 범위 조정 개수 값 (A)
thrsCntVl: number | null; // 임계 개수 값 (C)
rtCnterVl: number | null; // 비율 중앙값
lastTrsfScrCnterVl: number | null; // 최종 변환 점수 중앙값
lastTrsfScrLlmtVl: number | null; // 최종 변환 점수 하한값
lastTrsfScrUplmtVl: number | null; // 최종 변환 점수 상한값
uplmtVl: number | null; // 상한값
llmtVl: number | null; // 하한값
otlrUplmtLine: number | null; // 이상치 상한선
otlrLlmtLine: number | null; // 이상치 하한선
nmlDataNocs: number; // 정상 데이터 건수
exclDataNocs: number; // 제외 데이터 건수
otlrDataNocs: number; // 이상치 데이터 건수
}
export interface StAnlsDtlSearchParams extends PageableParams {
anlsSn?: number; // 분석 일련번호
vrfcTrgtSn?: number; // 검증 대상 일련번호
}
export type StAnlsDtlListApiResponse = PageableList<StAnlsDtlResponse>;
@@ -0,0 +1,46 @@
import type { PageableList, PageableParams } from "@/shared/model";
import type { StAnlsDtlResponse } from "./statistics-analysis-detail-interface";
export interface StAnlsRsltResponse {
rsltSn: number; // 결과 일련번호
anlsSn: number; // 분석 일련번호
vrfcTrgtSn: number; // 검증 대상 일련번호
admdstCd: string; // 행정구역 코드
admdstNm: string; // 행정구역 명칭
sido: string; // 시도
gugun: string; // 시군구
adstDong: string; // 행정동
drngBzmnCd: string; // 하수도 사업자 코드
pipeSeCd: string; // 파이프 구분 코드
fcltNm: string; // 시설명
addr: string; // 주소
prvyrVl: number | null; // 전년도 값
cryrVl: number | null; // 당해년도 값
chgRt: number | null; // 변경율 (r_i)
trsfRt: number | null; // 변환 비율 (s_i)
otlrTrsfRt: number | null; // 이상치 변환 비율 (E_i)
otlrYn: string; // 이상치 여부 (y/n)
}
export interface StAnlsRsltSearchParams extends PageableParams {
anlsSn?: number; // 분석 일련번호
vrfcTrgtSn?: number; // 검증 대상 일련번호
admdstCd?: string; // 행정구역 코드
admdstNm?: string; // 행정구역 명칭
fcltNm?: string; // 시설명
otlrYn?: string; // 이상치 여부 (y/n)
}
export type StAnlsRsltListApiResponse = PageableList<StAnlsRsltResponse>;
export interface ChartBoundaryPointDto {
xPrev: number; // 전년도 값 (x축)
yLower: number; // 이상치 하한 당년값 (y축)
yUpper: number; // 이상치 상한 당년값 (y축)
}
export interface ChartRetDto {
dtl: StAnlsDtlResponse; // 분석 상세 파라미터 (mu, r_mid, T_L, T_U 등)
list: ChartBoundaryPointDto[]; // HBR 경계선 곡선 데이터 리스트 (x_prev, y_lower, y_upper)
}