diff --git a/src/main/java/geoinfo/com/WebConfirm.java b/src/main/java/geoinfo/com/WebConfirm.java index 6024a40c..f784d5db 100644 --- a/src/main/java/geoinfo/com/WebConfirm.java +++ b/src/main/java/geoinfo/com/WebConfirm.java @@ -176,6 +176,9 @@ public class WebConfirm query.setParam("HOLE_CODE", resultSet.getString("HOLE_CODE")); resultCnt += query.executeUpdate(connection); query.close(); + + exeQuery(sql = "DELETE FROM TBL_HEADER_HOLE WHERE HOLE_CODE = [HOLE_CODE]", resultSet.getString("HOLE_CODE")); + final StringBuffer sbQuery = new StringBuffer(); sbQuery.append(" INSERT INTO TBL_HEADER_HOLE ( "); sbQuery.append(" GID "); diff --git a/src/main/java/geoinfo/main/main/MainController.java b/src/main/java/geoinfo/main/main/MainController.java index 1cd9ebb3..d2e1f31a 100644 --- a/src/main/java/geoinfo/main/main/MainController.java +++ b/src/main/java/geoinfo/main/main/MainController.java @@ -5,6 +5,7 @@ import java.io.PrintWriter; import java.net.InetAddress; import java.net.MalformedURLException; import java.net.URLEncoder; +import java.sql.SQLException; import java.text.MessageFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -961,8 +962,19 @@ public class MainController // 다운로드 파일 목록 map.put("target", "home"); - List> lstFile = fileService.selectFiles(map); - mv.addObject("files", lstFile); + try { + List> lstFile = fileService.selectFiles(map); + mv.addObject("files", lstFile); + } catch (SQLException e) { + System.out.println(e.getMessage()); + + if (false && !e.getMessage().contains("Already closed")) { + // "Already closed" 예외가 아닌 경우에만 처리 + + } + throw e; + } + List> notice = mainService.selectNotice(); mv.addObject("notice", notice); List> pds = mainService.selectPds(); @@ -1227,7 +1239,7 @@ public class MainController return mv; } - + // 개인정보처리방침 이전 방침(20200506) @RequestMapping(value = "personalinfo_20210531.do") public ModelAndView personalinfo_20210531(Map map, HttpServletRequest request, HttpServletResponse response) throws Exception @@ -1236,7 +1248,7 @@ public class MainController return mv; } - + // 개인정보처리방침 이전 방침(20200506) @RequestMapping(value = "personalinfo_20220831.do") public ModelAndView personalinfo_20220831(Map map, HttpServletRequest request, HttpServletResponse response) throws Exception @@ -1245,7 +1257,7 @@ public class MainController return mv; } - + // 개인정보처리방침 이전 방침(20240625) @RequestMapping(value = "personalinfo_20240625.do") public ModelAndView personalinfo_20240625(Map map, HttpServletRequest request, HttpServletResponse response) throws Exception diff --git a/src/main/webapp/WEB-INF/clipreport4/DataConnection.properties b/src/main/webapp/WEB-INF/clipreport4/DataConnection.properties index ab6c259b..11416145 100644 --- a/src/main/webapp/WEB-INF/clipreport4/DataConnection.properties +++ b/src/main/webapp/WEB-INF/clipreport4/DataConnection.properties @@ -17,9 +17,9 @@ dataconnection1.version= # \uc544\ub798\ub294 \uac74\uae30\uc5f0 \uc6b4\uc601\uc11c\ubc84 # dataconnection1.url=jdbc:oracle:thin:@192.168.0.8:3452:orcl #dataconnection1.url=jdbc:oracle:thin:@192.168.0.8:3452:orcl -# \uc544\ub798\ub294 \ub514\ube44\uc5d4\ud14d \uac1c\ubc1c \uc11c\ubc84 +# \uc544\ub798\ub294 \ub514\ube44\uc5d4\ud14d \uac1c\ubc1c\uc11c\ubc84 #dataconnection1.url=jdbc:oracle:thin:@118.219.150.34:1521:ORAGEODEV -# \uc544\ub798\ub294 \ub514\ube44\uc5d4\ud14d \ub85c\uceec \uc11c\ubc84 +# \uc544\ub798\ub294 \ub514\ube44\uc5d4\ud14d \ub85c\uceec\uc11c\ubc84 dataconnection1.url=jdbc:oracle:thin:@127.0.0.1:1521:ORAGEODEV ################################################################ diff --git a/src/main/webapp/WEB-INF/views/home/index.jsp b/src/main/webapp/WEB-INF/views/home/index.jsp index 2fac3c19..5bf5efc1 100644 --- a/src/main/webapp/WEB-INF/views/home/index.jsp +++ b/src/main/webapp/WEB-INF/views/home/index.jsp @@ -503,7 +503,7 @@

입력 및 검수관련 문의 - 031-910-0566 + 031-995-0818

이메일