[ST] - 공단 오류 및 개선 요청사항 처리

This commit is contained in:
2026-08-07 16:24:39 +09:00
parent 26f64988ef
commit 85ef1805e5
24 changed files with 513 additions and 207 deletions
@@ -271,11 +271,11 @@ async function waitForImrJobCompleted(
options?.onProgress?.(Math.max(0, Math.min(100, Number(res.job_prog) || 0)));
if (res.status === "COMPLETED" && Number(res.job_prog) === 100) return;
if (res.status === "FAILED" || res.status === "ERROR" || res.status === "CANCELLED") {
throw new Error(res.error_msg || `IMR 검증이 ${res.status} 상태로 종료되었습니다.`);
throw new Error(res.error_msg || `시계열 검증이 ${res.status} 상태로 종료되었습니다.`);
}
await sleep(pollIntervalMs);
}
throw new Error("IMR 검증 완료 대기 시간이 초과되었습니다.");
throw new Error("시계열 검증 완료 대기 시간이 초과되었습니다.");
}
// 하수도 통계 관리 > 13. 하수도 서비스 수준
@@ -791,7 +791,7 @@ const SewerageServiceLevelInp = () => {
if (finalStatus === "5") {
setGlobalProgress(50);
setGlobalProgressLabel("IMR 검증 진행 중...");
setGlobalProgressLabel("시계열 검증 진행 중...");
const imrParam = {
user_id: userInfo.userUnqId,
sewer_bzmn_cd: lastSearchedValues.bsnmCd ?? "",
@@ -1110,10 +1110,10 @@ const SewerageServiceLevelInp = () => {
.map((e) => {
const prefix =
e.vrfcCd === "IMR"
? "IMR검증 - "
? "시계열 검증 - "
: e.vrfcCd === "NV"
? "일반검증 - "
: "HB검증 - ";
: "모집단 검증 - ";
return `${prefix}${e.rsnExpln}(검증 기준값: ${e.compVlCn} / 현재 입력값: ${e.nowVlCn})`;
})
.filter(Boolean)