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 {