Merge branch 'master' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/kcc_adr_advc_git
This commit is contained in:
commit
e32320b52d
@ -17,7 +17,7 @@ public class CmntVO implements Serializable {
|
||||
private String lastUpdtPnttm;/* 수정일시 */
|
||||
private String lastUpdtDay; /* 최종변경일 */
|
||||
private String lastUpdusrId; /* 수정자 */
|
||||
private String deleteYn; /* 삭제여부 */
|
||||
private String useYn; /* 삭제여부 */
|
||||
private String closeDocTy; // 종결문서구분 40 조정조서, 50 취하종결통보서, 60 직권조정결정서, 30 조정권고안, 70 불성립종결통보서
|
||||
|
||||
public String getCloseDocTy() {
|
||||
@ -104,11 +104,11 @@ public class CmntVO implements Serializable {
|
||||
public void setLastUpdusrId(String lastUpdusrId) {
|
||||
this.lastUpdusrId = lastUpdusrId;
|
||||
}
|
||||
public String getDeleteYn() {
|
||||
return deleteYn;
|
||||
public String getUseYn() {
|
||||
return useYn;
|
||||
}
|
||||
public void setDeleteYn(String deleteYn) {
|
||||
this.deleteYn = deleteYn;
|
||||
public void setUseYn(String useYn) {
|
||||
this.useYn = useYn;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -112,6 +112,12 @@ public class DntController {
|
||||
@Resource(name = "egovCryptoUtil")
|
||||
private EgovCryptoUtil egovCryptoUtil;
|
||||
|
||||
@Value("#{globalSettings['Globals.ozFont']}")
|
||||
private String ozFont;
|
||||
|
||||
@Value("#{globalSettings['Globals.ozFontPath']}")
|
||||
private String ozFontPath;
|
||||
|
||||
/**
|
||||
* 기일지정 상세 TODO daenge 기일지정 상세
|
||||
*
|
||||
@ -519,6 +525,11 @@ public class DntController {
|
||||
String ozServerNm = IpUtil.getOzServerName(serverName);
|
||||
model.addAttribute("ozServerNm", ozServerNm);
|
||||
|
||||
//오즈리포트 폰트
|
||||
model.addAttribute("ozFont", ozFont);
|
||||
//오즈리포트 폰트 경로
|
||||
model.addAttribute("ozFontPath", ozFontPath);
|
||||
|
||||
/*
|
||||
* 2022.01.06 우영두 추가
|
||||
* 오즈 리포트 File Export 처리
|
||||
|
||||
@ -26,5 +26,7 @@ public interface ExmpAppManageService {
|
||||
|
||||
RestResponse existsExmpManagerDataCheck(ExmpManageVO exmpManageVO);
|
||||
|
||||
void adjstOpinionDelect(ExmpManageVO exmpManageVO);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -63,5 +63,9 @@ public class ExmpAppManageDAO extends EgovAbstractDAO {
|
||||
return (int) select("ExmpAppManageDAO.existsExmpManagerDataCheck", exmpManageVO);
|
||||
}
|
||||
|
||||
public void adjstOpinionDelect(ExmpManageVO exmpManageVO) {
|
||||
update("ExmpAppManageDAO.adjstOpinionDelect", exmpManageVO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -84,6 +84,7 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
|
||||
|
||||
try {
|
||||
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
|
||||
exmpManageVO.setUseYn("Y");
|
||||
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
||||
// for(ExmpManageVO model : exmpManageVO.getExmpList()){
|
||||
// model.setExmpMgrId(exmpManageVO.getExmpMgrId());
|
||||
@ -124,4 +125,9 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjstOpinionDelect(ExmpManageVO exmpManageVO) {
|
||||
exmpAppManageDAO.adjstOpinionDelect(exmpManageVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,6 +68,8 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
||||
|
||||
private String atchFileId;
|
||||
|
||||
private String useYn;
|
||||
|
||||
public List<ExmpManageVO> getExmpList() {
|
||||
return exmpList;
|
||||
}
|
||||
@ -156,6 +158,14 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
||||
this.atchFileId = atchFileId;
|
||||
}
|
||||
|
||||
public String getUseYn() {
|
||||
return useYn;
|
||||
}
|
||||
|
||||
public void setUseYn(String useYn) {
|
||||
this.useYn = useYn;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
|
||||
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
@ -55,6 +56,19 @@ public class AdjstOpinionController {
|
||||
// return ResponseEntity.ok().body(adjstOpinionService.adjstFindByOpinion(adjstOpinionVO));
|
||||
// }
|
||||
|
||||
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionDelect.do")
|
||||
public String adjstOpinionDelect(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, RedirectAttributes re) throws Exception
|
||||
{
|
||||
|
||||
exmpAppManageService.adjstOpinionDelect(exmpManageVO);
|
||||
|
||||
re.addAttribute("searchCondition", exmpManageVO.getSearchCondition());
|
||||
re.addAttribute("searchKeyword", exmpManageVO.getSearchKeyword());
|
||||
re.addAttribute("pageIndex", exmpManageVO.getPageIndex());
|
||||
return "redirect:/web/kccadr/adjcclt/ai/adjstOpinionList.do";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionList.do")
|
||||
public String adjstOpinionList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception
|
||||
{
|
||||
@ -70,8 +84,6 @@ public class AdjstOpinionController {
|
||||
// exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
||||
// exmpManageVO.setSearchSortOrd("asc");
|
||||
}
|
||||
System.out.println("exmpManageVO.getSearchCondition() :: "+exmpManageVO.getSearchCondition());
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
|
||||
|
||||
@ -73,4 +73,6 @@ public interface AdjstConciliatorService {
|
||||
|
||||
void insertEndAdrPdfConversionReq(AdjstConciliatorVO adjstConciliatorVO) throws Exception;
|
||||
|
||||
void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO);
|
||||
|
||||
}
|
||||
|
||||
@ -152,4 +152,8 @@ public class AdjstConciliatorDAO extends EgovAbstractDAO {
|
||||
insert("adjstConciliatorDAO.insertEndAdrPdfConversionReq", adjstConciliatorVO);
|
||||
}
|
||||
|
||||
public void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO) {
|
||||
update("adjstConciliatorDAO.updateAdjstRecommendationCommentDelete", adjstConciliatorVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -223,11 +223,17 @@ public class AdjstConciliatorServiceImpl implements AdjstConciliatorService {
|
||||
exmpManageVO.setExmpCcTy(adjstConciliatorVO.getCmntTy());
|
||||
exmpManageVO.setExmpCn(adjstConciliatorVO.getCmntCn());
|
||||
exmpManageVO.setFrstRegisterId(adjstConciliatorVO.getFrstRegisterId());
|
||||
exmpManageVO.setUseYn("Y");
|
||||
|
||||
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO) {
|
||||
adjstConciliatorDAO.updateAdjstRecommendationCommentDelete(adjstConciliatorVO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -18,6 +18,9 @@ import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.apache.commons.lang.time.DateFormatUtils;
|
||||
import org.apache.commons.lang.time.DateUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.json.simple.JSONArray;
|
||||
import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
@ -42,6 +45,7 @@ import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.util.RedirectUrlMaker;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.com.uss.ion.bnr.service.BannerVO;
|
||||
import kcc.com.uss.ion.bnr.service.EgovBannerService;
|
||||
import kcc.com.uss.ion.cyb.service.CyberAlertManageService;
|
||||
@ -51,6 +55,10 @@ import kcc.com.uss.ion.pwm.service.PopupManageVO;
|
||||
import kcc.com.uss.ion.pwm.service.PopupzoneVO;
|
||||
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmService;
|
||||
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmVO;
|
||||
import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageService;
|
||||
import kcc.kccadr.adjPgrMgr.iam.service.InternalApprovManageVO;
|
||||
import kcc.kccadr.cmm.CmmUtil;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.let.cop.bbs.service.BoardVO;
|
||||
import kcc.let.cop.bbs.service.EgovBBSManageService;
|
||||
import kcc.let.sts.com.StatsVO;
|
||||
@ -137,6 +145,10 @@ public class EgovMainController {
|
||||
|
||||
@Resource(name = "pgrCmmService")
|
||||
private PgrCmmService cmmService;
|
||||
|
||||
@Resource(name = "internalApprovManageService")
|
||||
private InternalApprovManageService internalApprovManageService;
|
||||
|
||||
/**
|
||||
* 메인 페이지에서 각 업무 화면으로 연계하는 기능을 제공한다.
|
||||
*
|
||||
@ -417,9 +429,18 @@ public class EgovMainController {
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = "/cmm/main/exctvMainPage.do")
|
||||
public String exctvMainPage(ModelMap model, HttpSession session) throws Exception{
|
||||
public String exctvMainPage(PgrCmmVO cmmVO,
|
||||
InternalApprovManageVO internalApprovManageVO,
|
||||
ModelMap model,
|
||||
HttpSession session) throws Exception{
|
||||
|
||||
//나의 결재 요청 리스트 조회
|
||||
model.addAttribute("approvList", approvlistPaging(internalApprovManageVO, model, internalApprovManageService));
|
||||
|
||||
//사건 진행 현황 리스트 조회
|
||||
model.addAttribute("accdntList", accdntlistPaging(cmmVO, model, cmmService));
|
||||
|
||||
return "main/exctvMainView";
|
||||
// return "main/EgovMainView";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -921,4 +942,92 @@ public class EgovMainController {
|
||||
System.out.println( "CPU Usage: " + usage );
|
||||
}
|
||||
|
||||
private List<PgrCmmVO> accdntlistPaging(PgrCmmVO cmmVO, ModelMap model, PgrCmmService cmmService) throws Exception {
|
||||
|
||||
if (StringUtil.isEmpty(cmmVO.getSearchSortCnd())) { // 최초조회시 최신것 조회List
|
||||
cmmVO.setSearchSortCnd("M.ADR_NO IS NULL DESC, M.ADR_NO DESC, M.SBMT_DE");
|
||||
cmmVO.setSearchSortOrd("DESC");
|
||||
}
|
||||
|
||||
if (StringUtil.isEmpty(cmmVO.getSearchStartDt())) { // 조회일시가 null인경우
|
||||
Date today = new Date();
|
||||
cmmVO.setSearchStartDt(DateFormatUtils.format(DateUtils.addMonths(today, -1), "yyyyMMdd"));
|
||||
cmmVO.setSearchEndDt(DateFormatUtils.format(today, "yyyyMMdd"));
|
||||
}
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(cmmVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(cmmVO.getPageUnit());
|
||||
paginationInfo.setPageSize(cmmVO.getPageSize());
|
||||
|
||||
cmmVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
cmmVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
cmmVO.setRecordCountPerPage(3);
|
||||
|
||||
paginationInfo.setTotalRecordCount(cmmService.selectPgrCmmListCnt(cmmVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
return cmmService.selectPgrCmmList(cmmVO);
|
||||
|
||||
}
|
||||
private List<InternalApprovManageVO> approvlistPaging(InternalApprovManageVO internalApprovManageVO, ModelMap model, InternalApprovManageService internalApprovManageService) throws Exception {
|
||||
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if (loginVO == null) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
internalApprovManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
internalApprovManageVO.setMemSeq(loginVO.getUniqId());
|
||||
internalApprovManageVO.setSearchSbmtId(loginVO.getUniqId());
|
||||
|
||||
if("".equals(internalApprovManageVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
internalApprovManageVO.setSearchSortCnd("RS.adrNo");
|
||||
internalApprovManageVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
//내부결재 목록 페이지 접근시 결재상태 - 결재대기(01), 결재진행중(02) 상태가 기본값으로 해달라는 요청_220225_이준호수정
|
||||
if("".equals(internalApprovManageVO.getSearchStatusArr()) || internalApprovManageVO.getSearchStatusArr() == null){
|
||||
String[] defaultSearchStatusArr = {"01", "02", "03", "04"};
|
||||
internalApprovManageVO.setSearchStatusArr(defaultSearchStatusArr);
|
||||
}
|
||||
|
||||
if(StringUtils.isEmpty(internalApprovManageVO.getSearchStartDt()) && StringUtils.isEmpty(internalApprovManageVO.getSearchEndDt())){
|
||||
internalApprovManageVO.setSearchStartDt(CmmUtil.getDiffMonth(1 , "yyyy-MM-dd"));
|
||||
internalApprovManageVO.setSearchEndDt(CmmUtil.getDateNow("yyyy-MM-dd"));
|
||||
}
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(internalApprovManageVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(3);
|
||||
paginationInfo.setPageSize(internalApprovManageVO.getPageSize());
|
||||
|
||||
//위원장 아이디는 위원장이 결재 시점에서만 조회되게
|
||||
// 리스트 조건절 결재선 1,2 라인이 결재 완료이고 위원장 아이디 일때만 조회
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO = userManageService.selectUser(loginVO.getUniqId());
|
||||
|
||||
if(KccadrConstants.ADR_SBMT_TY_40.equals(userManageVO.getOfcpsNm())) {
|
||||
internalApprovManageVO.setUiWonJangId(loginVO.getUniqId());
|
||||
}
|
||||
|
||||
//22.02.08 이준호 내부결재목록 최고관리자의 경우 모든 결재가 보이게 처리 요청사항 적용
|
||||
if("ROLE_ADMIN".equals(loginVO.getAuthority())) {
|
||||
internalApprovManageVO.setAuthor(loginVO.getAuthority());
|
||||
}
|
||||
|
||||
internalApprovManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
internalApprovManageVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
internalApprovManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
paginationInfo.setTotalRecordCount(internalApprovManageService.selectInternalApprovManageCount(internalApprovManageVO));
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
return internalApprovManageService.selectInternalApprovManageList(internalApprovManageVO);
|
||||
|
||||
}
|
||||
}
|
||||
@ -169,3 +169,12 @@ Globals.pdf.webpath=/pdf/out/
|
||||
Globals.prod.islocal=local
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.prod.islocal=real
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc800\uc7a5\uacbd\ub85c
|
||||
#\uac1c\ubc1c\uc11c\ubc84
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc885\ub958
|
||||
Globals.ozFont=NanumSquareR.ttf
|
||||
@ -169,3 +169,12 @@ Globals.pdf.webpath=/pdf/out/
|
||||
Globals.prod.islocal=local
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.prod.islocal=real
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc800\uc7a5\uacbd\ub85c
|
||||
#\uac1c\ubc1c\uc11c\ubc84
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc885\ub958
|
||||
Globals.ozFont=NanumSquareR.ttf
|
||||
@ -169,3 +169,12 @@ Globals.pdf.webpath=/pdf/out/
|
||||
Globals.prod.islocal=local
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.prod.islocal=real
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc800\uc7a5\uacbd\ub85c
|
||||
#\uac1c\ubc1c\uc11c\ubc84
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#\uc2e4\uc11c\ubc84
|
||||
#Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc885\ub958
|
||||
Globals.ozFont=NanumSquareR.ttf
|
||||
@ -167,3 +167,12 @@ Globals.pdf.webpath=/pdf/out/
|
||||
#Globals.prod.islocal=local
|
||||
#\uc2e4\uc11c\ubc84
|
||||
Globals.prod.islocal=real
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc800\uc7a5\uacbd\ub85c
|
||||
#\uac1c\ubc1c\uc11c\ubc84
|
||||
#Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
#\uc2e4\uc11c\ubc84
|
||||
Globals.ozFontPath=/home/oz80/fontTestDir/
|
||||
|
||||
#\uc624\uc988\ub9ac\ud3ec\ud2b8 \ud3f0\ud2b8 \uc885\ub958
|
||||
Globals.ozFont=NanumSquareR.ttf
|
||||
@ -738,7 +738,7 @@
|
||||
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
||||
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
||||
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
||||
, A.DELETE_YN AS deleteYn /* 삭제여부" */
|
||||
, A.USE_YN AS useYn /* 사용여부" */
|
||||
, M.MEM_NAME AS memName /* 조정위원명" */
|
||||
FROM ADR_MEM_CMNT A
|
||||
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
||||
@ -761,7 +761,7 @@
|
||||
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
||||
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
||||
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
||||
, A.DELETE_YN AS deleteYn /* 삭제여부" */
|
||||
, A.USE_YN AS useYn /* 사용여부" */
|
||||
, M.MEM_NAME AS memName /* 조정위원명" */
|
||||
FROM ADR_MEM_CMNT A
|
||||
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
||||
|
||||
@ -28,6 +28,8 @@
|
||||
COUNT(1) AS TOT
|
||||
FROM ADR_EXMP_MGR T1
|
||||
WHERE T1.EXMP_CD = #exmpCd#
|
||||
AND T1.FRST_REGISTER_ID = #frstRegisterId#
|
||||
AND T1.USE_YN = 'Y'
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEmpty prepend="AND" property="searchCondition">
|
||||
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
@ -38,18 +40,6 @@
|
||||
AND T1.EXMP_CC_TY = #searchCondition#
|
||||
</isNotEmpty>
|
||||
</isNotEmpty>
|
||||
<!-- <isNotEmpty property="searchKeyword"> -->
|
||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue=""> -->
|
||||
<!-- ( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR -->
|
||||
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') ) -->
|
||||
<!-- </isEqual> -->
|
||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="1"> -->
|
||||
<!-- T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') -->
|
||||
<!-- </isEqual> -->
|
||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="2"> -->
|
||||
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') -->
|
||||
<!-- </isEqual> -->
|
||||
<!-- </isNotEmpty> -->
|
||||
</select>
|
||||
|
||||
<select id="ExmpAppManageDAO.selectExmpManagerList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
|
||||
@ -102,6 +92,8 @@
|
||||
, T1.LAST_UPDUSR_ID AS lastUpdusrId
|
||||
FROM ADR_EXMP_MGR T1
|
||||
WHERE T1.EXMP_CD = #exmpCd#
|
||||
AND T1.FRST_REGISTER_ID = #frstRegisterId#
|
||||
AND T1.USE_YN = 'Y'
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEmpty prepend="AND" property="searchCondition">
|
||||
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
@ -142,6 +134,15 @@
|
||||
EXMP_MGR_ID = #exmpMgrId#
|
||||
</update>
|
||||
|
||||
<update id="ExmpAppManageDAO.adjstOpinionDelect" parameterClass="exmpManageVO">
|
||||
UPDATE
|
||||
ADR_EXMP_MGR
|
||||
SET
|
||||
USE_YN = 'N'
|
||||
WHERE
|
||||
EXMP_MGR_ID = #exmpMgrId#
|
||||
</update>
|
||||
|
||||
<update id="ExmpAppManageDAO.updateExmpAppDetails" parameterClass="exmpManageVO">
|
||||
UPDATE
|
||||
ADR_EXMP_DTL
|
||||
@ -166,6 +167,7 @@
|
||||
, ATCH_FILE_ID
|
||||
, FRST_REGIST_PNTTM
|
||||
, FRST_REGISTER_ID
|
||||
, USE_YN
|
||||
) VALUES (
|
||||
#exmpMgrId#
|
||||
, #exmpCd#
|
||||
@ -175,6 +177,7 @@
|
||||
, #atchFileId#
|
||||
, NOW()
|
||||
, #frstRegisterId#
|
||||
, #useYn#
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
@ -1328,6 +1328,7 @@
|
||||
AND T1.ADR_SEQ = #adrSeq#
|
||||
AND T1.ADR_SN = #adrSn#
|
||||
AND T1.CMNT_TY = #cmntTy#
|
||||
AND T1.USE_YN = #useYn#
|
||||
<isNotEmpty property="memSeq">
|
||||
AND T1.MEM_SEQ = #memSeq#
|
||||
</isNotEmpty>
|
||||
@ -1420,7 +1421,8 @@
|
||||
FRST_REGIST_PNTTM,
|
||||
FRST_REGISTER_ID,
|
||||
LAST_UPDT_PNTTM,
|
||||
LAST_UPDUSR_ID
|
||||
LAST_UPDUSR_ID,
|
||||
USE_YN
|
||||
) VALUES (
|
||||
#adrSeq#,
|
||||
#adrSn#,
|
||||
@ -1431,7 +1433,8 @@
|
||||
NOW(),
|
||||
#frstRegisterId#,
|
||||
NOW(),
|
||||
#lastUpdusrId#
|
||||
#lastUpdusrId#,
|
||||
#useYn#
|
||||
)
|
||||
</update>
|
||||
|
||||
@ -1693,6 +1696,15 @@
|
||||
AND SBMT_SEQ = #sbmtSeq#
|
||||
</update>
|
||||
|
||||
<update id="adjstConciliatorDAO.updateAdjstRecommendationCommentDelete" parameterClass="AdjstConciliatorVO">
|
||||
UPDATE ADR_MEM_CMNT SET
|
||||
USE_YN = #useYn#
|
||||
,LAST_UPDT_PNTTM = NOW()
|
||||
,LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
WHERE 1=1
|
||||
AND CMNT_SEQ = #cmntSeq#
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
<!-- DASH 보드 -->
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="AdrSbmtLineMgrUsrVO" type="kcc.kccadr.advcSbmt.service.AdrSbmtLineMgrUsrVO"/>
|
||||
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="AdrSbmtLineMgrUsrDAO.table_name">
|
||||
adr_sbmt_line_mgr_usr
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ page import="java.util.Date" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@ -53,9 +54,46 @@
|
||||
listForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoApprovDetail(adrSeq, adrSn, sbmtSeq, sbmtTy){
|
||||
var listForm = document.ApprovListForm ;
|
||||
listForm.adrSeq.value = adrSeq;
|
||||
listForm.adrSn.value = adrSn;
|
||||
listForm.sbmtSeq.value = sbmtSeq;
|
||||
if(sbmtTy == '309010'){
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/iam/internalApprovManageEndDetail.do'/>";
|
||||
}else{
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/iam/internalApprovManageDetail.do'/>";
|
||||
}
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fncGoAccdntDetail(adrSeq, adrSn, reqOlCd) {
|
||||
var listForm = document.AccdntListForm;
|
||||
listForm.adrSeq.value = adrSeq;
|
||||
listForm.adrSn.value = adrSn;
|
||||
listForm.reqOlCd.value = reqOlCd;
|
||||
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fnGoList(url){
|
||||
location.href = url;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="ApprovListForm" name="ApprovListForm" method="post" commandName="internalApprovManageVO">
|
||||
<input type="hidden" name="adrSeq" value="" />
|
||||
<input type="hidden" name="adrSn" value="" />
|
||||
<input type="hidden" name="sbmtSeq" value="" />
|
||||
</form:form>
|
||||
<form:form id="AccdntListForm" name="AccdntListForm" commandName="cmmVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" />
|
||||
<input type="hidden" name="adrSn" />
|
||||
<input type="hidden" name="reqOlCd" />
|
||||
</form:form>
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- <div class="cont_tit"> -->
|
||||
@ -72,7 +110,7 @@
|
||||
<div class="tb_tit">
|
||||
<p>나의 결재 요청</p>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btn_plus" title="더보기"><i></i></button>
|
||||
<button type="button" class="btn_plus" onclick="fnGoList('/kccadr/adjPgrMgr/iam/internalApprovManageList.do');" title="더보기"><i></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list tbType01">
|
||||
@ -96,7 +134,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<td>접수결재</td>
|
||||
<td>2022조정075</td>
|
||||
<td>컴퓨터프로그램</td>
|
||||
@ -119,14 +157,65 @@
|
||||
<td>2022-09-01 18:00</td>
|
||||
<td>2022-09-01 18:00</td>
|
||||
<td>결재완료</td>
|
||||
</tr> -->
|
||||
<c:forEach var="list" items="${approvList}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<%--<font color="white"> '${list.adrSeq}','${list.adrSn}', '${list.sbmtSeq}'</font> --%>
|
||||
<a href="#none" onclick="fncGoApprovDetail('${list.adrSeq}', '${list.adrSn}', '${list.sbmtSeq}', '${list.sbmtTy}');"><p><kc:code codeId="CC013" code="${list.sbmtTy}"/></p></a>
|
||||
<%--<font color="white"> '${list.adrSeq}','${list.adrSn}', '${list.sbmtSeq}'</font> --%>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoApprovDetail('${list.adrSeq}', '${list.adrSn}', '${list.sbmtSeq}', '${list.sbmtTy}');"><p>${list.adrNo}</p></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoApprovDetail('${list.adrSeq}', '${list.adrSn}', '${list.sbmtSeq}', '${list.sbmtTy}');"><p><kc:code codeId="CC002" code="${list.ccTy}"/></p></a>
|
||||
</td>
|
||||
<td>
|
||||
<p>${list.frstRegistPnttm}</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
${list.allYn eq 'Y' ? list.lastUpdtPnttm : '-'}
|
||||
|
||||
</p>
|
||||
<%--
|
||||
<font color="white"> '${list.adrSeq}','${list.adrSn}', '${list.sbmtSeq}'</font>
|
||||
--%>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="fncGoApprovDetail('${list.adrSeq}', '${list.adrSn}', '${list.sbmtSeq}', '${list.sbmtTy}');">
|
||||
<p>
|
||||
<c:choose>
|
||||
<c:when test="${list.cfmStatCd eq '01'}">
|
||||
결재대기
|
||||
</c:when>
|
||||
<c:when test="${list.cfmStatCd eq '03'}">
|
||||
결재완료
|
||||
</c:when>
|
||||
<c:when test="${list.cfmStatCd eq '04'}">
|
||||
결재반려
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<kc:code codeId="CC041" code="${list.sbmtGradeCd}"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty approvList}">
|
||||
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tb_tit">
|
||||
<p>사건 진행 현황</p>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btn_plus" title="더보기"><i></i></button>
|
||||
<button type="button" class="btn_plus" onclick="fnGoList('/kccadr/adjPgrMgr/apm/apmList.do');" title="더보기"><i></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list tbType01">
|
||||
@ -150,7 +239,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<td>2022-09-01</td>
|
||||
<td>2022조정075</td>
|
||||
<td>홍길동</td>
|
||||
@ -173,7 +262,48 @@
|
||||
<td>편집저작물</td>
|
||||
<td>합의5부</td>
|
||||
<td>배당결재요청</td>
|
||||
</tr> -->
|
||||
<c:forEach var="item" items="${accdntList}" varStatus="status">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#" onclick="fncGoAccdntDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <c:out value="${item.sbmtDeDay}" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="fncGoAccdntDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.adrNo}" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="fncGoAccdntDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.appliCantNm}" /></p></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" onclick="fncGoAccdntDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.ccTyTx}" /></p></a>
|
||||
</td>
|
||||
<td>
|
||||
<p><c:out value="${item.memDeptNm}" /></p>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${item.statCdTx eq '' || item.statCdTx eq null }"></c:when>
|
||||
<c:when test="${item.statCd eq '104010'}">
|
||||
<p class="status_cmp">
|
||||
<c:out value="${item.statCdTx}" />
|
||||
</p>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p class="status_ing">
|
||||
<c:out value="${item.statCdTx}" />
|
||||
</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty accdntList}">
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<spring:message code="common.nodata.msg" />
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -27,7 +27,8 @@
|
||||
,{
|
||||
"adrSeq" : $("#adrSeq").val(),
|
||||
"adrSn" :$("#adrSn").val(),
|
||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_60,
|
||||
"cmntTy" : "60",
|
||||
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_60,
|
||||
"pageIndex" : pageIndex,
|
||||
"pageUnit" : 5
|
||||
}
|
||||
|
||||
@ -27,7 +27,8 @@
|
||||
,{
|
||||
"adrSeq" : $("#adrSeq").val(),
|
||||
"adrSn" :$("#adrSn").val(),
|
||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_40,
|
||||
"cmntTy" : "40",
|
||||
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_40,
|
||||
"pageIndex" : pageIndex,
|
||||
"pageUnit" : 5
|
||||
}
|
||||
|
||||
@ -27,7 +27,8 @@
|
||||
,{
|
||||
"adrSeq" : $("#adrSeq").val(),
|
||||
"adrSn" :$("#adrSn").val(),
|
||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_30,
|
||||
"cmntTy" : "30",
|
||||
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_30,
|
||||
"pageIndex" : pageIndex,
|
||||
"pageUnit" : 5
|
||||
}
|
||||
|
||||
@ -14,6 +14,11 @@
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
$('.deleteBtn').on('click', function(){
|
||||
fn_dataDelete($(this).data('info'));
|
||||
})
|
||||
|
||||
|
||||
});
|
||||
|
||||
function fncSaveCommnet(){
|
||||
@ -41,6 +46,33 @@
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
commentPageLoad();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function fn_dataDelete(cmntSeq){
|
||||
|
||||
if (!confirm("삭제 하시겠습니까?")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var data = {
|
||||
cmntSeq : cmntSeq
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/commnet/adjstRecommendationCommentDelete.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log('returnData : ', returnData);
|
||||
alert(returnData.msg);
|
||||
fncGoCommentList();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
@ -94,13 +126,15 @@
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 100px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">일자</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">조정위원</th>
|
||||
<th scope="col">삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -117,6 +151,9 @@
|
||||
<td>
|
||||
<p><c:out value='${list.cmntNm}' /></p>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btnType01 deleteBtn" data-info="${list.cmntSeq }">삭제</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${fn:length(list) eq 0}">
|
||||
|
||||
@ -44,18 +44,29 @@
|
||||
// listForm.submit();
|
||||
}
|
||||
|
||||
AdjstReq.opinionsRegistAdjstPopList();
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
$('.deleteBtn').click(function(){
|
||||
|
||||
if(confirm("삭제를 하시겠습니까?"))
|
||||
{
|
||||
$('#exmpMgrId').val($(this).data('info'));
|
||||
$('#listForm').attr('action', "<c:url value='/web/kccadr/adjcclt/ai/adjstOpinionDelect.do'/>");
|
||||
document.listForm.submit();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form:form id="listForm" name="listForm" commandName="adjstOpinionVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjstOpinionVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstOpinionVO.searchSortCnd}" />" />
|
||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstOpinionVO.searchSortOrd}" />" />
|
||||
<input type="hidden" name="searchStatus" value="<c:out value="${adjstOpinionVO.searchStatus}" />" />
|
||||
<input type="hidden" name="adrSeq" value="" />
|
||||
<input type="hidden" name="adrSn" value="" />
|
||||
</form:form>
|
||||
<form id="listForm" name="listForm" method="post">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||
<input type="hidden" name="exmpMgrId" id="exmpMgrId" value="" />
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap sub02_1" id="sub">
|
||||
@ -69,7 +80,7 @@
|
||||
<label for="searchCondition">검색조건 선택</label>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||
<label for="searchKeyword">검색 조건 입력</label>
|
||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
|
||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="내용 입력" size="20">
|
||||
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -102,10 +113,10 @@
|
||||
<kc:code codeId="CC045" code="${list.exmpCcTy}"/>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#none" onclick="javascript:AdjstReq.opinionsRegistAdjstPopDetail('${list.exmpMgrId }');"><c:out value="${list.exmpCn}" /></a>
|
||||
<a href="javascript:;" onclick="javascript:AdjstReq.opinionsRegistAdjstPopDetail('${list.exmpMgrId }');"><c:out value="${list.exmpCn}" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btnType01">삭제</button>
|
||||
<button type="button" class="btnType01 deleteBtn" data-info="<c:out value="${list.exmpMgrId }" />">삭제</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
@ -130,5 +141,6 @@
|
||||
<!-- //page -->
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -27,7 +27,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
// 레이어팝업 포커싱 이동 수정
|
||||
$("#regBtn").click(function(){
|
||||
$("#updtBtn").click(function(){
|
||||
|
||||
if($('#exmpCcTy').val() == '')
|
||||
{
|
||||
@ -42,7 +42,7 @@ $(document).ready(function(){
|
||||
}
|
||||
|
||||
|
||||
if(confirm("등록하시겠습니까?"))
|
||||
if(confirm("수정하시겠습니까?"))
|
||||
{
|
||||
// var data = {
|
||||
// exmpCcTy : $("#exmpCcTy").val()
|
||||
@ -53,7 +53,7 @@ $(document).ready(function(){
|
||||
var data = new FormData(document.createForm);
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "/web/kccadr/adjcclt/insertExmpOpinionsAjax.do",
|
||||
url: "/web/kccadr/adjcclt/updateExmpOpinionsAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
@ -100,7 +100,7 @@ $(document).ready(function(){
|
||||
<tr>
|
||||
<td>유형</td>
|
||||
<td>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${dataInfo.exmpCcTy}"/>
|
||||
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${mgrInfo.exmpCcTy }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr> -->
|
||||
@ -112,14 +112,14 @@ $(document).ready(function(){
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td>
|
||||
<textarea id="exmpCn" name="exmpCn" rows="5"><c:out value="${dataInfo.exmpCn}" /> </textarea>
|
||||
<textarea id="exmpCn" name="exmpCn" rows="5" value="<c:out value="${mgrInfo.exmpCn }" />"><c:out value="${mgrInfo.exmpCn }" /> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_wrap">
|
||||
<button class="btnType07" id="regBtn">저장</button>
|
||||
<button class="btnType07" id="updtBtn">수정</button>
|
||||
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -63,7 +63,6 @@ $(document).ready(function(){
|
||||
success:function(returnData){
|
||||
if(returnData.status == "OK"){
|
||||
alert(returnData.data);
|
||||
window.location.reload();
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user