2025-08-20 16:14 초기 셋팅 작업
This commit is contained in:
parent
72a30e666d
commit
78babff24e
@ -202,11 +202,12 @@ public class EgovQustnrManageController {
|
||||
List<?> resultList = egovQustnrManageService.selectQustnrManageList(searchVO) ;
|
||||
|
||||
//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);
|
||||
|
||||
if (resultList.size()> 0) {
|
||||
s_totCnt = String.valueOf(((EgovMap)resultList.get(0)).get("totcnt"));
|
||||
paginationInfo.setTotalRecordCount( Integer.parseInt(s_totCnt));
|
||||
}else {
|
||||
paginationInfo.setTotalRecordCount( 0);
|
||||
|
||||
@ -3,5 +3,5 @@
|
||||
"http://www.ibatis.com/dtd/sql-map-config-2.dtd">
|
||||
|
||||
<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>
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
, ( select count(*) from lettnqustnrqesitm where qestnr_id = a.qestnr_id ) qustnrQesitmCnt
|
||||
, ( select count(*) from lettnqustnrrespondinfo where qestnr_id = a.qestnr_id ) rrspnsResultCnt
|
||||
, case
|
||||
when a.qustnr_endde < TO_CHAR(SYSDATE, 'YYYYMMDD') then '2' /* 종료 */
|
||||
when a.qustnr_endde < TO_CHAR(NOW(), 'YYYYMMDD') then '2' /* 종료 */
|
||||
else a.sttus
|
||||
end as sttus
|
||||
, (select qustnr_tmplat_path_nm from lettnqustnrtmplat where qustnr_tmplat_id = a.qustnr_tmplat_id ) template_url
|
||||
|
||||
Loading…
Reference in New Issue
Block a user