diff --git a/pom.xml b/pom.xml index b63d3d8a..294b6314 100644 --- a/pom.xml +++ b/pom.xml @@ -10,12 +10,12 @@ - xit-app - fims + cokr.xit.app + fims-1 0.0.1-SNAPSHOT - fims - 과태료통합관리시스템 - war + fims-1 + 과태료통합관리시스템java + jar UTF-8 @@ -218,19 +218,127 @@ - + install + ${basedir}/target + ${project.artifactId}-${project.version} + + + + ${basedir}/src/main/resources + + + + + ${basedir}/src/test/resources + ${basedir}/src/main/resources + + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + true + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + ${java.version} + UTF-8 + + + + + org.codehaus.mojo + emma-maven-plugin + 1.0-alpha-3 + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.1 + + + + - org.springframework.boot - spring-boot-maven-plugin + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 - - - org.projectlombok - lombok - - + + **/*.class + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0 + + true + xml + + **/Abstract*.java + **/*Suite.java + + + **/*Test.java + + + + + org.codehaus.mojo + emma-maven-plugin + true + + + org.apache.maven.plugins + maven-source-plugin + 2.2 + + + attach-sources + + jar + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + + + + + + + maven-snapshot + https://nas.xit.co.kr:8888/repository/maven-snapshots/ + + + + maven-release + https://nas.xit.co.kr:8888/repository/maven-releases/ + + + + + \ No newline at end of file diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java deleted file mode 100644 index 030965ae..00000000 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ /dev/null @@ -1,29 +0,0 @@ -package cokr.xit.fims; - -import org.springframework.boot.Banner; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.ImportAutoConfiguration; -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.context.annotation.ImportResource; - -import cokr.xit.base.ServletCustomizer; -import cokr.xit.base.boot.XitBaseApplication; -import cokr.xit.fims.task.TaskMvcConfig; - -@ImportAutoConfiguration({ServletCustomizer.class, TaskMvcConfig.class}) -@ImportResource("classpath:spring/context-*.xml") -@ComponentScan(basePackageClasses = cokr.xit.applib.HttpStatusCodeExceptionControllerAdvice.class) -public class FimsApplication extends XitBaseApplication { - - public static void main(String[] args) { - - final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(FimsApplication.class); - final SpringApplication application = applicationBuilder.build(); - application.setBannerMode(Banner.Mode.OFF); - application.setLogStartupInfo(false); - - application.run(args); - } - -} diff --git a/src/main/java/cokr/xit/fims/ServletInitializer.java b/src/main/java/cokr/xit/fims/ServletInitializer.java deleted file mode 100644 index 7036cfa5..00000000 --- a/src/main/java/cokr/xit/fims/ServletInitializer.java +++ /dev/null @@ -1,14 +0,0 @@ -package cokr.xit.fims; - -import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; - - - -public class ServletInitializer extends SpringBootServletInitializer { - - @Override - protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { - return application.sources(FimsApplication.class); - } -} diff --git a/src/main/java/cokr/xit/fims/base/web/MainController.java b/src/main/java/cokr/xit/fims/base/web/MainController.java index 52627125..eb68cd14 100644 --- a/src/main/java/cokr/xit/fims/base/web/MainController.java +++ b/src/main/java/cokr/xit/fims/base/web/MainController.java @@ -62,7 +62,8 @@ public class MainController extends cokr.xit.base.web.MainController { @Override public ModelAndView loginPage() { ModelAndView mav = new ModelAndView("login"); - + System.out.println("시군구...."); + System.out.println(sggCd); List sggs = sggDeptService.getSigunguList(new SigunguQuery()); if (sggs.isEmpty()) { throw new RuntimeException("No sigungu info found."); diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp deleted file mode 100644 index 41bfd13d..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp +++ /dev/null @@ -1,73 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp deleted file mode 100644 index a894a857..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp +++ /dev/null @@ -1,229 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - -기능 그룹 - -
- -
- - diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp deleted file mode 100644 index 752ca2cd..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp +++ /dev/null @@ -1,127 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - -기능 그룹 - -
-
- -
-
- - diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp deleted file mode 100644 index 1cbb834f..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp +++ /dev/null @@ -1,91 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
- - -
-
- - - - - - - - - - - - - -
- -
    -
-
-function removeAuthActions() { - dialog.alert({ - content:"선택한 기능그룹을 삭제하시겠습니까?", - onOK:() => { - ${infoPrefix}Control.removeActions(); - } - }); -} - -${infoPrefix}Control.onActionListChange = obj => { - let authority = ${infoPrefix}Control.authorities.getCurrent(); - authority = authority ? authority.AUTH_NM : ""; - let ${infoPrefix}List = ${infoPrefix}Control.actions.dataset; - let empty = ${infoPrefix}List.empty; - - let trs = - ${infoPrefix}Control.authorities.isAdmin() ? [document.getElementById("adminActions").innerHTML.replace(/{authority}/, authority)] : - empty ? - [document.getElementById("authActionNotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> - ${infoPrefix}List.inStrings(document.getElementById("authActionRow").innerHTML); <%-- from template#${infoPrefix}Row --%> - $("#authActionList").html(trs.join()); - $("#authActionToggler").prop("checked", false); - - $("#authActionPaging").setPaging({ - list:${infoPrefix}Control.actions.dataset, - prefix:${infoPrefix}Control.actions.prefix, - start:obj.actionStart, - totalSize:obj.actionTotal, - fetchSize:obj.actionFetch, - func:"${infoPrefix}Control.getActions({index})" - }); -}; - -${infoPrefix}Control.onCurrentActionChange = item => { - if (!item) return; - - let data = item.data; - let key = data.AUTH_ID + "-" + data.GRP_ID; - $("#authActionList").setCurrentRow(key); -}; - -${infoPrefix}Control.onActionSelect = selected => { - let ${infoPrefix}List = ${infoPrefix}Control.actions.dataset; - let keys = selected.map(e => ${infoPrefix}List.getKey(e)); - $("#authActionList input[type='checkbox']").each(function() { - let checkbox = $(this); - checkbox.prop("checked", keys.includes(checkbox.val())); - }); - - $("#btnRemoveAuthActions").prop("disabled", keys.length < 1); -}; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp deleted file mode 100644 index 35362699..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp +++ /dev/null @@ -1,75 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp deleted file mode 100644 index 1175b6f3..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp +++ /dev/null @@ -1,187 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - -권한 - -
- -
- - diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp deleted file mode 100644 index 8fcb38f1..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp +++ /dev/null @@ -1,100 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
- - -
-
- - - - - - - - - - - - - - - - - - -
- -
    -
-
- -function removeAuthUsers() { - dialog.alert({ - content:"선택한 사용자를 삭제하시겠습니까?", - onOK:() => { - ${infoPrefix}Control.removeUsers(); - } - }); -} - -${infoPrefix}Control.onUserListChange = obj => { - let authority = ${infoPrefix}Control.authorities.getCurrent(); - authority = authority ? authority.AUTH_NM : ""; - let ${infoPrefix}List = ${infoPrefix}Control.users.dataset; - let empty = ${infoPrefix}List.empty; - - let trs = - ${infoPrefix}Control.authorities.isImplicit() ? [document.getElementById("implicitActions").innerHTML.replace(/{authority}/, authority)] : - empty ? [document.getElementById("authUserNotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> - ${infoPrefix}List.inStrings(document.getElementById("authUserRow").innerHTML); <%-- from template#${infoPrefix}Row --%> - $("#authUserList").html(trs.join()); - $("#authUserToggler").prop("checked", false); - - $("#authUserPaging").setPaging({ - list:${infoPrefix}Control.users.dataset, - prefix:${infoPrefix}Control.users.prefix, - start:obj.userStart, - totalSize:obj.userTotal, - fetchSize:obj.userFetch, - func:"${infoPrefix}Control.users.load({index})" - }); -}; - -${infoPrefix}Control.onCurrentUserChange = item => { - if (!item) return; - - let data = item.data; - let key = data.AUTH_ID + "-" + data.USER_ID; - $("#authUserList").setCurrentRow(key); -}; - -${infoPrefix}Control.onUserSelect = selected => { - let ${infoPrefix}List = ${infoPrefix}Control.users.dataset; - let keys = selected.map(e => ${infoPrefix}List.getKey(e)); - $("#authUserList input[type='checkbox']").each(function() { - let checkbox = $(this); - checkbox.prop("checked", keys.includes(checkbox.val())); - }); - - $("#btnRemoveAuthUsers").prop("disabled", keys.length < 1); -}; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp deleted file mode 100644 index 900f0a1d..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp +++ /dev/null @@ -1,135 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
-
-
- -
- - -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp deleted file mode 100644 index 12de29ab..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp +++ /dev/null @@ -1,233 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -코드 그룹 - -
- -
- - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp b/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp deleted file mode 100644 index 5f2571a0..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp +++ /dev/null @@ -1,105 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
-
- - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp b/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp deleted file mode 100644 index 1fc77b71..00000000 --- a/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp +++ /dev/null @@ -1,102 +0,0 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> -<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -