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 = {