2025-08-20 16:14 초기 셋팅 작업

This commit is contained in:
myname 2025-08-20 16:14:44 +09:00
parent 72a30e666d
commit 78babff24e
3 changed files with 4 additions and 3 deletions

View File

@ -202,11 +202,12 @@ public class EgovQustnrManageController {
List<?> resultList = egovQustnrManageService.selectQustnrManageList(searchVO) ; List<?> resultList = egovQustnrManageService.selectQustnrManageList(searchVO) ;
//System.out.println((long)((EgovMap)resultList.get(0)).get("totcnt")); //System.out.println((long)((EgovMap)resultList.get(0)).get("totcnt"));
String s_totCnt = String.valueOf(((EgovMap)resultList.get(0)).get("totcnt")); String s_totCnt = "0";
System.out.println(s_totCnt); System.out.println(s_totCnt);
if (resultList.size()> 0) { if (resultList.size()> 0) {
s_totCnt = String.valueOf(((EgovMap)resultList.get(0)).get("totcnt"));
paginationInfo.setTotalRecordCount( Integer.parseInt(s_totCnt)); paginationInfo.setTotalRecordCount( Integer.parseInt(s_totCnt));
}else { }else {
paginationInfo.setTotalRecordCount( 0); paginationInfo.setTotalRecordCount( 0);

View File

@ -3,5 +3,5 @@
"http://www.ibatis.com/dtd/sql-map-config-2.dtd"> "http://www.ibatis.com/dtd/sql-map-config-2.dtd">
<sqlMapConfig> <sqlMapConfig>
<sqlMap resource="egovframework/sqlmap/let/uss/olp/qmc/EgovQustnrManage_SQL_Tibero.xml"/> <sqlMap resource="egovframework/sqlmap/let/uss/olp/qmc/EgovQustnrManage_SQL_Postgresql.xml"/>
</sqlMapConfig> </sqlMapConfig>

View File

@ -97,7 +97,7 @@
, ( select count(*) from lettnqustnrqesitm where qestnr_id = a.qestnr_id ) qustnrQesitmCnt , ( select count(*) from lettnqustnrqesitm where qestnr_id = a.qestnr_id ) qustnrQesitmCnt
, ( select count(*) from lettnqustnrrespondinfo where qestnr_id = a.qestnr_id ) rrspnsResultCnt , ( select count(*) from lettnqustnrrespondinfo where qestnr_id = a.qestnr_id ) rrspnsResultCnt
, case , case
when a.qustnr_endde < TO_CHAR(SYSDATE, 'YYYYMMDD') then '2' /* */ when a.qustnr_endde < TO_CHAR(NOW(), 'YYYYMMDD') then '2' /* */
else a.sttus else a.sttus
end as sttus end as sttus
, (select qustnr_tmplat_path_nm from lettnqustnrtmplat where qustnr_tmplat_id = a.qustnr_tmplat_id ) template_url , (select qustnr_tmplat_path_nm from lettnqustnrtmplat where qustnr_tmplat_id = a.qustnr_tmplat_id ) template_url