diff --git a/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx b/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx index 5f34a73d4..a2b62fc6a 100644 --- a/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx +++ b/apps/wr/app/(with-layout)/stats/rswtStat/page.tsx @@ -28,7 +28,7 @@ export default function RswtStat() { const { t } = useTranslation('base'); useEffect(() => { - searchRswtStatList(searchYear, code.cityCd,code.rswtBdstType) + searchRswtStatList(searchYear, code.cityCd, code.rswtBdstType); }, [searchRswtStatList, code.cityCd]) const excelClick = () => { @@ -44,12 +44,12 @@ export default function RswtStat() { "중수도+대체수이용량(m³/년)": item.rswtAltSum, "중수도이용량(m³/년)": item.rswtrUsqty, "대체수이용량(m³/년)": item.altUswtrUtztnQnt, - "조경용수": item.lndwtr, - "청소화장실용수": item.cleanToilUswtr, - "농업용수": item.farmUswtr, - "공업용수": item.indstUswtr, - "친수용수": item.hydUswtr, - "기타": item.ithlEtcUswtr, + "조경용수": item.lndwtr, // 이용용도코드 utztn_usg_cd 01 + "청소화장실용수": item.cleanToilUswtr, // 이용용도코드 utztn_usg_cd 02 + "농업용수": item.farmUswtr, // 이용용도코드 utztn_usg_cd 04 + "공업용수": item.indstUswtr, // 이용용도코드 utztn_usg_cd 05 + "친수용수": item.hydUswtr, // 이용용도코드 utztn_usg_cd 06 + "기타": item.ithlEtcUswtr, // 이용용도코드 utztn_usg_cd 07 "연간운영비(백만원/년)": item.anlOperCst, }; }) diff --git a/apps/wr/app/store/common/auth/index.tsx b/apps/wr/app/store/common/auth/index.tsx index 209b1fb8a..b553f0d41 100644 --- a/apps/wr/app/store/common/auth/index.tsx +++ b/apps/wr/app/store/common/auth/index.tsx @@ -72,7 +72,7 @@ export const authActionsExport: (set: any, get: any) => authActions = ( return; } const infoMe = await getUserInfo(); - console.log(infoMe); + //console.log(infoMe); const isLaeSeCd = infoMe.laeSeCd.slice(0, 2) === "G3" ? infoMe.laeSeCd.slice(2) : "0"; diff --git a/apps/wr/app/store/common/code/basicCode.tsx b/apps/wr/app/store/common/code/basicCode.tsx index 5f6981288..399ea70c3 100644 --- a/apps/wr/app/store/common/code/basicCode.tsx +++ b/apps/wr/app/store/common/code/basicCode.tsx @@ -402,9 +402,9 @@ export const sewageOutFclttUse = [ // WR011: "pplQulity", // WR012: "pplLenght", // WR013: "bdstFilterYn", // 사용 불가 yn만 사용해야함으로 해당코드 사용 안함 -// WR014: "rainRswtMng", // 지도점검 등록 시변경 +// WR014: "rainRswtMng", // 운영관리코드 (빗물중수운영관리형태) 위탁/자체 지도점검 등록 시변경 // WR015: "rainFcltFlowRate", //지도점검 등록 시변경 -// WR016: "dmdUszCd", // 지도점검 등록 시변경 +// WR016: "dmdUszCd", // 빗물중수이용용도 친수용수지도점검 등록 시변경 // WR017: "sewageInFcltUse", //하수재이용 장내 // WR018: "sewageOutFclttUse", // 하수재이용 장외 // WR019: "htdPowerMthdCd", diff --git a/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx b/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx index 8727f037e..a8ed0608c 100644 --- a/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx +++ b/apps/wr/components/ui/table/chkgdTable/rainChkgd/rainChkgdTable.tsx @@ -92,9 +92,9 @@ export default function RainChkgdTable({ return { ...item, ...bud[0], - utztnUsgCdText: codeToText(item.guideDetails[0].utztnUsgCd, 'dmdUszCd'), + utztnUsgCdText: codeToText(item.guideDetails[0]?.utztnUsgCd, 'dmdUszCd'), oilqMeasMthdText:codeToText(item.oilqMeasMthd, 'rainFcltFlowRate'), - operMngCdText:codeToText(item.operMngCd.trim(), 'rainRswtMng'), + operMngCdText:codeToText(item.operMngCd?.trim(), 'rainRswtMng'), rainyDetails:rainyDetails, rowspan: item.rainyDetails?.length, };