diff --git a/src/main/java/geoinfo/drilling/inquiry/DrillingInquiryController.java b/src/main/java/geoinfo/drilling/inquiry/DrillingInquiryController.java index 6579cf76..67936343 100644 --- a/src/main/java/geoinfo/drilling/inquiry/DrillingInquiryController.java +++ b/src/main/java/geoinfo/drilling/inquiry/DrillingInquiryController.java @@ -47,6 +47,64 @@ public class DrillingInquiryController { return "/drilling/inquiry/drilling_inquiry"; } + /** + * 시추정보 관리 + * 모든 입력상태의 건설현장 정보 목록을 표시한다. + * @param map + * @param params + * @param model + * @param request + * @param response + * @return + * @throws Exception + */ + @RequestMapping(value = "/drilling/mgmt-project.do") + public ModelAndView drillingMgmtProject(Map map, @RequestParam HashMap params, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception { + + ModelAndView mv = new ModelAndView("/drilling/mgmt/project"); + if(request.getSession().getAttribute("USERNAME") == null){ + mv.setViewName("redirect:/index.do?cntyn=0"); + return mv; + } + + + + String userId = MyUtil.getStringFromObject( request.getSession().getAttribute("USERID") ); + String cls = MyUtil.getStringFromObject( request.getSession().getAttribute("CLS") ); + + mv.addObject("userId", userId); + mv.addObject("cls", cls); + + try { + HashMap spGetProjectMbrParams = drillingInquiryService.spGetProjectMbr( request, params, userId ); + mv.addObject("mbr", spGetProjectMbrParams); + } catch (Exception e) { + // TODO Auto-generated catch block + String strTxt = + "---------- BUG REPORTING START ----------" + "\n" + + "에러 문구:[" + request.getRequestURI() + " " + "]" + "\n" + + "params:[\n" + params.toString() + "\n]\n" + + "e.getMessage():[\n" + e.getMessage() + "\n]\n" + "\n" + + "new Date().toString():[" + new Date().toString() + "]\n" + "\n" + + "---------- BUG REPORTING END ----------" + "\n" + + ""; + System.out.println(strTxt); + } + + return mv; + } + + /** + * 관리 시추정보 현황 + * 입력상태가 등록완료인 건설현장 정보만 목록을 표시한다. + * @param map + * @param params + * @param model + * @param request + * @param response + * @return + * @throws Exception + */ @RequestMapping(value = "/drilling/inquiry-project.do") public ModelAndView drillingInquiryProject(Map map, @RequestParam HashMap params, ModelMap model, HttpServletRequest request, HttpServletResponse response) throws Exception { diff --git a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp index af888eb7..3bdc52f6 100644 --- a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp +++ b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry.jsp @@ -459,6 +459,7 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe

건설현장 관리

관리 시추정보 현황

+

시추정보 관리

건설현장 조회

건설현장 입력

diff --git a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry_project.jsp b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry_project.jsp index 18e1217c..18373afe 100644 --- a/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry_project.jsp +++ b/src/main/webapp/WEB-INF/views/drilling/inquiry/drilling_inquiry_project.jsp @@ -68,6 +68,7 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe '&' +'constCompanyName='+ constCompanyName + '&' +'constCompanyAdmin='+ constCompanyAdmin + '&' +'constCompanyTel='+ constCompanyTel + + '&' +'projectStateCode=6' + '&' +'nPage='+ nPage + '&' +'nCount='+ nCount, true); @@ -259,6 +260,7 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe

건설현장 관리

관리 시추정보 현황

+

시추정보 관리

건설현장 조회

건설현장 입력

diff --git a/src/main/webapp/WEB-INF/views/drilling/mgmt/project.jsp b/src/main/webapp/WEB-INF/views/drilling/mgmt/project.jsp new file mode 100644 index 00000000..ace9406e --- /dev/null +++ b/src/main/webapp/WEB-INF/views/drilling/mgmt/project.jsp @@ -0,0 +1,397 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> + + +<% + +if (request.getSession().getAttribute("USERID") == null) { + +%> + +<% + return; +} +%> +<% + +if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSession().getAttribute("CLS") ) == false ) { + +%> + +<% + return; +} +%> + + + + + +<%@ include file="/include/inc_head_2021_new.jsp" %> + + + + + + + + + + + + +
+
+ +
+
+
+

건설현장 관리

+

관리 시추정보 현황

+

시추정보 관리

+

건설현장 조회

+

건설현장 입력

+
+
+
+ + + +
+
+ +
+
    +
  • +
  • 시추정보 관리
  • +
+ 도움말 +
+ +

시추정보 관리

+ +
+
+ +
Total: -
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
연번사업명입력상태사업내용발주기관현황건설사현황
사업기간사업단계
(설계 시공 준공 유지관리)
담당부서담당자담당연락처건설사명담당자담당연락처
+
+
+
+
+
+ + +
+
+ +
+
+ + +
+ +<%@ include file="/include/inc_footer_2021_new.jsp" %> \ No newline at end of file