통계 메뉴 수정

main
이범준 1 year ago
parent e94ecffb9b
commit ee1ef8b0f5

@ -35,21 +35,6 @@ public class Stat01Controller extends ApplicationController {
@Resource(name="userMapper") @Resource(name="userMapper")
protected UserMapper userMapper; protected UserMapper userMapper;
/** .
* @return fims/stat/stat01010-main
*/
public ModelAndView statMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/stat/stat01010-main");
mav.addObject("pageName", "stat01010-main");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
return mav;
}
/** /**
* @return * @return
*/ */

@ -0,0 +1,27 @@
package cokr.xit.fims.stat.web;
import java.util.List;
import java.util.Map;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
public class Stat02Controller extends ApplicationController {
/** .
* @return fims/stat/stat02010-main
*/
public ModelAndView statMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/stat/stat02010-main");
mav.addObject("pageName", "stat02010-main");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
return mav;
}
}

@ -0,0 +1,27 @@
package cokr.xit.fims.stat.web;
import java.util.List;
import java.util.Map;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
public class Stat03Controller extends ApplicationController {
/** .
* @return fims/stat/stat03010-main
*/
public ModelAndView statMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/stat/stat03010-main");
mav.addObject("pageName", "stat03010-main");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
return mav;
}
}

@ -0,0 +1,27 @@
package cokr.xit.fims.stat.web;
import java.util.List;
import java.util.Map;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController;
public class Stat04Controller extends ApplicationController {
/** .
* @return fims/stat/stat04010-main
*/
public ModelAndView statMain() {
ModelAndView mav = new ModelAndView();
mav.setViewName("fims/stat/stat04010-main");
mav.addObject("pageName", "stat04010-main");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
return mav;
}
}

@ -369,18 +369,48 @@ public class CmnController {
@RequestMapping(name="통계", value="/stat/stat01") @RequestMapping(name="통계", value="/stat/stat01")
class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller { class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller {
@Override
@RequestMapping(name="통계 메인", value="/010/main.do")
public ModelAndView statMain() {
return super.statMain();
}
@Override @Override
@RequestMapping(name="통계 요청", value="/010/info.do") @RequestMapping(name="통계 요청", value="/010/info.do")
public ModelAndView getStatistics(StatQuery query) { public ModelAndView getStatistics(StatQuery query) {
return super.getStatistics(query); return super.getStatistics(query);
} }
}
@Controller
@RequestMapping(name="단속 통계", value="/stat/stat02")
class Stat02Controller extends cokr.xit.fims.stat.web.Stat02Controller {
@Override
@RequestMapping(name="단속 통계 메인", value="/010/main.do")
public ModelAndView statMain() {
return super.statMain();
}
}
@Controller
@RequestMapping(name="부과 통계", value="/stat/stat03")
class Stat03Controller extends cokr.xit.fims.stat.web.Stat03Controller {
@Override
@RequestMapping(name="부과 통계 메인", value="/010/main.do")
public ModelAndView statMain() {
return super.statMain();
}
}
@Controller
@RequestMapping(name="발송 통계", value="/stat/stat04")
class Stat04Controller extends cokr.xit.fims.stat.web.Stat04Controller {
@Override
@RequestMapping(name="발송 통계 메인", value="/010/main.do")
public ModelAndView statMain() {
return super.statMain();
}
} }
@Controller @Controller

@ -1,8 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">통계1</c:set> <c:set var="prefixName" scope="request">통계 공통</c:set>
<div class="content-wrapper"> <div class="content-wrapper">
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<div class="card wrapper-list"> <div class="card wrapper-list">
@ -26,7 +25,7 @@
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<!-- 메인 조건 --> <!-- 메인 조건 -->
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1 my-2">
<!-- 업무구분 --> <!-- 업무구분 -->
<div class="col-12"> <div class="col-12">
<label class="form-label fw-bold form-search-title text-end">업무구분</label> <label class="form-label fw-bold form-search-title text-end">업무구분</label>
@ -45,36 +44,79 @@
</c:forEach> </c:forEach>
</span> </span>
</div> </div>
</div>
<div class="row g-1 my-2">
<div class="col-12">
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select">
</select>
<span class="form-search-linebox">
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" id="schDateTo--${pageName}" name="schDateTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
</div>
<div class="row g-1 my-2" id="searchForMenu--${pageName}">
</div>
<div class="row g-1 my-2 bg-lighter">
<div class="col-3"> <div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위1</label> <label class="form-label fw-bold form-search-title text-end">그룹단위1</label>
<span class="form-search-linebox"> <select name="groupLevel1" class="form-select">
</span> </select>
</div> </div>
<div class="col-3"> <div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위2</label> <label class="form-label fw-bold form-search-title text-end">그룹단위2</label>
<span class="form-search-linebox"> <select name="groupLevel2" class="form-select">
<option value="">미선택</option>
</span> </select>
</div> </div>
<div class="col-3"> <div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위3</label> <label class="form-label fw-bold form-search-title text-end">그룹단위3</label>
<span class="form-search-linebox"> <select name="groupLevel3" class="form-select">
<option value="">미선택</option>
</span> </select>
</div> </div>
<div class="col-3"> <div class="col-3">
<label class="form-label fw-bold form-search-title text-end">그룹단위4</label> <label class="form-label fw-bold form-search-title text-end">그룹단위4</label>
<span class="form-search-linebox"> <select name="groupLevel4" class="form-select">
<option value="">미선택</option>
</select>
</div>
</div>
</span> <div class="row g-1 my-2">
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">집계항목</label>
</div> </div>
</div> </div>
<div class="row g-1 my-2 bg-lighter">
<div class="col-3">
<label class="form-label fw-bold form-search-title text-end">상세목록</label>
</div>
</div>
</div> <!-- / 메인 조건 --> </div> <!-- / 메인 조건 -->
</form> </form>
</span> </span>
<span id="grid--${pageName}">
</span>
<span id="detailGrid--${pageName}">
</span>
</div> </div>
</div> </div>
@ -107,28 +149,9 @@ $(document).ready(function(){
dtlCtgr : ["FIM031"] dtlCtgr : ["FIM031"]
}; };
var codeSubsetInfoList = [
{
sourceGroup : "FIM002",
sourceCodes : ["08","09","10","11"],
targetCode : "minwon",
targetCodeVal : "민원"
},
{
sourceGroup : "FIM002",
sourceCodes : ["06","13"],
targetCode : "dobo",
targetCodeVal : "도보"
}
];
var queryInQuery1 = fnJsonArrayToFormData(codeSubsetInfoList,"codeSubsetInfoList");
var mergedQuery = { ...defaultQuery, ...queryInQuery1 };
ajax.get({ ajax.get({
url : wctx.url("/stat/stat01/010/info.do"), url : wctx.url("/stat/stat01/010/info.do"),
data : mergedQuery, data : defaultQuery,
success : (resp) => { success : (resp) => {
} }
@ -136,6 +159,8 @@ $(document).ready(function(){
} }
initDatepicker("frmSearch--${pageName}"); //달력 초기화
/************************************************************************** /**************************************************************************
* element.on * element.on
**************************************************************************/ **************************************************************************/

@ -0,0 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">단속 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat01010-main.jsp" />

@ -0,0 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">부과 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat01010-main.jsp" />

@ -0,0 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="prefixName" scope="request">발송 통계</c:set>
<jsp:include page="/WEB-INF/jsp/fims/stat/stat01010-main.jsp" />
Loading…
Cancel
Save