|
|
|
|
@ -2,6 +2,7 @@ package kcc.kccadr.adjcclt.web;
|
|
|
|
|
|
|
|
|
|
import java.time.DayOfWeek;
|
|
|
|
|
import java.time.LocalDate;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.time.format.TextStyle;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@ -10,11 +11,13 @@ import java.util.Map;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import javax.ws.rs.core.Response.Status;
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
|
@ -60,8 +63,8 @@ import kcc.kccadr.ojct.service.OjctVO;
|
|
|
|
|
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 대국민(사용자)
|
|
|
|
|
* 조정사건 관한 controller 클래스를 정의한다.
|
|
|
|
|
* 대국민(사용자) 조정사건 관한 controller 클래스를 정의한다.
|
|
|
|
|
*
|
|
|
|
|
* @author 김봉호
|
|
|
|
|
* @since 2021.08.23
|
|
|
|
|
* @version 1.0
|
|
|
|
|
@ -120,13 +123,16 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
@Resource(name = "ExmpAppManageService")
|
|
|
|
|
private ExmpAppManageService exmpAppManageService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 조정위원 대시보드 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstConciliatorDashList.do")
|
|
|
|
|
public String adjstConciliatorDashList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
public String adjstConciliatorDashList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -147,14 +153,16 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setFirstIndex(0);
|
|
|
|
|
adjstConciliatorVO.setRecordCountPerPage(5);
|
|
|
|
|
|
|
|
|
|
//List<AdjstConciliatorVO> list = adjstConciliatorService.selectAdjstConciliatorDashList(adjstConciliatorVO);
|
|
|
|
|
// List<AdjstConciliatorVO> list =
|
|
|
|
|
// adjstConciliatorService.selectAdjstConciliatorDashList(adjstConciliatorVO);
|
|
|
|
|
// 대시보드 전용 > 조정 진행목록 쿼리로 수정
|
|
|
|
|
List<AdjstConciliatorVO> list = adjstConciliatorService.selectAdjstConciliatorList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(list, null);
|
|
|
|
|
model.addAttribute("list", list);
|
|
|
|
|
|
|
|
|
|
// 조정 진행 수량 가져오기
|
|
|
|
|
//EgovMap resultMap = adjstConciliatorService.selectAdjstConciliatorDashSummary(adjstConciliatorVO);
|
|
|
|
|
// EgovMap resultMap =
|
|
|
|
|
// adjstConciliatorService.selectAdjstConciliatorDashSummary(adjstConciliatorVO);
|
|
|
|
|
// model.addAttribute("resultMap", resultMap);
|
|
|
|
|
// 대시보드 전용 > 조정 진행목록 쿼리로 수정
|
|
|
|
|
int listCnt = adjstConciliatorService.selectAdjstConciliatorCount(adjstConciliatorVO);
|
|
|
|
|
@ -162,7 +170,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
// 결재대기 수량 가져오기
|
|
|
|
|
// 대시보드 전용 > 결재 목록 조회 쿼리로 수정
|
|
|
|
|
//EgovMap resultSbmtMap = adjstConciliatorService.selectAdjstConciliatorDashSbmtSummary(adjstConciliatorVO);
|
|
|
|
|
// EgovMap resultSbmtMap =
|
|
|
|
|
// adjstConciliatorService.selectAdjstConciliatorDashSbmtSummary(adjstConciliatorVO);
|
|
|
|
|
adjstConciliatorVO.setSearchSbmtId(loginVO.getUniqId());
|
|
|
|
|
// 결재대기 조건 추가
|
|
|
|
|
String[] appliCantNmList = { "01" };
|
|
|
|
|
@ -170,7 +179,6 @@ public class AdjstConciliatorController {
|
|
|
|
|
int apmCnt = adjstConciliatorService.selectAdjstConciliatorApmCount(adjstConciliatorVO);
|
|
|
|
|
model.addAttribute("apmCnt", apmCnt);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 오늘 날짜 가져오기
|
|
|
|
|
LocalDate now = LocalDate.now();
|
|
|
|
|
int year = now.getYear(); // 년
|
|
|
|
|
@ -190,9 +198,11 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstConciliatorList.do")
|
|
|
|
|
public String adjstDeputyReqList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
public String adjstDeputyReqList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -238,7 +248,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstConciliatorDetail.do")
|
|
|
|
|
public String adjstConciliatorDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstConciliatorDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
return "/web/kccadr/adjcclt/adjstConciliatorDetail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -246,7 +257,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정진행 상세 사건정보 탭 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/tab/adjstConciliatorTabInfo.do")
|
|
|
|
|
public String adjstConciliatorTabInfo(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstConciliatorTabInfo(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
AdjstConciliatorVO master = adjstConciliatorService.selectAdjstConciliatorMaster(adjstConciliatorVO);
|
|
|
|
|
|
|
|
|
|
// 마스터 테이블 파일 정보
|
|
|
|
|
@ -261,17 +273,20 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
// 신청인만 조회
|
|
|
|
|
adjstConciliatorVO.setRpplTy(KccadrConstants.ADR_RPPL_TY_REQ);
|
|
|
|
|
List<AdjstConciliatorVO> reqPerson = adjstConciliatorService.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> reqPerson = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(reqPerson, null);
|
|
|
|
|
model.addAttribute("reqPerson", reqPerson);
|
|
|
|
|
|
|
|
|
|
// 피신청인
|
|
|
|
|
adjstConciliatorVO.setRpplTy(KccadrConstants.ADR_RPPL_TY_RES);
|
|
|
|
|
List<AdjstConciliatorVO> resPerson = adjstConciliatorService.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> resPerson = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(resPerson, null);
|
|
|
|
|
model.addAttribute("resPerson", resPerson);
|
|
|
|
|
|
|
|
|
|
//List<AdjstConciliatorVO> list = adjstConciliatorService.selectAdjstConciliatorAgentList(adjstConciliatorVO);
|
|
|
|
|
// List<AdjstConciliatorVO> list =
|
|
|
|
|
// adjstConciliatorService.selectAdjstConciliatorAgentList(adjstConciliatorVO);
|
|
|
|
|
|
|
|
|
|
// 신청인의 대리인 정보 불러오기
|
|
|
|
|
adjstConciliatorVO.setRpplTy(KccadrConstants.ADR_RPPL_TY_REQ_DEPUTY);
|
|
|
|
|
@ -290,7 +305,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
// 피신청인 대리인 정보 불러오기
|
|
|
|
|
adjstConciliatorVO.setRpplTy(KccadrConstants.ADR_RPPL_TY_RES_DEPUTY);
|
|
|
|
|
List<AdjstConciliatorVO> resDepuList = adjstConciliatorService.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> resDepuList = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorPersonList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(resDepuList, null);
|
|
|
|
|
|
|
|
|
|
// 피신청인 대리인 신청 파일 정보
|
|
|
|
|
@ -306,14 +322,19 @@ public class AdjstConciliatorController {
|
|
|
|
|
model.addAttribute("resDepuList", resDepuList);
|
|
|
|
|
|
|
|
|
|
// 기일정보
|
|
|
|
|
/*List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService.selectAdjstConciliatorFixedDateList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(fixedDateList, null);
|
|
|
|
|
model.addAttribute("fixedDateList", fixedDateList);*/
|
|
|
|
|
/*
|
|
|
|
|
* List<AdjstConciliatorVO> fixedDateList =
|
|
|
|
|
* adjstConciliatorService.selectAdjstConciliatorFixedDateList(
|
|
|
|
|
* adjstConciliatorVO); decryptInfomation(fixedDateList, null);
|
|
|
|
|
* model.addAttribute("fixedDateList", fixedDateList);
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// 기일정보 변경 정보로 받아오기 20220127 우영두 수정
|
|
|
|
|
//1개 이상의 기일변경을 요청한 경우 조정 기일 정보를 group_concat 으로 받아와서 현재 요청 날짜와 이전 날짜를 함께 보여줌 - 변경승인이 완료된 리스트만 불러옴
|
|
|
|
|
// 1개 이상의 기일변경을 요청한 경우 조정 기일 정보를 group_concat 으로 받아와서 현재 요청 날짜와 이전 날짜를 함께 보여줌 -
|
|
|
|
|
// 변경승인이 완료된 리스트만 불러옴
|
|
|
|
|
adjstConciliatorVO.setChgSts("Y");
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService.selectAdjstConciliatorChangeDateList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorChangeDateList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(fixedDateList, null);
|
|
|
|
|
model.addAttribute("fixedDateList", fixedDateList);
|
|
|
|
|
|
|
|
|
|
@ -337,14 +358,18 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/tab/adjstConciliatorTabDocs.do")
|
|
|
|
|
public String adjstConciliatorTabDocs(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
//model.addAttribute("docList", adjstConciliatorService.selectAdjstConciliatorTabDocsList(adjstConciliatorVO));
|
|
|
|
|
public String adjstConciliatorTabDocs(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
// model.addAttribute("docList",
|
|
|
|
|
// adjstConciliatorService.selectAdjstConciliatorTabDocsList(adjstConciliatorVO));
|
|
|
|
|
AdjstReqStatusVO adjstReqStatusVO = new AdjstReqStatusVO();
|
|
|
|
|
adjstReqStatusVO.setAdrSeq(adjstConciliatorVO.getAdrSeq());
|
|
|
|
|
//model.addAttribute("docList", adjstReqStatusService.selectAdjstHistoryList(adjstReqStatusVO));
|
|
|
|
|
// model.addAttribute("docList",
|
|
|
|
|
// adjstReqStatusService.selectAdjstHistoryList(adjstReqStatusVO));
|
|
|
|
|
model.addAttribute("docList", adjstReqStatusService.selectAdjstDocs20211020List(adjstReqStatusVO));
|
|
|
|
|
|
|
|
|
|
//model.addAttribute("list" , adjstReqStatusService.selectAdjstHistoryList(adjstReqStatusVO));
|
|
|
|
|
// model.addAttribute("list" ,
|
|
|
|
|
// adjstReqStatusService.selectAdjstHistoryList(adjstReqStatusVO));
|
|
|
|
|
// return "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatus";
|
|
|
|
|
|
|
|
|
|
return "/web/kccadr/adjcclt/tab/adjstConciliatorTabDocs";
|
|
|
|
|
@ -354,11 +379,14 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 기일조서 상세 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstDrtDetail.do")
|
|
|
|
|
public String adjstDrtDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, PgrCmmVO cmmVO, DrtVO drtVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstDrtDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
PgrCmmVO cmmVO, DrtVO drtVO, ModelMap model) throws Exception {
|
|
|
|
|
|
|
|
|
|
/*AdjstConciliatorVO info = adjstConciliatorService.selectAdjstDrtDetail(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(null, info);
|
|
|
|
|
model.addAttribute("info", info);*/
|
|
|
|
|
/*
|
|
|
|
|
* AdjstConciliatorVO info =
|
|
|
|
|
* adjstConciliatorService.selectAdjstDrtDetail(adjstConciliatorVO);
|
|
|
|
|
* decryptInfomation(null, info); model.addAttribute("info", info);
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
List<AssVO> assList = drtService.selectAssList(drtVO);
|
|
|
|
|
|
|
|
|
|
@ -366,7 +394,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
// (조정위원)조정진행 목록 상세 - 기일조서
|
|
|
|
|
adjstConciliatorVO.setChgSts("Y");
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService.selectAdjstConciliatorChangeDateList2(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorChangeDateList2(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(fixedDateList, null);
|
|
|
|
|
model.addAttribute("fixedDateList", fixedDateList);
|
|
|
|
|
|
|
|
|
|
@ -380,7 +409,12 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 기일조서 상세 > 자주쓰는 의견 목록 팝업
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsPopList.do")
|
|
|
|
|
public String adjstOpinionsPopList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstOpinionsPopList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
|
|
|
|
|
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
|
|
|
|
|
|
|
|
|
if (exmpManageVO.getPageUnit() != 10) {
|
|
|
|
|
exmpManageVO.setPageUnit(exmpManageVO.getPageUnit());
|
|
|
|
|
}
|
|
|
|
|
@ -415,22 +449,24 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 의견관리 목록 > 자주쓰는 의견 등록 팝업
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList.do")
|
|
|
|
|
public String adjstOpinionsRegistPopList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstOpinionsRegistPopList(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
return "/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopList";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 의견관리 목록 > 자주쓰는 의견 상세 팝업
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopDetail.do")
|
|
|
|
|
public String opinionsRegistAdjstPopDetail(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception {
|
|
|
|
|
System.out.println(" + exmpManageVO :: "+ exmpManageVO.getExmpMgrId());
|
|
|
|
|
model.addAttribute("dataInfo", exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO));
|
|
|
|
|
public String opinionsRegistAdjstPopDetail(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
Map<String, Object> resultMap = exmpAppManageService.selectExmpAppManagerInfo(exmpManageVO);;
|
|
|
|
|
|
|
|
|
|
model.addAttribute("mgrInfo", resultMap.get("mgrInfo"));
|
|
|
|
|
return "/web/kccadr/adjcclt/popup/adjstOpinionsRegistPopDetail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/insertExmpOpinionsAjax.do")
|
|
|
|
|
public ResponseEntity<RestResponse> insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
|
|
|
|
|
|
|
|
|
@ -438,30 +474,29 @@ public class AdjstConciliatorController {
|
|
|
|
|
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
|
|
|
|
return ResponseEntity.ok().body(exmpAppManageService.insertExmpAppManager(exmpManageVO));
|
|
|
|
|
}
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/web/kccadr/adjcclt/insertExmpOpinionsAjax.do")
|
|
|
|
|
public ModelAndView insertExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/updateExmpOpinionsAjax.do")
|
|
|
|
|
public ResponseEntity<RestResponse> updateExmpAppManager(ExmpManageVO exmpManageVO) throws Exception {
|
|
|
|
|
|
|
|
|
|
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
exmpManageVO.setLastUpdusrId(loginVO.getUniqId());
|
|
|
|
|
try {
|
|
|
|
|
exmpAppManageService.updateExmpManager(exmpManageVO);
|
|
|
|
|
|
|
|
|
|
System.out.println("exmpManageVO.getExmpCd : " + exmpManageVO.getExmpCd());
|
|
|
|
|
System.out.println("exmpManageVO.getCcTy : " + exmpManageVO.getExmpCcTy());
|
|
|
|
|
System.out.println("exmpManageVO.getExmpCn : " + exmpManageVO.getExmpCn());
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
return ResponseEntity.ok().body(new RestResponse(HttpStatus.BAD_REQUEST, "수정이 실패하였습니다.", LocalDateTime.now()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
exmpManageVO.setFrstRegisterId(loginVO.getUniqId());
|
|
|
|
|
|
|
|
|
|
exmpAppManageService.insertExmpAppManager(exmpManageVO);
|
|
|
|
|
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, "정상적으로 수정되었습니다.", LocalDateTime.now()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return modelAndView;
|
|
|
|
|
}*/
|
|
|
|
|
/**
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstCancleDetail.do")
|
|
|
|
|
public String adjstCancleDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstCancleDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
AdjstConciliatorVO info = adjstConciliatorService.selectAdjstCancleDetail(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(null, info);
|
|
|
|
|
model.addAttribute("info", info);
|
|
|
|
|
@ -472,7 +507,9 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 불성립종결통보서 상세 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstNoEstablishmentDetail.do")
|
|
|
|
|
public String adjstNoEstablishmentDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstNoEstablishmentDetail(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
AdjstConciliatorVO info = adjstConciliatorService.selectAdjstCancleDetail(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(null, info);
|
|
|
|
|
model.addAttribute("info", info);
|
|
|
|
|
@ -483,7 +520,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstRecommendationDetail.do")
|
|
|
|
|
public String adjstRecommendationDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstRecommendationDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
AdjstConciliatorVO info = adjstConciliatorService.selectAdjstCancleDetail(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(null, info);
|
|
|
|
|
model.addAttribute("info", info);
|
|
|
|
|
@ -494,7 +532,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstProtocolDetail.do")
|
|
|
|
|
public String adjstProtocolDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstProtocolDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
|
|
|
|
|
adjstConciliatorVO.setStatCd(KccadrConstants.ADR_JJOSU_APPR_REQ);
|
|
|
|
|
adjstConciliatorVO.setDlvryDocTy("40");
|
|
|
|
|
@ -505,7 +544,9 @@ public class AdjstConciliatorController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstMediationDecisionDetail.do")
|
|
|
|
|
public String adjstMediationDecisionDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstMediationDecisionDetail(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
AdjstConciliatorVO info = adjstConciliatorService.selectAdjstCancleDetail(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(null, info);
|
|
|
|
|
model.addAttribute("info", info);
|
|
|
|
|
@ -516,8 +557,9 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/comment/adjstRecommendationCommentList.do")
|
|
|
|
|
public String adjstRecommendationCommentList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
|
|
|
|
|
public String adjstRecommendationCommentList(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
|
|
|
|
|
if (adjstConciliatorVO.getPageUnit() != 10) {
|
|
|
|
|
adjstConciliatorVO.setPageUnit(adjstConciliatorVO.getPageUnit());
|
|
|
|
|
@ -538,6 +580,7 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
|
|
|
adjstConciliatorVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
|
|
|
|
|
|
|
|
adjstConciliatorVO.setUseYn("Y");
|
|
|
|
|
paginationInfo.setTotalRecordCount(adjstConciliatorService.selectAdjstRecommendationCommentCount(adjstConciliatorVO));
|
|
|
|
|
model.addAttribute("paginationInfo", paginationInfo);
|
|
|
|
|
List<AdjstConciliatorVO> list = adjstConciliatorService.selectAdjstRecommendationCommentList(adjstConciliatorVO);
|
|
|
|
|
@ -546,13 +589,13 @@ public class AdjstConciliatorController {
|
|
|
|
|
return "/web/kccadr/adjcclt/comment/adjstRecommendationCommentList";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 조정사건 목록 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/comment/adjstRecommendationPastCommentList.do")
|
|
|
|
|
public String adjstRecommendationPastCommentList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
|
|
|
|
|
public String adjstRecommendationPastCommentList(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
|
|
|
|
|
if (adjstConciliatorVO.getPageUnit() != 10) {
|
|
|
|
|
adjstConciliatorVO.setPageUnit(adjstConciliatorVO.getPageUnit());
|
|
|
|
|
@ -573,16 +616,20 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
|
|
|
|
adjstConciliatorVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
|
|
|
|
|
|
|
|
|
paginationInfo.setTotalRecordCount(adjstConciliatorService.selectAdjstRecommendationCommentCount(adjstConciliatorVO));
|
|
|
|
|
paginationInfo
|
|
|
|
|
.setTotalRecordCount(adjstConciliatorService.selectAdjstRecommendationCommentCount(adjstConciliatorVO));
|
|
|
|
|
model.addAttribute("paginationInfo", paginationInfo);
|
|
|
|
|
List<AdjstConciliatorVO> list = adjstConciliatorService.selectAdjstRecommendationCommentList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> list = adjstConciliatorService
|
|
|
|
|
.selectAdjstRecommendationCommentList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(list, null);
|
|
|
|
|
model.addAttribute("list", list);
|
|
|
|
|
return "/web/kccadr/adjcclt/comment/adjstRecommendationPastCommentList";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/popup/adjstRecommendationCommentDetail.do")
|
|
|
|
|
public String adjstRecommendationCommentDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
public String adjstRecommendationCommentDetail(
|
|
|
|
|
@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model)
|
|
|
|
|
throws Exception {
|
|
|
|
|
model.addAttribute("info", adjstConciliatorService.selectAdjstRecommendationCommentDetail(adjstConciliatorVO));
|
|
|
|
|
return "/web/kccadr/adjcclt/popup/adjstRecommendationCommentDetail";
|
|
|
|
|
}
|
|
|
|
|
@ -593,11 +640,13 @@ public class AdjstConciliatorController {
|
|
|
|
|
* @exception Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/commnet/adjstRecommendationCommentSave.do", method = RequestMethod.POST)
|
|
|
|
|
public ModelAndView adjReqMgrRegPaymentMultyPopupSave(HttpServletRequest request , @RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
public ModelAndView adjReqMgrRegPaymentMultyPopupSave(HttpServletRequest request,
|
|
|
|
|
@RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -610,6 +659,7 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setFrstRegisterId(loginVO.getUniqId());
|
|
|
|
|
adjstConciliatorVO.setLastUpdusrId(loginVO.getUniqId());
|
|
|
|
|
adjstConciliatorVO.setMemSeq(loginVO.getUniqId());
|
|
|
|
|
adjstConciliatorVO.setUseYn("Y");
|
|
|
|
|
|
|
|
|
|
int rs = adjstConciliatorService.insertAdjstRecommendationCommentSave(adjstConciliatorVO);
|
|
|
|
|
modelAndView.addObject("rs", (rs > 0));
|
|
|
|
|
@ -617,6 +667,47 @@ public class AdjstConciliatorController {
|
|
|
|
|
return modelAndView;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @methodName : adjstRecommendationCommentDelete
|
|
|
|
|
* @author : 이호영
|
|
|
|
|
* @date : 2022.10.18
|
|
|
|
|
* @description : 삭제 처리 (useYn='N' 처리)
|
|
|
|
|
* @param request
|
|
|
|
|
* @param adjstConciliatorVO
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/commnet/adjstRecommendationCommentDelete.do", method = RequestMethod.POST)
|
|
|
|
|
public ModelAndView adjstRecommendationCommentDelete(HttpServletRequest request,
|
|
|
|
|
@RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
|
|
|
|
|
modelAndView.addObject("result", "fail");
|
|
|
|
|
modelAndView.addObject("message", "로그인 해주세요.");
|
|
|
|
|
return modelAndView;
|
|
|
|
|
}
|
|
|
|
|
adjstConciliatorVO.setLastUpdusrId(loginVO.getUniqId());
|
|
|
|
|
adjstConciliatorVO.setUseYn("N");
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
adjstConciliatorService.updateAdjstRecommendationCommentDelete(adjstConciliatorVO);
|
|
|
|
|
modelAndView.addObject("rs", "OK");
|
|
|
|
|
modelAndView.addObject("msg", "삭제처리 되었습니다.");
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
modelAndView.addObject("rs", "FALSE");
|
|
|
|
|
modelAndView.addObject("msg", "오류가 발생하였습니다.\n관리자에게 문의해 주세요");
|
|
|
|
|
// TODO: handle exception
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return modelAndView;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
@ -624,11 +715,13 @@ public class AdjstConciliatorController {
|
|
|
|
|
* @exception Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/adjstEndConfirmSave.do", method = RequestMethod.POST)
|
|
|
|
|
public ModelAndView adjstEndConfirmSave(HttpServletRequest request , @RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
public ModelAndView adjstEndConfirmSave(HttpServletRequest request,
|
|
|
|
|
@RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -648,8 +741,10 @@ public class AdjstConciliatorController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstConciliatorApmList.do")
|
|
|
|
|
public String adjstConciliatorApmList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
public String adjstConciliatorApmList(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -671,8 +766,8 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setSearchSortOrd("desc");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(StringUtils.isEmpty(adjstConciliatorVO.getSearchStartDt()) && StringUtils.isEmpty(adjstConciliatorVO.getSearchEndDt())){
|
|
|
|
|
if (StringUtils.isEmpty(adjstConciliatorVO.getSearchStartDt())
|
|
|
|
|
&& StringUtils.isEmpty(adjstConciliatorVO.getSearchEndDt())) {
|
|
|
|
|
adjstConciliatorVO.setSearchStartDt(CmmUtil.getDiffMonth(1, "yyyy-MM-dd"));
|
|
|
|
|
adjstConciliatorVO.setSearchEndDt(CmmUtil.getDateNow("yyyy-MM-dd"));
|
|
|
|
|
}
|
|
|
|
|
@ -700,8 +795,10 @@ public class AdjstConciliatorController {
|
|
|
|
|
* 조정사건 상세 화면
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstConciliatorApmDetail.do")
|
|
|
|
|
public String adjstConciliatorApmDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO, ModelMap model) throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
public String adjstConciliatorApmDetail(@ModelAttribute("adjstConciliatorVO") AdjstConciliatorVO adjstConciliatorVO,
|
|
|
|
|
ModelMap model) throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -721,17 +818,18 @@ public class AdjstConciliatorController {
|
|
|
|
|
// 기일통지서 요청, 기일변경 요청 상태일때 기일 제출 정보를 불러온다.
|
|
|
|
|
String statCd = info.getStatCd();
|
|
|
|
|
AdjstConciliatorVO dntInfo = new AdjstConciliatorVO();
|
|
|
|
|
if(statCd.equals(KccadrConstants.ADR_APP_NTC_REQ)
|
|
|
|
|
|| statCd.equals(KccadrConstants.ADR_APP_CHG_REQ)) {
|
|
|
|
|
if (statCd.equals(KccadrConstants.ADR_APP_NTC_REQ) || statCd.equals(KccadrConstants.ADR_APP_CHG_REQ)) {
|
|
|
|
|
|
|
|
|
|
dntInfo = adjstConciliatorService.selectAdjstConciliatorDntSbmtYnInfo(adjstConciliatorVO);
|
|
|
|
|
}
|
|
|
|
|
model.addAttribute("dntInfo", dntInfo);
|
|
|
|
|
|
|
|
|
|
// 기일정보 변경 정보로 받아오기 20220127 우영두 수정
|
|
|
|
|
//1개 이상의 기일변경을 요청한 경우 조정 기일 정보를 group_concat 으로 받아와서 현재 요청 날짜와 이전 날짜를 함께 보여줌 - 변경요청이 제출되고 결재 승인이 안된 날짜 포함해서 불러옴
|
|
|
|
|
// 1개 이상의 기일변경을 요청한 경우 조정 기일 정보를 group_concat 으로 받아와서 현재 요청 날짜와 이전 날짜를 함께 보여줌 -
|
|
|
|
|
// 변경요청이 제출되고 결재 승인이 안된 날짜 포함해서 불러옴
|
|
|
|
|
adjstConciliatorVO.setChgSts("N");
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService.selectAdjstConciliatorChangeDateList(adjstConciliatorVO);
|
|
|
|
|
List<AdjstConciliatorVO> fixedDateList = adjstConciliatorService
|
|
|
|
|
.selectAdjstConciliatorChangeDateList(adjstConciliatorVO);
|
|
|
|
|
decryptInfomation(fixedDateList, null);
|
|
|
|
|
model.addAttribute("fixedDateList", fixedDateList);
|
|
|
|
|
|
|
|
|
|
@ -744,11 +842,13 @@ public class AdjstConciliatorController {
|
|
|
|
|
* @exception Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do", method = RequestMethod.POST)
|
|
|
|
|
public ModelAndView adjstConciliatorApmSave(HttpServletRequest request , @RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
public ModelAndView adjstConciliatorApmSave(HttpServletRequest request,
|
|
|
|
|
@RequestBody AdjstConciliatorVO adjstConciliatorVO) throws Exception {
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -763,18 +863,17 @@ public class AdjstConciliatorController {
|
|
|
|
|
adjstConciliatorVO.setSbmtId(loginVO.getUniqId());
|
|
|
|
|
|
|
|
|
|
// 결제 전 상태를 체크한다..
|
|
|
|
|
String s_process_check_result = checkAdrProcessUtil.processCheck(adjstConciliatorVO.getAdrSeq(), adjstConciliatorVO.getSbmtTy());
|
|
|
|
|
String s_process_check_result = checkAdrProcessUtil.processCheck(adjstConciliatorVO.getAdrSeq(),
|
|
|
|
|
adjstConciliatorVO.getSbmtTy());
|
|
|
|
|
if (!"".equals(s_process_check_result)) {
|
|
|
|
|
modelAndView.addObject("result", KccadrConstants.FAIL);
|
|
|
|
|
modelAndView.addObject("message", s_process_check_result);
|
|
|
|
|
return modelAndView;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 이력관리를 위한 adr_hstry_mgr_detail - 2022-09-07 controller #1
|
|
|
|
|
String s_adrHstryMgrSeq = adrHstryMgrSeqGnrService.getNextStringId();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int rs = adjstConciliatorService.updateConciliatorApmSave(adjstConciliatorVO);
|
|
|
|
|
if (rs > 0) {
|
|
|
|
|
// 결재 후 상태 조회
|
|
|
|
|
@ -783,19 +882,19 @@ public class AdjstConciliatorController {
|
|
|
|
|
if ("Y".equals(statInfo.getAllYn())) {
|
|
|
|
|
AdjReqMgrVO arv = new AdjReqMgrVO();
|
|
|
|
|
arv.setAdrSeq(adjstConciliatorVO.getAdrSeq()); // 조정일련번호
|
|
|
|
|
arv.setStatCd(CmmUtil.getDynamicStatCd(adjstConciliatorVO.getSbmtTy(), KccadrConstants.ADR_STAT_CRM)); // 최종 변경 상태값
|
|
|
|
|
arv.setStatCd(CmmUtil.getDynamicStatCd(adjstConciliatorVO.getSbmtTy(), KccadrConstants.ADR_STAT_CRM)); // 최종
|
|
|
|
|
// 변경
|
|
|
|
|
// 상태값
|
|
|
|
|
arv.setLastUpdusrId(loginVO.getUniqId()); // 최종 변경자
|
|
|
|
|
kccadrMgrUdtService.updateAdrMgrUdt(arv
|
|
|
|
|
, s_adrHstryMgrSeq
|
|
|
|
|
);
|
|
|
|
|
kccadrMgrUdtService.updateAdrMgrUdt(arv, s_adrHstryMgrSeq);
|
|
|
|
|
} else if ("Y".equals(statInfo.getRejectYn())) {
|
|
|
|
|
AdjReqMgrVO arv = new AdjReqMgrVO();
|
|
|
|
|
arv.setAdrSeq(adjstConciliatorVO.getAdrSeq()); // 조정일련번호
|
|
|
|
|
arv.setStatCd(CmmUtil.getDynamicStatCd(adjstConciliatorVO.getSbmtTy(), KccadrConstants.ADR_STAT_RJT)); // 최종 변경 상태값
|
|
|
|
|
arv.setStatCd(CmmUtil.getDynamicStatCd(adjstConciliatorVO.getSbmtTy(), KccadrConstants.ADR_STAT_RJT)); // 최종
|
|
|
|
|
// 변경
|
|
|
|
|
// 상태값
|
|
|
|
|
arv.setLastUpdusrId(loginVO.getUniqId()); // 최종 변경자
|
|
|
|
|
kccadrMgrUdtService.updateAdrMgrUdt(arv
|
|
|
|
|
, s_adrHstryMgrSeq
|
|
|
|
|
);
|
|
|
|
|
kccadrMgrUdtService.updateAdrMgrUdt(arv, s_adrHstryMgrSeq);
|
|
|
|
|
}
|
|
|
|
|
modelAndView.addObject("rs", (rs > 0));
|
|
|
|
|
modelAndView.addObject("result", KccadrConstants.SUCCESS);
|
|
|
|
|
@ -821,12 +920,15 @@ public class AdjstConciliatorController {
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/ai/dntUpdApprYnAjax.do")
|
|
|
|
|
public ModelAndView dntUpdApprYnAjax(@ModelAttribute("dntVO") DntVO dntVO, ModelMap model, RedirectAttributes redirectAttributes, final MultipartHttpServletRequest multiRequest) throws Exception {
|
|
|
|
|
public ModelAndView dntUpdApprYnAjax(@ModelAttribute("dntVO") DntVO dntVO, ModelMap model,
|
|
|
|
|
RedirectAttributes redirectAttributes, final MultipartHttpServletRequest multiRequest) throws Exception {
|
|
|
|
|
|
|
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
|
|
modelAndView.setViewName("jsonView");
|
|
|
|
|
|
|
|
|
|
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
|
|
|
|
|
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()
|
|
|
|
|
? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser()
|
|
|
|
|
: null;
|
|
|
|
|
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
|
|
|
|
|
dntVO.setFrstRegisterId(userId);
|
|
|
|
|
dntVO.setLastUpdusrId(userId);
|
|
|
|
|
@ -837,20 +939,18 @@ public class AdjstConciliatorController {
|
|
|
|
|
if (dntVO.getApprYn().equals("Y")) {
|
|
|
|
|
|
|
|
|
|
// 승인 처리
|
|
|
|
|
dntService.dntUpdApprYnY(dntVO
|
|
|
|
|
, "조정진행관리>>조정진행목록>조정진행상세>기일등록>조정기일지정-통지확인요청-Y" //String p_code_desc - CC199
|
|
|
|
|
dntService.dntUpdApprYnY(dntVO, "조정진행관리>>조정진행목록>조정진행상세>기일등록>조정기일지정-통지확인요청-Y" // String p_code_desc -
|
|
|
|
|
// CC199
|
|
|
|
|
, "A135" // String p_stat_cd
|
|
|
|
|
, dntVO.getAssHstrySeq()
|
|
|
|
|
);
|
|
|
|
|
, dntVO.getAssHstrySeq());
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
// 반려 처리 - 제출 이전의 상태로 변경함 (sbmt_yn : N, appr_yn : n 상태로 만듬)
|
|
|
|
|
dntService.dntUpdApprYnN(dntVO
|
|
|
|
|
, "조정진행관리>>조정진행목록>조정진행상세>기일등록>조정기일지정-통지확인요청-N" //String p_code_desc - CC199
|
|
|
|
|
dntService.dntUpdApprYnN(dntVO, "조정진행관리>>조정진행목록>조정진행상세>기일등록>조정기일지정-통지확인요청-N" // String p_code_desc -
|
|
|
|
|
// CC199
|
|
|
|
|
, "A136" // String p_stat_cd
|
|
|
|
|
, ""
|
|
|
|
|
);
|
|
|
|
|
, "");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -862,14 +962,15 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 조정위원 조정진행 상세 - 이의신청 목록 화면
|
|
|
|
|
*
|
|
|
|
|
* */
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping("/web/kccadr/adjcclt/adjstOjctList.do")
|
|
|
|
|
public String adjstOjctList(@ModelAttribute("ojctVO") OjctVO ojctVO, ModelMap model, HttpServletRequest request) throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
public String adjstOjctList(@ModelAttribute("ojctVO") OjctVO ojctVO, ModelMap model, HttpServletRequest request)
|
|
|
|
|
throws Exception {
|
|
|
|
|
String auth = EgovUserDetailsHelper.isAuthenticated() ? null
|
|
|
|
|
: EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
|
|
|
|
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
|
|
|
|
|
|
|
|
|
if (loginVO == null) {
|
|
|
|
|
@ -919,7 +1020,6 @@ public class AdjstConciliatorController {
|
|
|
|
|
return "/web/kccadr/adjcclt/popup/adjstOjctDetail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void decryptInfomation(List<AdjstConciliatorVO> list, AdjstConciliatorVO info) {
|
|
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
|
|
for (AdjstConciliatorVO model : list) {
|
|
|
|
|
@ -933,7 +1033,6 @@ public class AdjstConciliatorController {
|
|
|
|
|
model.setRpplRealAddr(egovCryptoUtil.decrypt(model.getRpplRealAddr()));
|
|
|
|
|
model.setRpplRealAddrDtl(egovCryptoUtil.decrypt(model.getRpplRealAddrDtl()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.setDepuTyNm(egovCryptoUtil.decrypt(model.getDepuTyNm()));
|
|
|
|
|
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
|
|
|
|
|
|
|
|
|
@ -977,8 +1076,6 @@ public class AdjstConciliatorController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 피신청인 다중으로 가져왔을때..
|
|
|
|
|
if (StringUtils.isNotBlank(model.getResPonDentNms())) {
|
|
|
|
|
String[] resNms = model.getResPonDentNms().split("\\|");
|
|
|
|
|
@ -1105,5 +1202,4 @@ public class AdjstConciliatorController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|