diff --git a/src/main/resources/egovframework/sqlmap/ve/prcs/VEPrcsAplctPrd_SQL_Postgresql.xml b/src/main/resources/egovframework/sqlmap/ve/prcs/VEPrcsAplctPrd_SQL_Postgresql.xml index d63e8ec9..f2923334 100644 --- a/src/main/resources/egovframework/sqlmap/ve/prcs/VEPrcsAplctPrd_SQL_Postgresql.xml +++ b/src/main/resources/egovframework/sqlmap/ve/prcs/VEPrcsAplctPrd_SQL_Postgresql.xml @@ -1843,10 +1843,10 @@ '2000.01.01') AND COALESCE(a.qustnr_endde, '9999.12.31') - ORDER BY coalesce(a.qustnr_bgnde,'9999.12.31') - LIMIT 1 + ORDER BY coalesce(a.qustnr_bgnde,'9999.12.31') + ) I10 ON - (1 = 1) + (1 = 1 and a.lctr_div_cd = I10.site_id) LEFT OUTER JOIN ( /* 현재 진행가능한 설문 정보(기본, 선생님, 강사) 여러개가 있는 경우는 최근 등록된 설문 정보를 가져온다.*/