From 231c8a213ea20571e03da5c2970964e02b19b683 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Tue, 28 Oct 2025 18:22:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=80=EB=8F=84=EC=A0=90=EA=B2=80=20?= =?UTF-8?q?=EC=97=91=EC=85=80=20=EC=98=A4=EB=A5=98=20=EB=B0=8F=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=9D=B4=EB=A0=A5=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx | 3 ++- apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx | 3 +++ apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx b/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx index 21636860a..2a4150a30 100644 --- a/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx +++ b/apps/wr/app/store/prfmncReg/chkgdnReg/rainChkgdn/excel.tsx @@ -208,7 +208,8 @@ export const excelToRainChkData = (excelData: any, year: string) => { `과태료부과금액(천원): 숫자 형식 아님 /입력값:${key.levyAmt}` ); } - if (key.vltnDt?.length > 2 && isInvalidDate(key.vltnDt)) { + + if (key.vltnDt?.length >= 1 && isInvalidDate(key.vltnDt)) { issues.push( defaultMessage + `과태료 부과일(위반일): 날짜 형식 아님 /입력값:${key.vltnDt}` diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx index a4b625200..ce18ac782 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/rainReg/index.tsx @@ -1,5 +1,6 @@ import type { TableUpperProps } from "@/app/store/common/type/header"; import { + deleteFectch, fetchType, getFetchWithCount, postFectch, @@ -244,6 +245,8 @@ export const rainFacActionsExport: (set: any) => rainFacSActions = ( toast.error("건축물 증축/개축/중축 오류입니다."); } } else { + + await deleteFectch("/reuseFc/DeleteChgBuilding" , data.bdstInfoSn); toast.success("건축물 수정이 완료되었습니다."); } } else { diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx index aba0fc857..117fe8125 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx @@ -1,4 +1,4 @@ -import { getFetchWithCount, postFectch, putFectch } from "@/components/lib/api"; +import { deleteFectch, getFetchWithCount, postFectch, putFectch } from "@/components/lib/api"; import { upHeadList, type chgBuilding } from "../rainReg"; import type { TableUpperProps } from "@/app/store/common/type/header"; @@ -181,6 +181,7 @@ export const rswtFacActionsExport: (set: any) => rswtFacSActions = ( toast.error("중수도 건축물 증축/개축/중축 오류입니다."); } } else { + await deleteFectch("/reuseFc/DeleteChgBuilding" , data.bdstInfoSn); toast.success("중수도 건축물 수정이 완료되었습니다."); } } else {