refactor:과거이력진행중
This commit is contained in:
parent
189dbf8599
commit
f0c4533ced
@ -206,11 +206,11 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
adjReqMgrPastVO.setStatCd(KccadrConstants.ADR_NOSUCC);
|
||||
|
||||
|
||||
|
||||
//신규 조정사건 생성해 주기
|
||||
int adrCnt = 0 ;
|
||||
adrCnt = adjReqMgrPastDAO.insertAdrMgrMaster(adjReqMgrPastVO);
|
||||
|
||||
|
||||
if(adrCnt == 0) { //조정사건 생성이 실패했다면
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.BAD_REQUEST, "저장에 실패하였습니다.", LocalDateTime.now()));
|
||||
|
||||
@ -401,7 +401,7 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
|
||||
|
||||
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.OK, "조정신청 정보 저장이 완료되었습니다.", LocalDateTime.now()));
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.OK, "조정신청 정보 저장이 완료되었습니다.", adrSeq, LocalDateTime.now()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -128,6 +128,47 @@ public class AdjReqMgrPastController {
|
||||
return "kccadr/adjReqMgrPast/adjReqMgrPastBasicRegist";
|
||||
}
|
||||
|
||||
/**
|
||||
* @methodName : adjReqMgrPastProgRegist
|
||||
* @author : 이호영
|
||||
* @date : 2022.09.15
|
||||
* @description : 사건진행정보 목록
|
||||
* @param adjReqMgrPastVO
|
||||
* @param model
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping("/kccadr/adjReqMgOff/adjReqMgrPastProgRegist.do")
|
||||
public String adjReqMgrPastProgRegist(@ModelAttribute("searchVO") AdjReqMgrPastVO adjReqMgrPastVO, ModelMap model) throws Exception {
|
||||
|
||||
//로그인 권한정보 불러오기
|
||||
// LoginVO user = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null;
|
||||
// model.addAttribute("user", user);
|
||||
//
|
||||
// // 공통코드 조회
|
||||
// List<?> codeResult = cmmUseService.selectCmmCodeDetail("CC001");
|
||||
// model.addAttribute("CC001", codeResult);
|
||||
//
|
||||
// int reqPerTotCnt = 0;
|
||||
//
|
||||
// if(StringUtils.isNotBlank(adjReqMgrPastVO.getAdrSeq())) {
|
||||
//
|
||||
// //오프라인 조정 신청 정보 불러오기.
|
||||
// AdjReqMgrPastVO resultAdjReqMgrOffLine = adjReqMgrPastService.selectAdjReqMgrOffLineInfo(adjReqMgrPastVO);
|
||||
// model.addAttribute("adrVO", resultAdjReqMgrOffLine);
|
||||
// }else {
|
||||
// //기본 값 셋팅 - 대리인 여부, 신청자 분류
|
||||
// adjReqMgrPastVO.setRpplTy("10");
|
||||
// adjReqMgrPastVO.setReqTy("01");
|
||||
// model.addAttribute("adrVO", adjReqMgrPastVO);
|
||||
// }
|
||||
//
|
||||
//
|
||||
// model.addAttribute("reqPerTotCnt", reqPerTotCnt);
|
||||
|
||||
return "kccadr/adjReqMgrPast/adjReqMgrPastProgRegist";
|
||||
}
|
||||
|
||||
/**
|
||||
* @methodName : insertAdjReqMgrOffAjax
|
||||
* @author : 이호영
|
||||
|
||||
@ -41,6 +41,8 @@ public class RestResponse {
|
||||
|
||||
private String data;
|
||||
|
||||
private String dataSub;
|
||||
|
||||
private LocalDateTime timestamp;
|
||||
|
||||
private List<?> dataList;
|
||||
@ -51,6 +53,13 @@ public class RestResponse {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public RestResponse(HttpStatus status, String data, String dataSub, LocalDateTime timestamp) {
|
||||
this.status = status;
|
||||
this.data = data;
|
||||
this.dataSub = dataSub;
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public RestResponse(HttpStatus status, List<?> dataList, String data, LocalDateTime timestamp) {
|
||||
this.status = status;
|
||||
this.dataList = dataList;
|
||||
@ -90,6 +99,15 @@ public class RestResponse {
|
||||
this.dataList = dataList;
|
||||
}
|
||||
|
||||
public String getDataSub() {
|
||||
return dataSub;
|
||||
}
|
||||
|
||||
public void setDataSub(String dataSub) {
|
||||
this.dataSub = dataSub;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -123,7 +123,7 @@
|
||||
,LAST_UPDUSR_ID
|
||||
) VALUES (
|
||||
#adrSeq#
|
||||
,"400000"
|
||||
,'400000'
|
||||
,#adrNo#
|
||||
,#reqOlCd#
|
||||
,#reqCn1#
|
||||
|
||||
@ -40,9 +40,9 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="regForm" name="regForm" method="post">
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value=""/>
|
||||
</form>
|
||||
<%-- <form id="regForm" name="regForm" method="post"> --%>
|
||||
<!-- <input type="hidden" id="adrSeq" name="adrSeq" value=""/> -->
|
||||
<%-- </form> --%>
|
||||
|
||||
<form id="pop" name="pop" method="post" target="_self" action="/kccadr/adjPgrMgr/apm/popup/rpplConnNoPop.do">
|
||||
<input type="hidden" name="ccTy" value="">
|
||||
@ -1392,6 +1392,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
<form id="nextGoPageForm" action="<c:url value='/kccadr/adjReqMgOff/adjReqMgrPastProgRegist.do'>">
|
||||
<input id="adrSeq" name="adrSeq" value="">
|
||||
|
||||
</form>
|
||||
<!-- //cont -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -0,0 +1,166 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
|
||||
<%
|
||||
/**
|
||||
* @Class Name : AdjustDeptManagerList.jsp
|
||||
* @Description : 조정부관리
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2021.08.09 김봉호 최초 생성
|
||||
* @author 김봉호
|
||||
* @since 2021.08.21
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
// function fncSelectConciliatorManageList(){
|
||||
// linkPage(1);
|
||||
// }
|
||||
|
||||
// function linkPage(pageNo){
|
||||
// var listForm = document.listForm ;
|
||||
// listForm.pageIndex.value = pageNo ;
|
||||
// listForm.searchCondition.value = $('#searchCondition').val();
|
||||
// listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
// listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerList.do'/>";
|
||||
// listForm.submit();
|
||||
// }
|
||||
|
||||
// function fncCreate() {
|
||||
// var listForm = document.listForm ;
|
||||
// listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerCreate.do'/>";
|
||||
// listForm.submit();
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// function fn_egov_checkAll(){
|
||||
// var FLength = document.getElementsByName("memSeqArr").length;
|
||||
// var checkAllValue = document.getElementById('checkAll').checked;
|
||||
|
||||
// //undefined
|
||||
// if( FLength == 1){
|
||||
// document.getElementById("memSeqArr0").checked = checkAllValue;
|
||||
// } else {
|
||||
// for(var i=0; i < FLength; i++) {
|
||||
// document.getElementsByName("memSeqArr")[i].checked = checkAllValue;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// function fncDetailPage(exmpMgrId){
|
||||
// var listForm = document.listForm ;
|
||||
// listForm.exmpMgrId.value = exmpMgrId;
|
||||
// listForm.action = "<c:url value='/kccadr/adjPgrMgr/exmp/exmpAppManagerDetail.do'/>";
|
||||
// listForm.submit();
|
||||
// }
|
||||
|
||||
</script>
|
||||
<title>사건진행정보</title>
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="listForm" name="listForm" method="post">
|
||||
<%-- <input type="hidden" name="pageIndex" value="<c:out value='${exmpAppManageVO.pageIndex}' default='1' />"/> --%>
|
||||
<%-- <input type="hidden" name="searchSortCnd" value="<c:out value="${exmpAppManageVO.searchSortCnd}" />" /> --%>
|
||||
<%-- <input type="hidden" name="searchSortOrd" value="<c:out value="${exmpAppManageVO.searchSortOrd}" />" /> --%>
|
||||
<%-- <input type="hidden" name="codeId" value="<c:out value="${exmpAppManageVO.codeId}" />" /> --%>
|
||||
<!-- <input type="hidden" name="expmCcTy" value="" /> -->
|
||||
<!-- <input type="hidden" name="exmpMgrId" value="" /> -->
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>사건진행정보</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>오프라인 조정관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>과거사건등록</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">사건진행정보</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<p>총 진행 회차 : <span>??</span>건</p>
|
||||
<div class="list_util">
|
||||
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 10%">
|
||||
<col style="width: auto">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>회차</th>
|
||||
<th>결과</th>
|
||||
<th>등록/삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
1
|
||||
</td>
|
||||
<td>
|
||||
1
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
|
||||
<div class="btn_wrap btn_layout02">
|
||||
<button class="btnType02" onclick="fncCreate(); return false;" >등록</button>
|
||||
</div>
|
||||
|
||||
<!-- page -->
|
||||
<!-- <div class="page"> -->
|
||||
<%-- <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> --%>
|
||||
<!-- </div> -->
|
||||
<!-- //page -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
<!-- //cont -->
|
||||
|
||||
</form:form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1080,7 +1080,8 @@
|
||||
success: function (data) {
|
||||
console.log('data : ', data);
|
||||
if(data.status == 'OK'){
|
||||
alert(data.message);
|
||||
alert(data.data);
|
||||
dataSub
|
||||
}
|
||||
else if(data.status == 'Unauthorized')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user