From 18f26c79090b2b780da563b0294a37d3cdcef471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EC=A7=80=EC=9D=B8?= Date: Fri, 10 Oct 2025 16:40:32 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B1=B4=EC=84=A4=ED=98=84=EC=9E=A5=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=20>=20=EB=B0=9C=EC=A3=BC=EA=B8=B0=EA=B4=80?= =?UTF-8?q?=20=EA=B3=84=EC=A0=95=20=ED=99=94=EB=A9=B4=20=EC=9E=91=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ApiManagementController.java | 2 +- ...nstructionProjectManagementController.java | 53 +++++ .../construction-user-mgmt-index.jsp | 185 ++++++++++++++++++ .../constructionProjectManagement/left.jsp | 2 +- 4 files changed, 240 insertions(+), 2 deletions(-) create mode 100644 src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/construction-user-mgmt-index.jsp diff --git a/src/main/java/geoinfo/admins/apiManagement/ApiManagementController.java b/src/main/java/geoinfo/admins/apiManagement/ApiManagementController.java index 95a43d8..9905f84 100644 --- a/src/main/java/geoinfo/admins/apiManagement/ApiManagementController.java +++ b/src/main/java/geoinfo/admins/apiManagement/ApiManagementController.java @@ -56,7 +56,7 @@ public class ApiManagementController { private HomeTrainingService homeTrainingService; /** - * 집합교육 화면 + * API 관리 > API 통계 화면 * @param params * @param model * @param response diff --git a/src/main/java/geoinfo/admins/constructionProjectManagement/ConstructionProjectManagementController.java b/src/main/java/geoinfo/admins/constructionProjectManagement/ConstructionProjectManagementController.java index fce2de6..0064c94 100644 --- a/src/main/java/geoinfo/admins/constructionProjectManagement/ConstructionProjectManagementController.java +++ b/src/main/java/geoinfo/admins/constructionProjectManagement/ConstructionProjectManagementController.java @@ -74,6 +74,59 @@ public class ConstructionProjectManagementController { model.addAttribute("params", params); return "admins/constructionProjectManagement/construction-project-statistics-index"; } + + /** + * 건설현장 관리 > 발주기관 계정 화면 + * @param params + * @param model + * @param response + * @param request + * @return + * @throws Exception + */ + @RequestMapping(value = "admins/constructionProjectManagement/construction-user-mgmt-index.do") + public String goConstructionUserMgmt(@RequestParam HashMap params, ModelMap model, HttpServletResponse response, HttpServletRequest request) throws Exception { + if (!UserInfo.isValidSession(request, response, "admin")) { + return ""; + } + + /** 2023.10.25 LHJ 검색조건 추가 : 가입기간 시작/종료날짜를 8자리 숫자로 입력하지 않았을 때 처리 **/ + String searchBgndt = (String) params.get("searchBgndt"); + if(searchBgndt == null || searchBgndt.length() != 8 || !searchBgndt.matches("[0-9]+")) { + params.put("searchBgndt", ""); + } + String searchEnddt = (String) params.get("searchEnddt"); + if(searchEnddt == null || searchEnddt.length() != 8 || !searchEnddt.matches("[0-9]+")) { + params.put("searchEnddt", ""); + } + + /** pageing */ + PaginationInfo paginationInfo = new PaginationInfo(); + + if (params.get("pageIndex") == null || "".equals(params.get("pageIndex"))) { + paginationInfo.setCurrentPageNo(1); + params.put("pageIndex", 1); + } else { + paginationInfo.setCurrentPageNo(Integer.valueOf((String) params.get("pageIndex"))); + } + + paginationInfo.setRecordCountPerPage(10); + paginationInfo.setPageSize(10); + + params.put("firstRecordIndex", paginationInfo.getFirstRecordIndex()); + params.put("recordCountPerPage", paginationInfo.getRecordCountPerPage()); + + List resultList = masterService.selectInfoList(params); + + int totalCnt = resultList.size() == 0 ? 0 : Integer.valueOf(((EgovMap) resultList.get(0)).get("totalrows").toString()); + paginationInfo.setTotalRecordCount(totalCnt); + + model.addAttribute("params", params); + model.addAttribute("resultList", resultList); + model.addAttribute("paginationInfo", paginationInfo); + + return "admins/constructionProjectManagement/construction-user-mgmt-index"; + } /** * 집합교육 추가 diff --git a/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/construction-user-mgmt-index.jsp b/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/construction-user-mgmt-index.jsp new file mode 100644 index 0000000..debf87e --- /dev/null +++ b/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/construction-user-mgmt-index.jsp @@ -0,0 +1,185 @@ +<%@ 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="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> + + + + + + + + + + +
+ + + + + + + --%> + + + + + + + + +
 
+ <%--
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
번호아이디이름회사명업종사업자등록번호이메일가입일상세보기
${resultList.num}${resultList.userid}${resultList.userName}${resultList.companyName}${resultList.upjong}${resultList.companyRegistNo}${resultList.email}${resultList.datetimes} + +
+ + + + + + + + + + +
+ + + +
+ + + + +
+ + diff --git a/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/left.jsp b/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/left.jsp index 28c43a4..e4bbf32 100644 --- a/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/left.jsp +++ b/src/main/webapp/WEB-INF/views/admins/constructionProjectManagement/left.jsp @@ -78,7 +78,7 @@ img { border:0; }  건설현장 통계