diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx index fd573ef99..476ad8796 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx @@ -13,7 +13,8 @@ import { btnClass } from "@/app/store/common/code"; import { prfRegPageSize } from "@/app/store/prfmncReg/pbnstPrfmncReg"; import type { customPbnst } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/type"; import type { WaterReuseFacility } from "@/app/store/ruseFcltMng/fcltSttn/pbnstSttn/type"; -import { excelDownload, yearOptions } from "@/components/lib/func/commom"; +import { excelDownloadNumStyle, yearOptions } from "@/components/lib/func/commom"; +import { type SheetParameter } from "@common/business_components/ui"; import HeadChModal from "@/components/ui/modal/sttn/headChModal/headChModal"; import { PbnstSttnModal } from "@/components/ui/modal/sttn/pbnstSttnModal/pbnstSttnModal"; import { @@ -103,13 +104,19 @@ export default function PbnstSttn() { if (!isDownloadTriggered.current) { return; } + const sheetArray: SheetParameter[] = [{ + data: pbnstSttn.excelList, + headerNum: 2, + headerRange: "A1:U2", + sheetName: 'sheet1', + startCol: 'A', + decimalArray0: [9,11,12,13,14,15,16] // 0부터 시작 + }]; if (pbnstSttn.excelList.length > 0) { - excelDownload( - pbnstSttn.excelList, + excelDownloadNumStyle( "하수재이용시설 현황", "sample_pbnstSttn.xlsx", - "A1:U2", - 3 + sheetArray ); } else { toast.error(t("excelDownErrMsg")); diff --git a/apps/wr/public/sample_pbnstSttn.xlsx b/apps/wr/public/sample_pbnstSttn.xlsx index 8bbd47ea3..ba08690d7 100644 Binary files a/apps/wr/public/sample_pbnstSttn.xlsx and b/apps/wr/public/sample_pbnstSttn.xlsx differ