diff --git a/.classpath b/.classpath
deleted file mode 100644
index 0ca1374..0000000
--- a/.classpath
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.gitignore b/.gitignore
index 4b79781..c896f34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,20 @@
HELP.md
.gradle
-target/
+### Maven ###
+target/
+pom.xml.tag
+pom.xml.releaseBackup
+pom.xml.versionsBackup
+pom.xml.next
+release.properties
+dependency-reduced-pom.xml
+buildNumber.properties
+.mvn/timing.properties
+# https://github.com/takari/maven-wrapper#usage-without-binary-jar
+.mvn/wrapper/maven-wrapper.jar
+
+### gradle ###
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
@@ -28,6 +41,18 @@ out/
!**/src/main/**/out/
!**/src/test/**/out/
+### Eclipse ###
+.metadata
+tmp/
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.settings/
+.loadpath
+.recommenders
+
### NetBeans ###
/nbproject/private/
/nbbuild/
diff --git a/.project b/.project
deleted file mode 100644
index 87d3522..0000000
--- a/.project
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
- MCA
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.wst.common.project.facet.core.builder
-
-
-
-
- org.eclipse.wst.validation.validationbuilder
-
-
-
-
- org.springframework.ide.eclipse.core.springbuilder
-
-
-
-
- org.springframework.ide.eclipse.boot.validation.springbootbuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.jem.workbench.JavaEMFNature
- org.eclipse.wst.common.modulecore.ModuleCoreNature
- org.eclipse.m2e.core.maven2Nature
- org.eclipse.wst.common.project.facet.core.nature
- org.eclipse.jdt.core.javanature
- org.springframework.ide.eclipse.core.springnature
- egovframework.dev.imp.ide.natures.egovnature
- org.eclipse.wst.jsdt.core.jsNature
-
-
-
- 1644803890467
-
- 30
-
- org.eclipse.core.resources.regexFilterMatcher
- node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
-
-
-
-
diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope
deleted file mode 100644
index 81672d4..0000000
--- a/.settings/.jsdtscope
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 075c81e..0000000
--- a/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/main/java=UTF-8
-encoding//src/main/webapp/WEB-INF/jsp/include/header.jsp=UTF-8
-encoding//src/main/webapp/WEB-INF/jsp/mapUseSetting.jsp=UTF-8
-encoding//src/test/java=UTF-8
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 26aef1a..0000000
--- a/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
-org.eclipse.jdt.core.compiler.processAnnotations=enabled
-org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
deleted file mode 100644
index f897a7f..0000000
--- a/.settings/org.eclipse.m2e.core.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-activeProfiles=
-eclipse.preferences.version=1
-resolveWorkspaceProjects=true
-version=1
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
deleted file mode 100644
index 8a8ed96..0000000
--- a/.settings/org.eclipse.wst.common.component
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
deleted file mode 100644
index 6d59853..0000000
--- a/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml
deleted file mode 100644
index e9fd478..0000000
--- a/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container
deleted file mode 100644
index 3bd5d0a..0000000
--- a/.settings/org.eclipse.wst.jsdt.ui.superType.container
+++ /dev/null
@@ -1 +0,0 @@
-org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name
deleted file mode 100644
index 05bd71b..0000000
--- a/.settings/org.eclipse.wst.jsdt.ui.superType.name
+++ /dev/null
@@ -1 +0,0 @@
-Window
\ No newline at end of file
diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs
deleted file mode 100644
index 04cad8c..0000000
--- a/.settings/org.eclipse.wst.validation.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-disabled=06target
-eclipse.preferences.version=1
diff --git a/.springBeans b/.springBeans
deleted file mode 100644
index 83620af..0000000
--- a/.springBeans
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- 1
-
-
-
-
-
-
-
-
- src/main/resources/egovframework/spring/context-idgen.xml
- src/main/resources/egovframework/spring/context-sqlMap.xml
- src/main/resources/egovframework/spring/context-transaction.xml
- src/main/resources/egovframework/spring/context-mapper.xml
- src/main/resources/egovframework/spring/context-common.xml
- src/main/resources/egovframework/spring/context-properties.xml
- src/main/resources/egovframework/spring/context-datasource.xml
- src/main/resources/egovframework/spring/context-validator.xml
-
-
-
-
diff --git a/src/main/java/com/mca/cmmn/mapper/LogMapper.java b/src/main/java/com/mca/cmmn/mapper/LogMapper.java
new file mode 100644
index 0000000..f517c76
--- /dev/null
+++ b/src/main/java/com/mca/cmmn/mapper/LogMapper.java
@@ -0,0 +1,12 @@
+package com.mca.cmmn.mapper;
+
+import com.mca.cmmn.vo.BaseSearchVO;
+import com.mca.cmmn.vo.LogVO;
+import egovframework.rte.psl.dataaccess.mapper.Mapper;
+
+@Mapper("logMapper")
+public interface LogMapper {
+ void insertLog(LogVO logVO);
+
+ int selectLoginCnt(BaseSearchVO searchVO);
+}
diff --git a/src/main/java/com/mca/cmmn/service/LogService.java b/src/main/java/com/mca/cmmn/service/LogService.java
new file mode 100644
index 0000000..90e5dcd
--- /dev/null
+++ b/src/main/java/com/mca/cmmn/service/LogService.java
@@ -0,0 +1,25 @@
+package com.mca.cmmn.service;
+
+import com.mca.cmmn.mapper.LogMapper;
+import com.mca.cmmn.vo.BaseSearchVO;
+import com.mca.cmmn.vo.LogVO;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+@Service("logService")
+public class LogService {
+
+ @Resource(name="logMapper")
+ LogMapper logMapper;
+
+ public void insertLog(LogVO logVO){
+ logMapper.insertLog(logVO);
+ }
+
+ public int selectLoginCnt(BaseSearchVO searchVO){
+ return logMapper.selectLoginCnt(searchVO);
+ }
+
+
+}
diff --git a/src/main/java/com/mca/cmmn/vo/BaseSearchVO.java b/src/main/java/com/mca/cmmn/vo/BaseSearchVO.java
index 84045c7..2878ed4 100644
--- a/src/main/java/com/mca/cmmn/vo/BaseSearchVO.java
+++ b/src/main/java/com/mca/cmmn/vo/BaseSearchVO.java
@@ -1,5 +1,7 @@
package com.mca.cmmn.vo;
+import java.time.LocalDate;
+
public class BaseSearchVO {
/**
@@ -34,6 +36,9 @@ public class BaseSearchVO {
/** recordCountPerPage */
private int recordCountPerPage = 10;
+ private String searchStartDate;
+ private String searchEndDate;
+
public String getSearchCondition() {
return searchCondition;
}
@@ -105,4 +110,21 @@ public class BaseSearchVO {
public void setRecordCountPerPage(int recordCountPerPage) {
this.recordCountPerPage = recordCountPerPage;
}
+
+
+ public String getSearchStartDate() {
+ return searchStartDate;
+ }
+
+ public void setSearchStartDate(String searchStartDate) {
+ this.searchStartDate = searchStartDate;
+ }
+
+ public String getSearchEndDate() {
+ return searchEndDate;
+ }
+
+ public void setSearchEndDate(String searchEndDate) {
+ this.searchEndDate = searchEndDate;
+ }
}
diff --git a/src/main/java/com/mca/cmmn/vo/LogActions.java b/src/main/java/com/mca/cmmn/vo/LogActions.java
new file mode 100644
index 0000000..e076636
--- /dev/null
+++ b/src/main/java/com/mca/cmmn/vo/LogActions.java
@@ -0,0 +1,16 @@
+package com.mca.cmmn.vo;
+
+public enum LogActions {
+ LOGIN("login"),
+ LOGOUT("logout");
+
+ private String value;
+
+ LogActions(String value) {
+ this.value = value;
+ }
+
+ public String getValue(){
+ return value;
+ }
+}
diff --git a/src/main/java/com/mca/cmmn/vo/LogVO.java b/src/main/java/com/mca/cmmn/vo/LogVO.java
new file mode 100644
index 0000000..61c4ac4
--- /dev/null
+++ b/src/main/java/com/mca/cmmn/vo/LogVO.java
@@ -0,0 +1,61 @@
+package com.mca.cmmn.vo;
+
+import java.time.LocalDateTime;
+import java.time.format.DateTimeFormatter;
+
+public class LogVO {
+
+ private String log_cd;
+ private String userid;
+ private String action;
+ private String etc;
+ private LocalDateTime created_date;
+
+ public String getLog_cd() {
+ return log_cd;
+ }
+
+ public void setLog_cd(String log_cd) {
+ this.log_cd = log_cd;
+ }
+
+ public String getUserid() {
+ return userid;
+ }
+
+ public void setUserid(String userid) {
+ this.userid = userid;
+ }
+
+ public String getAction() {
+ return action;
+ }
+
+ public void setAction(String action) {
+ this.action = action;
+ }
+
+ public String getEtc() {
+ return etc;
+ }
+
+ public void setEtc(String etc) {
+ this.etc = etc;
+ }
+
+ public LocalDateTime getCreated_date() {
+ return created_date;
+ }
+
+ public void setCreated_date(LocalDateTime created_date) {
+ this.created_date = created_date;
+ }
+
+ public void setLog(String userid, String logAction, String etc, LocalDateTime now){
+ setLog_cd(now.format(DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS")).substring(2));
+ setUserid(userid);
+ setAction(logAction);
+ setEtc(etc);
+ setCreated_date(now);
+ }
+}
diff --git a/src/main/java/com/mca/cmmn/web/AdminController.java b/src/main/java/com/mca/cmmn/web/AdminController.java
index 7504536..8644880 100644
--- a/src/main/java/com/mca/cmmn/web/AdminController.java
+++ b/src/main/java/com/mca/cmmn/web/AdminController.java
@@ -1,11 +1,15 @@
package com.mca.cmmn.web;
+import java.time.LocalDate;
+import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
+import com.mca.cmmn.service.LogService;
+import com.mca.cmmn.vo.BaseSearchVO;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
@@ -59,8 +63,56 @@ public class AdminController {
@Resource(name="fieldDataService")
private FieldDataService fieldDataService;
-
-
+
+ @Resource(name = "logService")
+ private LogService logService;
+
+ /**
+ * 대시보드 페이지 이동
+ *
+ * @param useRequestSearchVO
+ * @param model 모델 객체
+ * @return
+ * @throws
+ */
+ @RequestMapping("/dashBoard")
+ public String dashBoard(@ModelAttribute("UseRequestSearchVO") UseRequestSearchVO useRequestSearchVO, Model model) throws Exception {
+ try {
+ // 지도사용 요청 승인대기 수
+ int statusCnt = useRequestService.selectUseRequeststatusCnt();
+ model.addAttribute("statusCnt", statusCnt);
+
+ // 회원가입 승인대기 수
+ int standByCount = userService.selectUserStandByCount();
+ model.addAttribute("standByCount", standByCount);
+
+ // 확인요청 데이터
+ FieldDataSearchVO fieldDataSearchVO = new FieldDataSearchVO();
+ fieldDataSearchVO.setStatus0(1);
+ fieldDataSearchVO.setStatus1(1);
+ fieldDataSearchVO.setStatus2(1);
+ fieldDataSearchVO.setStatus3(1);
+ int standFieldData = fieldDataService.selectFieldDataCnt(fieldDataSearchVO);
+ model.addAttribute("standFieldData", standFieldData);
+
+ // 일, 월 방문자 수
+ BaseSearchVO searchVO = new BaseSearchVO();
+ LocalDate searchStartDate = LocalDate.now();
+ searchVO.setSearchStartDate(searchStartDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
+ searchVO.setSearchEndDate(searchStartDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
+ model.addAttribute("dayLoginCount", logService.selectLoginCnt(searchVO));
+ searchVO.setSearchStartDate(searchStartDate.minusMonths(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
+ model.addAttribute("monthLoginCount", logService.selectLoginCnt(searchVO));
+
+ return "admin/dashBoard";
+
+ } catch (Exception e) {
+ // TODO: handle exception
+ e.printStackTrace();
+ return "error/EgovServerError";
+ }
+ }
+
/**
* 지도 사용요청 목록을 반환한다.
*
@@ -271,7 +323,7 @@ public class AdminController {
UserVO userVO = userService.selectUserInfo(userid);
model.addAttribute("userVO", userVO);
- return "admin/userInfoView";
+ return "admin/html/userInfoView";
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
diff --git a/src/main/java/com/mca/map/vo/FieldDataSearchVO.java b/src/main/java/com/mca/map/vo/FieldDataSearchVO.java
index ae7ce84..cedd230 100644
--- a/src/main/java/com/mca/map/vo/FieldDataSearchVO.java
+++ b/src/main/java/com/mca/map/vo/FieldDataSearchVO.java
@@ -2,6 +2,52 @@ package com.mca.map.vo;
import com.mca.cmmn.vo.BaseSearchVO;
-public class FieldDataSearchVO extends BaseSearchVO{
+import java.util.List;
+public class FieldDataSearchVO extends BaseSearchVO{
+ private int status0 = 0;
+ private int status1 = 0;
+ private int status2 = 0;
+ private int status3 = 0;
+ private int status4 = 0;
+
+ public int getStatus0() {
+ return status0;
+ }
+
+ public void setStatus0(int status0) {
+ this.status0 = status0;
+ }
+
+ public int getStatus1() {
+ return status1;
+ }
+
+ public void setStatus1(int status1) {
+ this.status1 = status1;
+ }
+
+ public int getStatus2() {
+ return status2;
+ }
+
+ public void setStatus2(int status2) {
+ this.status2 = status2;
+ }
+
+ public int getStatus3() {
+ return status3;
+ }
+
+ public void setStatus3(int status3) {
+ this.status3 = status3;
+ }
+
+ public int getStatus4() {
+ return status4;
+ }
+
+ public void setStatus4(int status4) {
+ this.status4 = status4;
+ }
}
\ No newline at end of file
diff --git a/src/main/java/com/mca/sec/LoginSuccessHandler.java b/src/main/java/com/mca/sec/LoginSuccessHandler.java
index 7a5ce35..efcacbf 100644
--- a/src/main/java/com/mca/sec/LoginSuccessHandler.java
+++ b/src/main/java/com/mca/sec/LoginSuccessHandler.java
@@ -1,12 +1,17 @@
package com.mca.sec;
import java.io.IOException;
+import java.time.LocalDateTime;
+import javax.annotation.Resource;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
+import com.mca.cmmn.service.LogService;
+import com.mca.cmmn.vo.LogActions;
+import com.mca.cmmn.vo.LogVO;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AuthenticationSuccessHandler;
@@ -16,32 +21,45 @@ import com.mca.sec.UserUtil;
public class LoginSuccessHandler implements AuthenticationSuccessHandler{
private String roleName;
+ @Resource(name="logService")
+ private LogService logService;
+
+
+
@Override
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response,
Authentication authentication) throws IOException, ServletException {
// TODO Auto-generated method stub
LoginUserVO user = UserUtil.getMemberInfo();
-
- HttpSession session = request.getSession();
- session.setAttribute("userVO", user);
-
- LoginSuccessHandler loginSuccessHandler = new LoginSuccessHandler();
- authentication.getAuthorities().forEach(authority ->{
- loginSuccessHandler.roleName = authority.getAuthority();
- });
-
- if(loginSuccessHandler.roleName.equals("ROLE_USER")) {
- response.sendRedirect("/map/request");
- return;
- }else if(loginSuccessHandler.roleName.equals("ROLE_ADMIN")) {
- response.sendRedirect("/admin/request");
- return;
- }else if(loginSuccessHandler.roleName.equals("ROLE_DISABLE")) {
- response.sendRedirect("/login?fail");
- return;
- }
- response.sendRedirect("/");
+ if(user == null){
+ response.sendRedirect("/");
+ }else{
+
+ HttpSession session = request.getSession();
+ session.setAttribute("userVO", user);
+
+ LoginSuccessHandler loginSuccessHandler = new LoginSuccessHandler();
+ authentication.getAuthorities().forEach(authority ->{
+ loginSuccessHandler.roleName = authority.getAuthority();
+ });
+
+ LogVO logVO = new LogVO();
+ logVO.setLog(user.getUserid(), LogActions.LOGIN.getValue(), null, LocalDateTime.now());
+ logService.insertLog(logVO);
+
+ switch (loginSuccessHandler.roleName) {
+ case "ROLE_USER":
+ response.sendRedirect("/map/request");
+ return;
+ case "ROLE_ADMIN":
+ response.sendRedirect("/admin/dashBoard");
+ return;
+ case "ROLE_DISABLE":
+ response.sendRedirect("/login?fail");
+ return;
+ }
+ }
}
}
diff --git a/src/main/java/com/mca/sec/LogoutSuccessHandler.java b/src/main/java/com/mca/sec/LogoutSuccessHandler.java
index 05cef44..8f40574 100644
--- a/src/main/java/com/mca/sec/LogoutSuccessHandler.java
+++ b/src/main/java/com/mca/sec/LogoutSuccessHandler.java
@@ -1,16 +1,24 @@
package com.mca.sec;
import java.io.IOException;
+import java.time.LocalDateTime;
+import javax.annotation.Resource;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import com.mca.cmmn.service.LogService;
+import com.mca.cmmn.vo.LogActions;
+import com.mca.cmmn.vo.LogVO;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler;
public class LogoutSuccessHandler extends SimpleUrlLogoutSuccessHandler{
-
+
+ @Resource(name="logService")
+ private LogService logService;
+
private String successUrl = "/";
public void setSuccessUrl(String successUrl){
@@ -18,8 +26,14 @@ public class LogoutSuccessHandler extends SimpleUrlLogoutSuccessHandler{
}
public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException {
- setDefaultTargetUrl(successUrl);
- super.onLogoutSuccess(request, response, authentication);
- }
+
+ LogVO logVO = new LogVO();
+ logVO.setLog(authentication.getName(), LogActions.LOGOUT.getValue(), null, LocalDateTime.now());
+ logService.insertLog(logVO);
+
+ setDefaultTargetUrl(successUrl);
+ super.onLogoutSuccess(request, response, authentication);
+ }
+
}
diff --git a/src/main/java/com/mca/sec/service/SecurityService.java b/src/main/java/com/mca/sec/service/SecurityService.java
index 4a661e1..371e751 100644
--- a/src/main/java/com/mca/sec/service/SecurityService.java
+++ b/src/main/java/com/mca/sec/service/SecurityService.java
@@ -34,9 +34,9 @@ public class SecurityService implements UserDetailsService{
} else {
throw new UsernameNotFoundException("접속자 정보를 찾을 수 없습니다.");
}
- if (authorities.size() == 0) {
+ if (authorities.size() == 0) {
throw new UsernameNotFoundException("User " + member.getUserid()+ " has no GrantedAuthority");
- }
+ }
return new EgovUserDetails(member.getUserid(), member.getPassword(), true, true, true, true, authorities, member);
}
diff --git a/src/main/java/com/mca/util/ImgPaginationRenderer.java b/src/main/java/com/mca/util/ImgPaginationRenderer.java
index 1dfa8c6..b9775ab 100644
--- a/src/main/java/com/mca/util/ImgPaginationRenderer.java
+++ b/src/main/java/com/mca/util/ImgPaginationRenderer.java
@@ -74,6 +74,7 @@ public class ImgPaginationRenderer extends AbstractPaginationRenderer implements
*/
public void initVariables() {
+<<<<<<< HEAD
firstPageLabel = "";//"
" + " ";
previousPageLabel = "\n" +
@@ -89,6 +90,23 @@ public class ImgPaginationRenderer extends AbstractPaginationRenderer implements
"\t\t\t\t\t \n" +
"\t\t\t\t\t";
lastPageLabel = "";//"" + " ";
+=======
+ // firstPageLabel = "" + " ";
+ firstPageLabel = "";//"" + " ";
+ previousPageLabel = "\n" +
+ "\t\t\t\t\t \n" +
+ "\t\t\t\t\t\t«\n" +
+ "\t\t\t\t\t \n" +
+ "\t\t\t\t\t";
+ currentPageLabel = "{0}";
+ otherPageLabel = "{2}";
+ nextPageLabel = "\n" +
+ "\t\t\t\t\t \n" +
+ "\t\t\t\t\t\t»\n" +
+ "\t\t\t\t\t \n" +
+ "\t\t\t\t\t";
+ lastPageLabel = "";//""" + " ";
+>>>>>>> fe79f99402336104ee1532a6190dfbcb6ec1d1e3
}
@Override
diff --git a/src/main/resources/egovframework/property/globals.properties b/src/main/resources/egovframework/property/globals.properties
index f4bb33f..f421353 100644
--- a/src/main/resources/egovframework/property/globals.properties
+++ b/src/main/resources/egovframework/property/globals.properties
@@ -18,7 +18,7 @@ Global.fileStorePath = C:/MCA/upload/
#TEST DB
Global.datasource.driverClassName=com.mysql.cj.jdbc.Driver
-Global.datasource.url=jdbc:mysql://106.247.244.146:57306/gg_mobile_220214?useSSL=false&serverTimezone=UTC
+Global.datasource.url=jdbc:mysql://106.247.244.146:57306/gg_mobile_220214?useSSL=false&serverTimezone=Asia/Seoul
Global.datasource.username=root
Global.datasource.password=dbnt0928
diff --git a/src/main/resources/egovframework/spring/context-security.xml b/src/main/resources/egovframework/spring/context-security.xml
index 5c4c6d7..5622e02 100644
--- a/src/main/resources/egovframework/spring/context-security.xml
+++ b/src/main/resources/egovframework/spring/context-security.xml
@@ -36,16 +36,16 @@
+ success-handler-ref="logoutSuccessHandler" />
-
+
diff --git a/src/main/resources/egovframework/sqlmap/mappers/cmmn/logMapper.xml b/src/main/resources/egovframework/sqlmap/mappers/cmmn/logMapper.xml
new file mode 100644
index 0000000..8c991f8
--- /dev/null
+++ b/src/main/resources/egovframework/sqlmap/mappers/cmmn/logMapper.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+ insert into t_logs values(
+ #{log_cd}, #{userid}, #{action}, #{etc}, #{created_date}
+ );
+
+
+
+
\ No newline at end of file
diff --git a/src/main/resources/egovframework/sqlmap/mappers/map/fieldData.xml b/src/main/resources/egovframework/sqlmap/mappers/map/fieldData.xml
index 9d138ec..95096b2 100644
--- a/src/main/resources/egovframework/sqlmap/mappers/map/fieldData.xml
+++ b/src/main/resources/egovframework/sqlmap/mappers/map/fieldData.xml
@@ -35,16 +35,63 @@
FROM
map_field_data a LEFT JOIN t_user b ON a.userid=b.userid
WHERE 1=1
+
+
+
+
+ AND (a.region LIKE CONCAT('%',#{searchKeyword},'%')
+ OR b.name LIKE CONCAT('%',#{searchKeyword},'%')
+ OR b.company LIKE CONCAT('%',#{searchKeyword},'%'))
+
+
+ AND ${searchCondition} LIKE CONCAT('%',#{searchKeyword},'%')
+
+
+
+ AND( 1=0
+
+ OR status = 0
+
+
+ OR status = 1
+
+
+ OR status = 2
+
+
+ OR status = 3
+
+
+ OR status = 4
+
+ )
ORDER BY id DESC
LIMIT #{recordCountPerPage} OFFSET #{firstIndex}
-
-
-
-
@@ -55,9 +49,7 @@
-
+
@@ -86,11 +78,31 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ /WEB-INF/tiles/tiles.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/config/egovframework/validator/validator.xml b/src/main/webapp/WEB-INF/config/egovframework/validator/validator.xml
index 453fa36..c46139c 100644
--- a/src/main/webapp/WEB-INF/config/egovframework/validator/validator.xml
+++ b/src/main/webapp/WEB-INF/config/egovframework/validator/validator.xml
@@ -1,21 +1,21 @@
-
+
diff --git a/src/main/webapp/WEB-INF/jsp/admin/dashBoard.jsp b/src/main/webapp/WEB-INF/jsp/admin/dashBoard.jsp
new file mode 100644
index 0000000..3e764c0
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/admin/dashBoard.jsp
@@ -0,0 +1,107 @@
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+
+<%----%>
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/admin/fieldData.jsp b/src/main/webapp/WEB-INF/jsp/admin/fieldData.jsp
index 472dbc2..1e10d0a 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/fieldData.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/fieldData.jsp
@@ -1,102 +1,140 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+
+">
+
-
-
-
-
-
-
-모바일센터 관리시스템
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
-
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
- | 현장수집 데이터 |
-
- | Data ID |
- 지역 |
- 소속 |
- 담당자 |
- 수집날짜 |
- 상태 |
-
-
-
-
-
-
- |
- |
- |
- |
- |
-
-
- 수집
- 검증실패
- 검증
- 반영실패
- 반영
-
- |
-
-
-
-
- | 요청한 목록이 없습니다. |
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
현장수집 데이터(${count})
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Data ID |
+ 지역 |
+ 소속 |
+ 담당자 |
+ 수집날짜 |
+ 상태 |
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+
+
+ 수집
+ 검증실패
+ 검증
+ 반영실패
+ 반영
+
+ |
+
+
+
+
+
+ | 요청한 목록이 없습니다. |
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/admin/fieldView.jsp b/src/main/webapp/WEB-INF/jsp/admin/fieldView.jsp
index b860849..b34abdd 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/fieldView.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/fieldView.jsp
@@ -1,341 +1,118 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
-
-
-
-
-
-
-
-
-모바일센터 관리시스템
-">
-">
-">
-">
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
" rel="stylesheet">
-
-
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
- | 담당자 |
-
-
-
-
- | 소속 |
- |
- 담당자 |
- |
- 연락처 |
- |
-
-
-
-
-
-
-
- | 지도정보 |
-
-
-
-
- | 레이어 ID |
- |
- 수집일 |
- |
-
-
- | 지역 |
- |
- 상태 |
-
-
-
- 수집
-
-
- 검증실패
-
-
- 검증성공
-
-
- 반영실패
-
-
- 반영
-
-
- |
-
-
- | 설명 |
- |
- 오류내용 |
- |
-
-
-
-
-
-
-
-
-
-
-
+">
+">
-
+
+">
+
+
+
+
+
+
+
+
+
+ 담당자
+
+
+
+
+ | 소속 |
+ |
+ 이름 |
+ |
+ 연락처 |
+ |
+
+
+
+
+
+
+
+
+ 현장수집 데이터
+
+
+
+
+ | 레이어 ID |
+ |
+ 수집일 |
+ |
+
+
+ | 지역 |
+ |
+ 상태 |
+
+
+
+ 수집
+
+
+ 검증실패
+
+
+ 검증성공
+
+
+ 반영실패
+
+
+ 반영
+
+
+ |
+
+
+ | 설명 |
+ |
+ 오류내용 |
+ |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/admin/history.jsp b/src/main/webapp/WEB-INF/jsp/admin/history.jsp
index 6957725..0104825 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/history.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/history.jsp
@@ -1,85 +1,86 @@
<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
+">
-
-
-
-
-모바일센터 관리시스템
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
+
+
+
+
+
+
지도사용 이력
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
-
- | 지도사용 이력 |
-
- | 위치 |
- 작업내용 |
- 소속 |
- 담당자 |
- 날짜 |
-
-
-
-
-
-
- |
- <%----%> |
- |
- |
- |
-
-
-
-
- | 요청한 목록이 없습니다. |
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ | 위치 |
+ 소속 |
+ 담당자 |
+ 날짜 |
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+
+
+
+
+
+ | 요청한 목록이 없습니다. |
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/admin/request.jsp b/src/main/webapp/WEB-INF/jsp/admin/request.jsp
index 1ab3949..fec4896 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/request.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/request.jsp
@@ -1,12 +1,12 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
+">
+<<<<<<< HEAD
@@ -125,3 +125,116 @@
+=======
+
+
+
지도사용 요청
+
+ "/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | 번호 |
+ 작업명 |
+ 소속 |
+ 담당자 |
+ 날짜 |
+ 상태 |
+
+
+
+
+
+
+ |
+
+ |
+ |
+ |
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+ | 요청한 목록이 없습니다. |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+>>>>>>> fe79f99402336104ee1532a6190dfbcb6ec1d1e3
diff --git a/src/main/webapp/WEB-INF/jsp/admin/requestView.jsp b/src/main/webapp/WEB-INF/jsp/admin/requestView.jsp
index 5533da0..64d3a56 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/requestView.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/requestView.jsp
@@ -1,215 +1,206 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
-
-
-
-
-
-
-모바일센터 관리시스템
-">
-">
+">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
-
-<%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- | 담당자 |
-
-
-
- | 소속 |
- |
- 담당자 |
- |
- 연락처 |
- |
- 상태 |
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 담당자
+
+
+
+ | 소속 |
+ |
+ 이름 |
+ |
+ 연락처 |
+ |
+ 상태 |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
diff --git a/src/main/webapp/WEB-INF/jsp/admin/userInfo.jsp b/src/main/webapp/WEB-INF/jsp/admin/userInfo.jsp
index 31cc6ea..d7472ed 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/userInfo.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/userInfo.jsp
@@ -1,146 +1,140 @@
<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
+">
-
-
-
-
-모바일센터 관리시스템
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
-
-
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
회원관리
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/admin/userInfoView.jsp b/src/main/webapp/WEB-INF/jsp/admin/userInfoView.jsp
index 13b9985..aed74ee 100644
--- a/src/main/webapp/WEB-INF/jsp/admin/userInfoView.jsp
+++ b/src/main/webapp/WEB-INF/jsp/admin/userInfoView.jsp
@@ -1,165 +1,88 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
+
+
+
+
+
-
-
-
-
-
모바일센터 관리시스템
-">
-">
-
" rel="stylesheet">
-
" rel="stylesheet">
-
" rel="stylesheet">
-
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
회원 정보 수정
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/cmmn/dataAccessFailure.jsp b/src/main/webapp/WEB-INF/jsp/cmmn/dataAccessFailure.jsp
index bf361e5..8062b3b 100644
--- a/src/main/webapp/WEB-INF/jsp/cmmn/dataAccessFailure.jsp
+++ b/src/main/webapp/WEB-INF/jsp/cmmn/dataAccessFailure.jsp
@@ -1,13 +1,13 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-Error
+
+ Error
-
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/cmmn/egovBizException.jsp b/src/main/webapp/WEB-INF/jsp/cmmn/egovBizException.jsp
index 50e5187..3d26aac 100644
--- a/src/main/webapp/WEB-INF/jsp/cmmn/egovBizException.jsp
+++ b/src/main/webapp/WEB-INF/jsp/cmmn/egovBizException.jsp
@@ -1,13 +1,13 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-Error
+
+ Error
-
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/cmmn/egovError.jsp b/src/main/webapp/WEB-INF/jsp/cmmn/egovError.jsp
index 50e5187..3d26aac 100644
--- a/src/main/webapp/WEB-INF/jsp/cmmn/egovError.jsp
+++ b/src/main/webapp/WEB-INF/jsp/cmmn/egovError.jsp
@@ -1,13 +1,13 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-Error
+
+ Error
-
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/cmmn/transactionFailure.jsp b/src/main/webapp/WEB-INF/jsp/cmmn/transactionFailure.jsp
index 50e5187..3d26aac 100644
--- a/src/main/webapp/WEB-INF/jsp/cmmn/transactionFailure.jsp
+++ b/src/main/webapp/WEB-INF/jsp/cmmn/transactionFailure.jsp
@@ -1,13 +1,13 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-Error
+
+ Error
-
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/error/EgovAccessDenied.jsp b/src/main/webapp/WEB-INF/jsp/error/EgovAccessDenied.jsp
index 5ec03ef..631588b 100644
--- a/src/main/webapp/WEB-INF/jsp/error/EgovAccessDenied.jsp
+++ b/src/main/webapp/WEB-INF/jsp/error/EgovAccessDenied.jsp
@@ -1,67 +1,70 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
-
-
-Error
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
+
+
+ Error
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+ " rel="stylesheet">
+
-

-
-
-
-  |
- Access Denied |
-
-
-
-
-
-
-
-
-
-
-
+

+
+
+
+  |
+ Access Denied |
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/error/EgovNotFound.jsp b/src/main/webapp/WEB-INF/jsp/error/EgovNotFound.jsp
index 4a064ac..5a40b37 100644
--- a/src/main/webapp/WEB-INF/jsp/error/EgovNotFound.jsp
+++ b/src/main/webapp/WEB-INF/jsp/error/EgovNotFound.jsp
@@ -1,62 +1,65 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
-
-
-Error
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
+
+
+ Error
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+ " rel="stylesheet">
+
-

-
-
-
-  |
- 404 not found |
-
-
-
-
-
-
+

+
+
+
+  |
+ 404 not found |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/error/EgovServerError.jsp b/src/main/webapp/WEB-INF/jsp/error/EgovServerError.jsp
index b26ecb1..d955b76 100644
--- a/src/main/webapp/WEB-INF/jsp/error/EgovServerError.jsp
+++ b/src/main/webapp/WEB-INF/jsp/error/EgovServerError.jsp
@@ -1,62 +1,65 @@
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
-
-
-Error
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
+
+
+ Error
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+ " rel="stylesheet">
+
-

-
-
-
-  |
- 500 Internal Server error |
-
-
-
-
-
-
+

+
+
+
+  |
+ 500 Internal Server error |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/include/header.jsp b/src/main/webapp/WEB-INF/jsp/include/header.jsp
index c676fc9..a525ea5 100644
--- a/src/main/webapp/WEB-INF/jsp/include/header.jsp
+++ b/src/main/webapp/WEB-INF/jsp/include/header.jsp
@@ -1,60 +1,84 @@
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
+<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
-
+
-
-
-
+
+
+
-
-
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/join.jsp b/src/main/webapp/WEB-INF/jsp/join.jsp
index 61e517f..bf65c1f 100644
--- a/src/main/webapp/WEB-INF/jsp/join.jsp
+++ b/src/main/webapp/WEB-INF/jsp/join.jsp
@@ -1,168 +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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
-
-모바일센터 관리시스템
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
+
+
+
+ 모바일센터 관리시스템
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+ " rel="stylesheet">
-
+
-
-
-
- 회원 정보 입력
-
-
-
-
-
-
※ 회원 가입을 요청한 후에 승인을 기다려주세요.
-
-
-
+
+
+
+ 회원 정보 입력
+
+
+
+
+
+
+ |
+
+ |
-
-
+ var checkId = false;
+ var getId = RegExp(/^[a-zA-Z0-9]{5,12}$/);
+ var getMail = RegExp(/^[A-Za-z0-9_\.\-]+@[A-Za-z0-9\-]+\.[A-Za-z0-9\-]+/);
+
+ $(document).ready(function () {
+ $("#id").focusout(function () {
+ var id = $(this).val();
+ if (id == "" || id == undefined || id == null) {
+ $("#idMsg").text("아이디를 입력해주세요.");
+ checkId = false;
+ return false;
+ } else if (!getId.test(id)) {
+ $("#idMsg").text("5~20자의 영문 소문자, 숫자만 사용 가능합니다.");
+ checkId = false;
+ return false;
+ } else {
+ $.ajax({
+ url: "/userIdCheck",
+ type: "GET",
+ data: {
+ "checkId": id
+ },
+ success: function (data) {
+ if (data == "duplicate") {
+ $("#idMsg").text("이미 존재하는 아이디 입니다.");
+ checkId = false;
+ } else if (data == "ok") {
+ $("#idMsg").text("사용 가능한 아이디 입니다.");
+ checkId = true;
+ }
+ },
+ error: function (request, status, error) {
+ alert("접속 실패 관리자에게 문의해주세요.");
+ }
+ });
+ }
+ });
+ });
+
+ function join() {
+ var pw1 = $('#password').val();
+ var pw2 = $('#passwordCheck').val();
+ var name = $('#name').val();
+ var company = $('#company').val();
+ var tell = $('#phonenum').val();
+ var email_1 = $('#email').val();
+
+ if (!checkId) {
+ alert('아이디를 확인해주세요.');
+ $('#id').focus();
+ } else if (pw1 == "") {
+ alert('비밀번호를 입력해주세요');
+ $('#password').focus();
+ return;
+ } else if (pw2 == "") {
+ alert('비밀번호를 입력해주세요');
+ $('#passCheck').focus();
+ return;
+ } else if (pw1 != pw2) {
+ alert('비밀번호가 일치하지 않습니다.');
+ $('#pass').focus();
+ return;
+ } else if (name == "") {
+ alert('이름을 입력해주세요');
+ $('#name').focus();
+ return;
+ } else if (company == "") {
+ alert('소속기관을 입력해주세요');
+ $('#company').focus();
+ return;
+ } else if (tell == "") {
+ alert('연락처를 입력해주세요');
+ $('#phone_num').focus();
+ return;
+ } else if (email_1 == "") {
+ alert('이메일을 입력해주세요');
+ $('#email').focus();
+ return;
+ } else {
+ $("#insertFrm").submit();
+ }
+ }
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/layout/header.jsp b/src/main/webapp/WEB-INF/jsp/layout/header.jsp
new file mode 100644
index 0000000..821e4e7
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/layout/header.jsp
@@ -0,0 +1,35 @@
+<%@ 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" %>
+<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/layout/leftMenu.jsp b/src/main/webapp/WEB-INF/jsp/layout/leftMenu.jsp
new file mode 100644
index 0000000..f0fe7cb
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/layout/leftMenu.jsp
@@ -0,0 +1,54 @@
+<%@ 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="sec" uri="http://www.springframework.org/security/tags" %>
+
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/layout/template_empty.jsp b/src/main/webapp/WEB-INF/jsp/layout/template_empty.jsp
new file mode 100644
index 0000000..b175c77
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/layout/template_empty.jsp
@@ -0,0 +1,7 @@
+<%@ 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="tiles" uri="http://tiles.apache.org/tags-tiles" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+
diff --git a/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp b/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp
new file mode 100644
index 0000000..616f90e
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/layout/template_login.jsp
@@ -0,0 +1,47 @@
+<%@ 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="tiles" uri="http://tiles.apache.org/tags-tiles" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+
+
+
+
+
+
+
+ ">
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+
+
+
+
+
+
+ ">
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/layout/template_main.jsp b/src/main/webapp/WEB-INF/jsp/layout/template_main.jsp
new file mode 100644
index 0000000..c7cb9d8
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jsp/layout/template_main.jsp
@@ -0,0 +1,35 @@
+<%@ 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="tiles" uri="http://tiles.apache.org/tags-tiles" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+
+
+
+
+
+
+
+ ">
+ ">
+ ">
+ " rel="stylesheet">
+ " rel="stylesheet">
+
+
+
+
+
+ ">
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/login.jsp b/src/main/webapp/WEB-INF/jsp/login.jsp
index 660b708..2e242c8 100644
--- a/src/main/webapp/WEB-INF/jsp/login.jsp
+++ b/src/main/webapp/WEB-INF/jsp/login.jsp
@@ -1,64 +1,35 @@
-<%@ 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"%>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+<%@ 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" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-
-
-
-
-
-
- 모바일센터 관리시스템
- ">
- ">
- " rel="stylesheet">
- " rel="stylesheet">
- " rel="stylesheet">
-
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/jsp/map/request.jsp b/src/main/webapp/WEB-INF/jsp/map/request.jsp
index 5fd2d9d..1d6b7e3 100644
--- a/src/main/webapp/WEB-INF/jsp/map/request.jsp
+++ b/src/main/webapp/WEB-INF/jsp/map/request.jsp
@@ -4,31 +4,18 @@
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
-
-
-
-
-
-모바일센터 관리시스템
-">
-">
-" rel="stylesheet">
-" rel="stylesheet">
-" rel="stylesheet">
-
-
- <%@ include file="../include/header.jsp"%>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
지도사용 요청
+
+
+
+
+
- | 지도 사용 요청 목록 |
| 번호 |
작업명 |
@@ -36,97 +23,102 @@
상태 |
-
-
-
-
- | ${idx.count} |
- ${item.title} |
- ${item.r_date} |
-
-
-
-
-
-
- |
-
-
-
-
- | 요청한 목록이 없습니다. |
-
-
-
-
-
+
+
+
+
+
+
+ | ${idx.count} |
+ ${item.title} |
+ ${item.r_date} |
+
+
+
+
+
+
+ |
+
+
+
+
+ | 요청한 목록이 없습니다. |
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
-