diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx index fcd0bdb..e61af89 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx @@ -87,6 +87,7 @@ function StandardCodeList(props) { const [listdata, setlistdata] = useState([]); const [filterData, setfilterData] = useState(''); const [categoryList, setCategoryList] = useState([]); + const [resultCnt, setResultCnt] = useState(0); /* 탭 */ const [activeTab, setActiveTab] = useState('10'); @@ -122,6 +123,7 @@ function StandardCodeList(props) { /*검색을 위한 리스트 state에 저장*/ setlistdata(resp.result.resultList); setCategoryList(resp.result.categoryList); + setResultCnt(resp.result.resultCnt); // 리스트 항목 구성 }, function (resp) { @@ -186,7 +188,7 @@ function StandardCodeList(props) { select + count(*) over() as contentcount, case when a3.doc_level > 1 then a3.doc_code_name else a2.doc_code_name @@ -31,8 +32,7 @@ a.group_nm, a.kcsc_cd, tdi.doc_file_grp_id, - a.group_seq, - count(tdc.full_content) as contentcount + a.group_seq from tn_document_group a left join tn_document_info tdi on