통계관리에 30분 단위 업데이트 문구 추가

This commit is contained in:
itn 2023-09-04 16:31:43 +09:00
parent 0d4583251a
commit 047cebd75b
8 changed files with 29 additions and 16 deletions

View File

@ -4,11 +4,9 @@ import java.text.SimpleDateFormat;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
@ -18,7 +16,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes; import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import org.springframework.web.servlet.support.RequestContextUtils;
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import egovframework.rte.psl.dataaccess.util.EgovMap; import egovframework.rte.psl.dataaccess.util.EgovMap;
@ -27,11 +24,9 @@ import itn.com.cmm.EgovMessageSource;
import itn.com.cmm.LoginVO; import itn.com.cmm.LoginVO;
import itn.com.cmm.util.EgovDoubleSubmitHelper; import itn.com.cmm.util.EgovDoubleSubmitHelper;
import itn.com.cmm.util.RedirectUrlMaker; import itn.com.cmm.util.RedirectUrlMaker;
import itn.com.uss.olh.hpc.service.HackIpVO;
import itn.let.sym.log.clg.service.EtcStatService; import itn.let.sym.log.clg.service.EtcStatService;
import itn.let.sym.log.clg.service.EtcStatVO; import itn.let.sym.log.clg.service.EtcStatVO;
import itn.let.sym.log.clg.service.PopSrhVO; import itn.let.sym.log.clg.service.PopSrhVO;
import itn.let.uss.umt.service.UserDefaultVO;
/** /**
* 기타통계를 관리하기 위한 컨트롤러 클래스 * 기타통계를 관리하기 위한 컨트롤러 클래스
@ -81,9 +76,10 @@ public class EtcStatController {
SimpleDateFormat date = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat date = new SimpleDateFormat("yyyy-MM-dd");
String toDay = date.format(today); String toDay = date.format(today);
//한달 //1주
Calendar mon = Calendar.getInstance(); Calendar mon = Calendar.getInstance();
mon.add(Calendar.MONTH , -1); //mon.add(Calendar.MONTH , -1);
mon.add(Calendar.WEEK_OF_MONTH , -1);
String beforeMonthDay = new java.text.SimpleDateFormat("yyyy-MM-dd").format(mon.getTime()); String beforeMonthDay = new java.text.SimpleDateFormat("yyyy-MM-dd").format(mon.getTime());
if (null == etcStatVO.getNtceBgnde() || etcStatVO.getNtceBgnde().equals("")) { if (null == etcStatVO.getNtceBgnde() || etcStatVO.getNtceBgnde().equals("")) {

View File

@ -94,6 +94,11 @@ $(document).ready(function(){
<input type="button" class="btnType1" value="검색" onclick="fn_search(); return false;"> <input type="button" class="btnType1" value="검색" onclick="fn_search(); return false;">
</div> </div>
<div class="listTop">
<div class="rightWrap">
(30분 단위 업데이트)
</div>
</div>
<div class="tableWrap"> <div class="tableWrap">
<table class="tbType1"> <table class="tbType1">
<colgroup> <colgroup>

View File

@ -231,6 +231,7 @@ function fnSetCalMonth(val) {
<option value='Y' <c:if test="${searchVO.searchDateType == 'Y'}">selected</c:if>>연별</option> <option value='Y' <c:if test="${searchVO.searchDateType == 'Y'}">selected</c:if>>연별</option>
</select> </select>
<select name="calMonth" id="calMonth" onchange="fnSetCalMonth(this.value)"> <select name="calMonth" id="calMonth" onchange="fnSetCalMonth(this.value)">
<option value="0">전체</option>
<option value="1" <c:if test="${searchVO.calMonth == '1'}">selected</c:if> >1개월</option> <option value="1" <c:if test="${searchVO.calMonth == '1'}">selected</c:if> >1개월</option>
<option value="3" <c:if test="${searchVO.calMonth == '3'}">selected</c:if> >3개월</option> <option value="3" <c:if test="${searchVO.calMonth == '3'}">selected</c:if> >3개월</option>
<option value="6" <c:if test="${searchVO.calMonth == '6'}">selected</c:if> >6개월</option> <option value="6" <c:if test="${searchVO.calMonth == '6'}">selected</c:if> >6개월</option>

View File

@ -28,6 +28,9 @@
<head> <head>
<title>팩스 전송실적</title> <title>팩스 전송실적</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css">
.pageCont .listTop {padding:0 0 10px; text-align:right;}
</style>
<script type="text/javaScript" language="javascript"> <script type="text/javaScript" language="javascript">
$(document).ready(function(){ $(document).ready(function(){
var date = new Date(); var date = new Date();
@ -176,6 +179,9 @@ function setTodayMonth(){
<input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색"> <input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색">
</div> </div>
<div class="listTop" style>
(30분 단위 업데이트)
</div>
<c:set var="totalSentPageSum" value="0" /> <c:set var="totalSentPageSum" value="0" />
<c:set var="totalSuccessPageSum" value="0" /> <c:set var="totalSuccessPageSum" value="0" />
<c:set var="totalHoldPageSum" value="0" /> <c:set var="totalHoldPageSum" value="0" />

View File

@ -200,10 +200,11 @@
</div> </div>
<input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색"> <input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색">
</div> </div>
<div class="listTop"> <div class="listTop" style="font-weight: normal; vertical-align:bottom;">
<input type="button" style="cursor: pointer;" onclick="setTodayUpdate();" value="Today Update">
&nbsp;
(부가세 별도) (부가세 별도)
(30분 단위 업데이트)
&nbsp;
<input type="button" style="cursor: pointer; height: 30px;" onclick="setTodayUpdate();" value="Today Update">
</div> </div>
<div class="tableWrap"> <div class="tableWrap">
<table class="tbType1"> <table class="tbType1">

View File

@ -202,10 +202,11 @@
</div> </div>
<input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색"> <input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색">
</div> </div>
<div class="listTop"> <div class="listTop" style="font-weight: normal;">
<input type="button" style="cursor: pointer;" onclick="setTodayUpdate();" value="Today Update">
&nbsp;
(부가세 별도) (부가세 별도)
(매일 0시 업데이트)
&nbsp;
<input type="button" style="cursor: pointer; height: 30px;" onclick="setTodayUpdate();" value="Today Update">
</div> </div>
<div class="tableWrap"> <div class="tableWrap">
<table class="tbType1"> <table class="tbType1">

View File

@ -139,6 +139,8 @@ function fnSetCalMonth(val) {
<div class="listTop"> <div class="listTop">
<p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건</p> <p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건</p>
<div class="rightWrap"> <div class="rightWrap">
(30분 단위 업데이트)
<!-- <input type="button" class="printBtn"> --> <!-- <input type="button" class="printBtn"> -->
<select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="linkPage(1);"> <select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="linkPage(1);">
<option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option> <option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option>

View File

@ -204,10 +204,11 @@
</div> </div>
<input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색"> <input type="button" class="btnType1" onclick="fn_list_search(); return false;" value="검색">
</div> </div>
<div class="listTop"> <div class="listTop" style="font-weight: normal;">
<input type="button" style="cursor: pointer;" onclick="setTodayUpdate();" value="Today Update">
&nbsp;
(부가세 별도) (부가세 별도)
(30분 단위 업데이트)
&nbsp;
<input type="button" style="cursor: pointer; height: 30px;" onclick="setTodayUpdate();" value="Today Update">
</div> </div>
<div class="tableWrap"> <div class="tableWrap">
<table class="tbType1"> <table class="tbType1">