From b960a0336158c738fce5c56046c7d39d8f419124 Mon Sep 17 00:00:00 2001 From: ljpark Date: Fri, 9 Jan 2026 13:19:34 +0900 Subject: [PATCH] =?UTF-8?q?fo:=20=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EB=B3=80=EC=88=98=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fo/app/store/dashboard/index.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/fo/app/store/dashboard/index.tsx b/apps/fo/app/store/dashboard/index.tsx index f797fb428..5129cbe2f 100644 --- a/apps/fo/app/store/dashboard/index.tsx +++ b/apps/fo/app/store/dashboard/index.tsx @@ -729,15 +729,15 @@ const fetchFacilityPlan = async (targetYear: string | undefined, fcltyCd: string }; // 시설들 월별 물사용량 정보 조회 -const fetchWtrUsgYmList = async (searchYear: string | undefined, fcltCdList: string[]): Promise => { - try { - const res = await postFetch('fo', '/fclt/flow/wtrUsgYm/' + searchYear, fcltCdList); - return res; - } catch (error) { - console.error('시설들 월별 물사용량 데이터를 가져오는데 실패했습니다:', error); - return null; - } -}; +// const fetchWtrUsgYmList = async (searchYear: string | undefined, fcltCdList: string[]): Promise => { +// try { +// const res = await postFetch('fo', '/fclt/flow/wtrUsgYm/' + searchYear, fcltCdList); +// return res; +// } catch (error) { +// console.error('시설들 월별 물사용량 데이터를 가져오는데 실패했습니다:', error); +// return null; +// } +// }; // 주요그래프 데이터 const fetchMainGraph = async (searchYear: string | undefined, fcltyCd: string | undefined) => { @@ -1466,7 +1466,7 @@ export const dashBoardReducer = ( }, })); - const fcltCdList = [fcltyCd]; + // const fcltCdList = [fcltyCd]; //const wtrUsgRes: any = await fetchWtrUsgYmList(searchYear, fcltCdList); // 수용가의 실제 물사용량 const operList = {