feat: RDII 분석 조회 테이블 Column 수정

This commit is contained in:
swcho
2025-06-09 17:06:11 +09:00
parent f9f913560c
commit 922cdbf204
+11 -12
View File
@@ -23,17 +23,16 @@ const formSchema = z.object({
type ResultFormValues = z.infer<typeof formSchema>
const tableColumn = [
{ id: 'no', title: '번호' },
{ id: 'analysis no', title: '분석번호' },
{ id: 'hasu', title: '하수처리장' },
{ id: 'guyeok', title: '처리구역' },
{ id: 'sangsu', title: '상수 사용량' },
{ id: 'rate', title: '오수 전환율' },
{ id: 'rtx', title: 'RTX 계수 출처' },
{ id: 'rdii', title: 'RDII 기여면적' },
{ id: 'rdii analysis info', title: 'RDII 분석정보' },
{ id: 'date', title: '분석일자' },
{ id: 'usr', title: '분석자' }
{ id: 'rainInfwtAnlsSn', title: '분석번호' },
{ id: 'swageTmplntNm', title: '하수처리장' },
{ id: 'swtrmtZoneNm', title: '처리구역' },
{ id: 'aplcnYm', title: '상수사용연월' },
{ id: 'drtwSwtcRt', title: '오수 전환율' },
{ id: 'srcNm', title: 'RTX 계수 출처' },
{ id: 'cntbArea', title: 'RDII 기여면적' },
{ id: 'anlsInfo', title: 'RDII 분석정보' },
{ id: 'regDt', title: '분석일자' },
{ id: 'rgtrNm', title: '분석자' }
]
const Result = () => {
@@ -86,7 +85,7 @@ const Result = () => {
const queryParams = new URLSearchParams({
page: '0',
size: '10',
sort: 'inftwtAnlsSn'
sort: 'rainInfwtAnlsSn'
});
Object.entries(inftwtAnlsSearchDto).forEach(([key, value]) => {
if (value !== undefined && value !== null && String(value).trim() !== '') { // undefined, null, 빈 문자열이 아닌 경우에만 추가