조정사건 기록열람 신청 메뉴 추가

This commit is contained in:
JooYoung 2022-10-20 20:34:57 +09:00
parent 16def35184
commit 14411bd476
22 changed files with 1102 additions and 356 deletions

View File

@ -28,4 +28,8 @@ public interface AdjstIncidentService {
AdjstIncidentVO selectApmChgDateInfo(AdjstIncidentVO adjstIncidentVO) throws Exception;
List<AdjstIncidentVO> selectAdjstIncidentPopList(AdjstIncidentVO adjstIncidentVO) throws Exception;
int selectAdjstIncidentPopCount(AdjstIncidentVO adjstIncidentVO) throws Exception;
}

View File

@ -50,4 +50,11 @@ public class AdjstIncidentDAO extends EgovAbstractDAO {
return (AdjstIncidentVO) select("adjstIncidentDAO.selectApmChgDateInfo", adjstIncidentVO);
}
public int selectAdjstIncidentPopCount(AdjstIncidentVO adjstIncidentVO) throws Exception {
return (Integer) select("adjstIncidentDAO.selectAdjstIncidentPopCount", adjstIncidentVO);
}
public List<AdjstIncidentVO> selectAdjstIncidentPopList(AdjstIncidentVO adjstIncidentVO) throws Exception {
return (List<AdjstIncidentVO>) list("adjstIncidentDAO.selectAdjstIncidentPopList", adjstIncidentVO);
}
}

View File

@ -63,4 +63,13 @@ public class AdjstIncidentServiceImpl implements AdjstIncidentService {
return adjstIncidentDAO.selectApmChgDateInfo(adjstIncidentVO);
}
@Override
public List<AdjstIncidentVO> selectAdjstIncidentPopList(AdjstIncidentVO adjstIncidentVO) throws Exception {
return adjstIncidentDAO.selectAdjstIncidentPopList(adjstIncidentVO);
}
@Override
public int selectAdjstIncidentPopCount(AdjstIncidentVO adjstIncidentVO) throws Exception {
return adjstIncidentDAO.selectAdjstIncidentPopCount(adjstIncidentVO);
}
}

View File

@ -1,8 +1,9 @@
package kcc.kccadr.accdnt.ars.web;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
@ -11,31 +12,42 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.json.simple.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import com.fasterxml.jackson.core.io.JsonStringEncoder;
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.EgovMessageSource;
import kcc.com.cmm.LoginVO;
import kcc.com.cmm.service.EgovFileMngService;
import kcc.com.cmm.service.FileVO;
import kcc.com.cmm.util.IpUtil;
import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.fcc.service.EgovStringUtil;
import kcc.kccadr.accdnt.ai.service.AdjstIncidentService;
import kcc.kccadr.accdnt.ai.service.AdjstIncidentVO;
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusService;
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusVO;
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmService;
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmVO;
import kcc.kccadr.adjPgrMgr.exmp.app.service.ExmpAppManageService;
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
import kcc.kccadr.adjclsmgr.service.AdjClsMgrService;
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
import kcc.kccadr.advc.service.AdrHstryMgrService;
import kcc.kccadr.advc.service.AdrHstryMgrVO;
import kcc.kccadr.advcRecord.service.AdrRecordReadingService;
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
import kcc.kccadr.cmm.KccadrConstants;
import kcc.kccadr.kccadrCom.service.KccadrCommonSearchVO;
import kcc.kccadr.kccadrCom.service.KccadrCommonService;
@ -64,6 +76,9 @@ public class AdjstReqStatusController {
private static final Logger LOGGER = LoggerFactory.getLogger(AdjstReqStatusController.class);
@Value("#{globalSettings['Globals.prod.islocal']}")
private String prodIsLocal;
@Resource(name = "EgovFileMngService")
private EgovFileMngService fileService;
@ -89,6 +104,16 @@ public class AdjstReqStatusController {
@Resource(name = "ExmpAppManageService")
private ExmpAppManageService exmpAppManageService;
@Resource(name = "pgrCmmService")
private PgrCmmService cmmService;
@Resource(name = "adrRecordReadingService")
private AdrRecordReadingService adrRecordReadingService;
// eGov 공통 메세지
@Resource(name = "egovMessageSource")
EgovMessageSource egovMessageSource;
/**
* 조정진행 상태 관리 목록 화면
*/
@ -384,40 +409,71 @@ public class AdjstReqStatusController {
}
// 서류 발급 요청 등록
@RequestMapping(value = "/web/kccadr/accdnt/ars/tab/docIssReqInsertAjax.do")
public ModelAndView docIssReqInsertAjax(AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
// 대국민 조정사건 기록열람 신청 ajax
@RequestMapping(value = "/web/kccadr/accdnt/ars/tab/docIssReqInsertAjax.do")
public ModelAndView docIssReqInsertAjax(AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
if (loginVO == null) {
modelAndView.addObject("result", "fail");
modelAndView.addObject("message", "로그인 해주세요.");
return modelAndView;
}
// 작성단계 셋팅
adjClsMgrVO.setFrstRegisterId(userId); // 최초등록자
adjClsMgrVO.setDocuReqConfirmCd(KccadrConstants.ADR_DOCU_REQ); // 신청상태
adjClsMgrService.insertDocIssReq(adjClsMgrVO);
modelAndView.addObject("result", "success");
return modelAndView;
}
adjClsMgrService.insertDocIssReq(adjClsMgrVO);
modelAndView.addObject("result", "success");
return modelAndView;
// 대국민 서류 발급 요청 목록
}
// 대국민 조정사건 기록열람 신청 등록
@RequestMapping(value = "/web/kccadr/accdnt/ai/docAdjReqInsertAjax.do")
public ModelAndView docAdjReqInsertAjax(AdrRecordReadingVO adrRecordReadingVO, ModelMap model) throws Exception {
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated() ? (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser() : null;
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getUniqId());
if (loginVO == null) {
modelAndView.addObject("result", "fail");
modelAndView.addObject("message", "로그인 해주세요.");
return modelAndView;
}
// 작성단계 셋팅
adrRecordReadingVO.setFrstRegisterId(userId); // 최초등록자
adrRecordReadingVO.setPrcsnStatCd(KccadrConstants.ADR_RCD_RDNG_PRCSN_STAT_CD_10); //신청완료 상태
try {
adrRecordReadingService.insertRecordReading(adrRecordReadingVO);
modelAndView.addObject("result", "success");
} catch(Exception e) {
modelAndView.addObject("result", "fail");
}
return modelAndView;
}
// 대국민 조정사건 기록열람 신청 목록
@RequestMapping(value = "/web/kccadr/accdnt/ai/docIssReqList.do")
public String docIssReqList(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
public String docIssReqList(@ModelAttribute("adrRecordReadingVO") AdrRecordReadingVO adrRecordReadingVO, ModelMap model) throws Exception {
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
LoginVO loginVO = "anonymousUser".equals(auth) ? new LoginVO() : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
@ -427,38 +483,42 @@ public class AdjstReqStatusController {
return "redirect:/web/user/login/ssoLogin.do";
}
adjClsMgrVO.setSearchFrstRegisterId(loginVO.getUniqId());
adrRecordReadingVO.setSearchFrstRegisterId(loginVO.getUniqId());
if(adjClsMgrVO.getPageUnit() != 10) {
adjClsMgrVO.setPageUnit(adjClsMgrVO.getPageUnit());
if(adrRecordReadingVO.getPageUnit() != 10) {
adrRecordReadingVO.setPageUnit(adrRecordReadingVO.getPageUnit());
}
if("".equals(adjClsMgrVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
adjClsMgrVO.setSearchSortCnd("a.ADR_SEQ");
adjClsMgrVO.setSearchSortOrd("desc");
if("".equals(adrRecordReadingVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
adrRecordReadingVO.setSearchSortCnd("a.record_reading_seq");
adrRecordReadingVO.setSearchSortOrd("desc");
}
// 키워드가 있다면 일단 암호화 하여 암호화 컬럼에
if(StringUtils.isNotBlank(adjClsMgrVO.getSearchKeyword())){
adjClsMgrVO.setSearchEncKeyword(egovCryptoUtil.encrypt(adjClsMgrVO.getSearchKeyword()));
if(StringUtils.isNotBlank(adrRecordReadingVO.getSearchKeyword())){
adrRecordReadingVO.setSearchEncKeyword(egovCryptoUtil.encrypt(adrRecordReadingVO.getSearchKeyword()));
}
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(adjClsMgrVO.getPageIndex());
paginationInfo.setRecordCountPerPage(adjClsMgrVO.getPageUnit());
paginationInfo.setPageSize(adjClsMgrVO.getPageSize());
paginationInfo.setCurrentPageNo(adrRecordReadingVO.getPageIndex());
paginationInfo.setRecordCountPerPage(adrRecordReadingVO.getPageUnit());
paginationInfo.setPageSize(adrRecordReadingVO.getPageSize());
adjClsMgrVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
adjClsMgrVO.setLastIndex(paginationInfo.getLastRecordIndex());
adjClsMgrVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
List<AdjClsMgrVO> list = adjClsMgrService.selectDocIssReqList(adjClsMgrVO);
adrRecordReadingVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
adrRecordReadingVO.setLastIndex(paginationInfo.getLastRecordIndex());
adrRecordReadingVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
List<AdrRecordReadingVO> list = adrRecordReadingService.selectDocReqList(adrRecordReadingVO);
paginationInfo.setTotalRecordCount(list.size() > 0 ? list.get(0).getTotCnt() : 0);
decryptInfomation2(list, null);
model.addAttribute("paginationInfo", paginationInfo);
int listSize = list.size();
for(int i=0; i<listSize; i++) {
list.get(i).setResPonDentNm(egovCryptoUtil.decrypt(list.get(i).getResPonDentNm()));
list.get(i).setAppliCantNm(egovCryptoUtil.decrypt(list.get(i).getAppliCantNm()));
}
model.addAttribute("list", list);
return "/web/kccadr/accdnt/ars/tab/docIssReqList";
@ -466,18 +526,154 @@ public class AdjstReqStatusController {
// 대국민 서류 발급 요청 등록
@RequestMapping(value = "/web/kccadr/accdnt/ai/docIssReqRegist.do")
public String docIssReqRegist(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
public String docIssReqRegist(ModelMap model) throws Exception {
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
if (loginVO == null) {
model.addAttribute("msg", "로그인 해주세요.");
return "redirect:/web/user/login/ssoLogin.do";
}
return "/web/kccadr/accdnt/ars/tab/docIssReqRegist";
}
// 대국민 서류 발급 요청 등록 조정번호 조회팝업
@RequestMapping(value = "/web/kccadr/accdnt/ai/docIssReqRegistPop.do")
public String docIssReqRegistPop(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
public String docIssReqRegistPop(@ModelAttribute("adjstIncidentVO") AdjstIncidentVO adjstIncidentVO, ModelMap model) throws Exception {
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
if (loginVO == null) {
model.addAttribute("msg", "로그인 해주세요.");
return "redirect:/web/user/login/ssoLogin.do";
}
adjstIncidentVO.setFrstRegisterId(loginVO.getUniqId());
adjstIncidentVO.setSearchStatus("400000");
if(adjstIncidentVO.getPageUnit() != 5) {
adjstIncidentVO.setPageUnit(adjstIncidentVO.getPageUnit());
}
if("".equals(adjstIncidentVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
adjstIncidentVO.setSearchSortCnd("M.ADR_SEQ");
adjstIncidentVO.setSearchSortOrd("desc");
}
// 키워드가 있다면 일단 암호화 하여 암호화 컬럼에
if(StringUtils.isNotBlank(adjstIncidentVO.getSearchKeyword())){
adjstIncidentVO.setSearchEncKeyword(egovCryptoUtil.encrypt(adjstIncidentVO.getSearchKeyword()));
}
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(adjstIncidentVO.getPageIndex());
paginationInfo.setRecordCountPerPage(adjstIncidentVO.getPageUnit());
paginationInfo.setPageSize(adjstIncidentVO.getPageSize());
adjstIncidentVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
adjstIncidentVO.setLastIndex(paginationInfo.getLastRecordIndex());
adjstIncidentVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
paginationInfo.setTotalRecordCount(adjstIncidentService.selectAdjstIncidentPopCount(adjstIncidentVO));
model.addAttribute("paginationInfo", paginationInfo);
List<AdjstIncidentVO> list = adjstIncidentService.selectAdjstIncidentPopList(adjstIncidentVO);
decryptInfomation2(list, null);
model.addAttribute("list", list);
model.addAttribute("adjstIncidentVO", adjstIncidentVO);
return "/web/kccadr/accdnt/ars/tab/docIssReqRegistPop";
}
/**
* 대국민 서류 발급 요청 삭제 처리
*/
@RequestMapping("/web/kccadr/accdnt/ai/deletedocIssReq.do")
public String deletedocIssReq(@ModelAttribute("adrRecordReadingVO") AdrRecordReadingVO adrRecordReadingVO, ModelMap model, RedirectAttributes redirectAttributes) throws Exception {
adrRecordReadingService.deletedocIssReq(adrRecordReadingVO); // 삭제
redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("success.common.delete")); // 공통메세지
return "redirect:/web/kccadr/accdnt/ai/docIssReqList.do";
}
/**
* 기일통지서 상세 TODO daenge 기일통지서 오즈리포팅 처리
*
* @param PgrCmmVO
* @param model
* @return
* @throws Exception
*/
@SuppressWarnings("unchecked")
@RequestMapping(value = "/web/kccadr/accdnt/ai/docReqReportAjax.do")
public String dntReportAjax(PgrCmmVO cmmVO, AdrRecordReadingVO adrRecordReadingVO, HttpServletRequest req, ModelMap model) throws Exception {
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
LoginVO loginVO = "anonymousUser".equals(auth) ? null : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
if (loginVO == null) {
model.addAttribute("msg", "로그인 해주세요.");
return "redirect:/web/user/login/ssoLogin.do";
}
adrRecordReadingVO.setLastUpdusrId(loginVO.getUniqId());
JSONObject jsDntInfo = new JSONObject(); //조정권고안 정보
PgrCmmVO result = cmmService.selectPgrCmm(cmmVO);
jsDntInfo = parseJsonData(result);
JSONObject jsObjData = new JSONObject();
jsObjData.put("jsDntInfo", jsDntInfo);
String repStr = jsObjData.toString();
repStr = StringUtil.getUrlString(jsObjData.toString());
//json 데이터 특수문자 치환_220215_이준호
JsonStringEncoder encoder = JsonStringEncoder.getInstance();
char[] escapedJson = encoder.quoteAsString(repStr);
System.out.println(escapedJson); // {\"type\":\"BIG\"}
String p_json;
p_json = new String(escapedJson);
p_json = p_json.replace("\\\\\\\\r\\\\\\\\n", "\\\\r\\\\n").replace("\'", "\\'");
model.addAttribute("jsObjData", repStr);
//오즈리포트 서버별 주소 셋팅해주기
String serverName = req.getServerName();
String ozServerNm = IpUtil.getOzServerName(serverName);
model.addAttribute("ozServerNm", ozServerNm);
//이력관리를 위한 adr_hstry_mgr 데이터 관리 추가 - 2022-08-09
//adr_hstry_mgr에 넣기 - 시작
/*
adrHstryMgrService.insert4Func(result.getAdrSeq()
, "조정진행관리>>조정진행목록>조정진행상세>기일지정상세>출력" //String p_code_desc - CC199
, "V140" //String p_stat_cd
, result.getFrstRegisterId()
, result.getLastUpdusrId()
, ""
, "V"
, "ADR_MGR_MASTER"
, ""
);
*/
//adr_hstry_mgr에 넣기 -
adrRecordReadingVO.setPrcsnStatCd(KccadrConstants.ADR_RCD_RDNG_PRCSN_STAT_CD_30); //출력완료
adrRecordReadingService.updateRecordReadingStatus(adrRecordReadingVO);
return "/web/kccadr/accdnt/ars/tab/report/adrDocReqReport";
}
// 종결VO
public void decryptInfomation2(List<AdjClsMgrVO> list, AdjClsMgrVO info){
if(CollectionUtils.isNotEmpty(list)){
@ -574,4 +770,183 @@ public class AdjstReqStatusController {
}
}
/**
* 오즈 리포트 데이터 Json 생성하기
*
* @param closeVO
*/
@SuppressWarnings("unchecked")
public JSONObject parseJsonData(PgrCmmVO cmmVO) throws Exception{
JSONObject oj = new JSONObject();
//String adrSeq = cmmVO.getAdrSeq(); //조정일련번호
String adrNo = cmmVO.getAdrNo(); //조정번호
String adrSn = cmmVO.getAdrSn(); //조정회차
String cctyTx = cmmVO.getCcTyTx(); //저작물유형
String memDeptNm = cmmVO.getMemDeptNm(); //조정부명
String memName = cmmVO.getMemName(); //조정부장명
String adrAdmNm = cmmVO.getAdrAdmNm(); //조정조사관명
String adrAdmOffmTel = cmmVO.getAdrAdmOffmTel();//조정조사관 내선번호
String applicantNm = cmmVO.getAppliCantNm(); //신청인 이름
String resPonDentNm = cmmVO.getResPonDentNm(); //피신청인
String resPonDentNmEtc = ""; //피신청인 x명 처리 변수
String[] arrResPon = resPonDentNm.split(",");
int resPonCnt = arrResPon.length;
//피신청인이 2명 이상인경우 "피신청인 외 x명" 표기 처리
if(resPonCnt > 1) {
resPonDentNmEtc = arrResPon[0] + "" + (resPonCnt - 1) + "";
}else {
resPonDentNmEtc = resPonDentNm;
}
String appDeDay = cmmVO.getAppDeDay(); //조정기일 일시
String appDeTime = cmmVO.getAppDeTime(); //조정기일 시간
String appDeDate = "";
//날짜 표시형식 변환
if(cmmVO.getAppDeDay() != null && cmmVO.getAppDeTime() != null) {
appDeDate = appDeDay + " " + appDeTime;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm");
Date deDay = simpleDateFormat.parse(appDeDate);
SimpleDateFormat simpleStrFormat = new SimpleDateFormat("yyyy년 MM월 dd일 HH시 mm분");
appDeDate = simpleStrFormat.format(deDay);
}
String appPlace = cmmVO.getAppPlaceInfo(); //기일 장소명
String appPlaceAddr = cmmVO.getAppPlaceAddrInfo(); //기일 장소 주소
//조정부장의 직인 이미지 불러오기
cmmVO.setMemGrade("01");
List<PgrCmmVO> resultStampInfo = cmmService.selectAtchFileIdInfo(cmmVO);
String atchFileId = "";
if(StringUtil.isNotEmpty(resultStampInfo.get(0).getAtchFileId())) {
atchFileId = resultStampInfo.get(0).getAtchFileId();
}
/*if(!adrSeq.equals("")) {
oj.put("adrSeq", adrSeq);
}*/
if(!adrNo.equals("")) {
oj.put("adrNo", adrNo);
}
if(!adrSn.equals("")) {
oj.put("adrSn", adrSn);
}
if(!cctyTx.equals("")) {
oj.put("cctyTx", cctyTx);
}
if(!memDeptNm.equals("")) {
oj.put("memDeptNm", memDeptNm);
}
if(!memName.equals("")) {
oj.put("memName", memName);
}
if(!adrAdmNm.equals("")) {
oj.put("adrAdmNm", adrAdmNm);
}
if(!adrAdmOffmTel.equals("")) {
oj.put("adrAdmOffmTel", adrAdmOffmTel);
}
if(!applicantNm.equals("")) {
oj.put("applicantNm", applicantNm);
}
if(!resPonDentNm.equals("")) {
oj.put("resPonDentNm", resPonDentNm);
}
if(!resPonDentNmEtc.equals("")) {
oj.put("resPonDentNmEtc", resPonDentNmEtc);
}
/*if(!appDeDay.equals("")) {
oj.put("appDeDay", appDeDay);
}*/
if(!appDeDate.equals("")) {
oj.put("appDeDate", appDeDate);
}
if(!appPlace.equals("")) {
oj.put("appPlace", appPlace);
}
if(!appPlaceAddr.equals("")) {
oj.put("appPlaceAddr", appPlaceAddr);
}
if(!atchFileId.equals("")) {
String domain = "";
if ("real".equals(prodIsLocal)) {
domain = "hosts_real";
}else {
domain = "host_dev";
}
String stampPath = domain + "&url&" + atchFileId;
oj.put("stampPath", stampPath);
}
return oj;
}
}

View File

@ -82,4 +82,9 @@ public class AdjClsMgrDAO extends EgovAbstractDAO {
public int docIssReqUpdate(AdjClsMgrVO adjClsMgrVO) throws Exception {
return update("adjClsMgrDAO.docIssReqUpdate", adjClsMgrVO);
}
// 대국민 조정사건 기록열람 신청
public int insertDocAdjReq(AdjClsMgrVO adjClsMgrVO) throws Exception {
return update("adjClsMgrDAO.insertDocAdjReq", adjClsMgrVO);
}
}

View File

@ -94,5 +94,6 @@ public class AdjClsMgrServiceImpl implements AdjClsMgrService {
public void docIssReqUpdate(AdjClsMgrVO adjClsMgrVO) throws Exception {
adjClsMgrDAO.docIssReqUpdate(adjClsMgrVO);
}
}

View File

@ -19,19 +19,19 @@ public interface AdrRecordReadingService {
) throws Exception;
//C
void insert(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
void insertRecordReading(AdrRecordReadingVO adrRecordReadingVO) throws Exception;
//R
AdrRecordReadingVO selectDetail(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
//U
int update(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
int updateRecordReadingStatus(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
//D
int delete(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
int deletedocIssReq(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
//L
List<AdrRecordReadingVO> selectList(AdrRecordReadingVO adrHstryMgrVO) throws Exception;
List<AdrRecordReadingVO> selectDocReqList(AdrRecordReadingVO adrRecordReadingVO) throws Exception;
//L page
List<AdrRecordReadingVO> selectPagingList(AdrRecordReadingVO adrHstryMgrVO) throws Exception;

View File

@ -18,14 +18,22 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
private String prcsnPnttm; //처리일시
private String frstRegistPnttm; //등록일시
private String frstRegisterId; //등록자
private String lastUpdtPnttm; //수정일시
private String lastUpdusrId; //수정자
private String recordReadingFlag;
private String recordReadingHstrySeq; //기록열람이력 일련번호
private String cn; //내용-승인번호, 결재 정보 등등
private String searchFrstRegisterId;
private String searchDocReqCd;
private String resPonDentNm;
private String adrNo;
private String appliCantNm;
public String getRecordReadingSeq() {
@ -112,4 +120,40 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
public void setCn(String cn) {
this.cn = cn;
}
public String getSearchFrstRegisterId() {
return searchFrstRegisterId;
}
public void setSearchFrstRegisterId(String searchFrstRegisterId) {
this.searchFrstRegisterId = searchFrstRegisterId;
}
public String getResPonDentNm() {
return resPonDentNm;
}
public void setResPonDentNm(String resPonDentNm) {
this.resPonDentNm = resPonDentNm;
}
public String getAdrNo() {
return adrNo;
}
public void setAdrNo(String adrNo) {
this.adrNo = adrNo;
}
public String getSearchDocReqCd() {
return searchDocReqCd;
}
public void setSearchDocReqCd(String searchDocReqCd) {
this.searchDocReqCd = searchDocReqCd;
}
public String getAppliCantNm() {
return appliCantNm;
}
public void setAppliCantNm(String appliCantNm) {
this.appliCantNm = appliCantNm;
}
public String getRecordReadingFlag() {
return recordReadingFlag;
}
public void setRecordReadingFlag(String recordReadingFlag) {
this.recordReadingFlag = recordReadingFlag;
}
}

View File

@ -136,8 +136,8 @@ public class AdrRecordReadingDAO extends EgovAbstractDAO {
* @param AdjstChangeDateVO
* @throws Exception
*/
public void insert(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
insert("AdrHstryMgrDAO.insert", adrHstryMgrVO);
public void insertRecordReading(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
insert("AdrRecordReadingDAO.insertRecordReading", adrRecordReadingVO);
}
/**
@ -156,23 +156,23 @@ public class AdrRecordReadingDAO extends EgovAbstractDAO {
* @return
* @throws Exception
*/
public int update(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
return update("AdrRecordReadingDAO.update", adrHstryMgrVO);
public int updateRecordReadingStatus(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
return update("AdrRecordReadingDAO.updateRecordReadingStatus", adrHstryMgrVO);
}
/**
* 삭제 - D
* @param addrAgencyVO
* @param adrRecordReadingVO
* @return
* @throws Exception
*/
public int delete(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
return delete("AdrRecordReadingDAO.delete", adrHstryMgrVO);
public int deletedocIssReq(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
return delete("AdrRecordReadingDAO.deletedocIssReq", adrRecordReadingVO);
}
//L
public List<AdrRecordReadingVO> selectList(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
List<AdrRecordReadingVO> tlist = (List<AdrRecordReadingVO>) list("AdrHstryMgrDAO.selectList", adrHstryMgrVO);
public List<AdrRecordReadingVO> selectDocReqList(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
List<AdrRecordReadingVO> tlist = (List<AdrRecordReadingVO>) list("AdrRecordReadingDAO.selectDocReqList", adrRecordReadingVO);
return tlist;
}
@ -183,7 +183,7 @@ public class AdrRecordReadingDAO extends EgovAbstractDAO {
* @throws Exception
*/
public List<AdrRecordReadingVO> selectPagingList(AdrRecordReadingVO adrHstryMgrVO) throws Exception {
List<AdrRecordReadingVO> tlist = (List<AdrRecordReadingVO>) list("AdrHstryMgrDAO.selectPagingList", adrHstryMgrVO);
List<AdrRecordReadingVO> tlist = (List<AdrRecordReadingVO>) list("AdrRecordReadingDAO.selectPagingList", adrHstryMgrVO);
return tlist;
}
}

View File

@ -14,8 +14,8 @@ import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
public class AdrRecordReadingHstryServiceImpl implements AdrRecordReadingHstryService {
//이력
@Resource(name="adrRecordReadingDAO")
private AdrRecordReadingDAO adrRecordReadingDAO;
@Resource(name="adrRecordReadingHstryDAO")
private AdrRecordReadingHstryDAO adrRecordReadingHstryDAO;
//이력 상세
//@Resource(name="adrRecordReadingDetailDAO")
@ -48,7 +48,7 @@ public class AdrRecordReadingHstryServiceImpl implements AdrRecordReadingHstrySe
, String p_tableName
, String p_updateQuery
) throws Exception {
return adrRecordReadingDAO.insert4Func(
return adrRecordReadingHstryDAO.insert4Func(
p_adrSeq
, p_menuNm
, p_menuId
@ -64,33 +64,33 @@ public class AdrRecordReadingHstryServiceImpl implements AdrRecordReadingHstrySe
//C
public void insert(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
adrRecordReadingDAO.insert(adrRecordReadingVO);
adrRecordReadingHstryDAO.insert(adrRecordReadingVO);
}
//R
public AdrRecordReadingVO selectDetail(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
return adrRecordReadingDAO.selectDetail(adrRecordReadingVO);
return adrRecordReadingHstryDAO.selectDetail(adrRecordReadingVO);
}
//U
public int update(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.update(adrRecordReadingVO);
return adrRecordReadingHstryDAO.update(adrRecordReadingVO);
}
//D
public int delete(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.delete(adrRecordReadingVO);
return adrRecordReadingHstryDAO.delete(adrRecordReadingVO);
}
//List
public List<AdrRecordReadingVO> selectList(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.selectList(adrRecordReadingVO);
return adrRecordReadingHstryDAO.selectList(adrRecordReadingVO);
}
//paging List
public List<AdrRecordReadingVO> selectPagingList(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.selectPagingList(adrRecordReadingVO);
return adrRecordReadingHstryDAO.selectPagingList(adrRecordReadingVO);
}
}

View File

@ -7,16 +7,19 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
import kcc.kccadr.advcRecord.service.AdrRecordReadingService;
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
@Service("adrRecordReadingService")
public class AdrRecordReadingServiceImpl implements AdrRecordReadingService {
//이력
@Resource(name="adrRecordReadingDAO")
private AdrRecordReadingDAO adrRecordReadingDAO;
@Resource(name="recordReadingGnrService")
private EgovIdGnrService idgenService;
//이력 상세
//@Resource(name="adrRecordReadingDetailDAO")
//private adrRecordReadingDetailDAO adrRecordReadingDetailDAO;
@ -63,8 +66,12 @@ public class AdrRecordReadingServiceImpl implements AdrRecordReadingService {
}
//C
public void insert(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
adrRecordReadingDAO.insert(adrRecordReadingVO);
public void insertRecordReading(AdrRecordReadingVO adrRecordReadingVO) throws Exception {
String recordReadingSeq = idgenService.getNextStringId(); // 고유 번호 생성
adrRecordReadingVO.setRecordReadingSeq(recordReadingSeq);
adrRecordReadingDAO.insertRecordReading(adrRecordReadingVO);
}
//R
@ -73,19 +80,19 @@ public class AdrRecordReadingServiceImpl implements AdrRecordReadingService {
}
//U
public int update(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
public int updateRecordReadingStatus(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.update(adrRecordReadingVO);
return adrRecordReadingDAO.updateRecordReadingStatus(adrRecordReadingVO);
}
//D
public int delete(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.delete(adrRecordReadingVO);
public int deletedocIssReq(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.deletedocIssReq(adrRecordReadingVO);
}
//List
public List<AdrRecordReadingVO> selectList(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.selectList(adrRecordReadingVO);
public List<AdrRecordReadingVO> selectDocReqList(AdrRecordReadingVO adrRecordReadingVO) throws Exception{
return adrRecordReadingDAO.selectDocReqList(adrRecordReadingVO);
}
//paging List

View File

@ -294,6 +294,20 @@ public class KccadrConstants {
public static final String ADR_RPPL_USR_TY2 = "02"; // 법인
public static final String ADR_RPPL_USR_TY3 = "03"; // 개인사업자
//ADR_RCD_RDNG : 조정사건기록열람
//신청인구분
public static final String ADR_RCD_RDNG_REQ_TY_01 = "01"; // 신청자
public static final String ADR_RCD_RDNG_REQ_TY_02 = "02"; // 이용자
//당사자여부
public static final String ADR_RCD_RDNG_MYSF_IS_10 = "10"; // 신청인
public static final String ADR_RCD_RDNG_MYSF_IS_30 = "30"; // 신청대리인
//서류구분
public static final String ADR_RCD_RDNG_DOCU_TY_10 = "10"; // 기일조서
public static final String ADR_RCD_RDNG_DOCU_TY_20 = "20"; // 조정조서
//처리상태
public static final String ADR_RCD_RDNG_PRCSN_STAT_CD_10 = "10"; // 신청완료
public static final String ADR_RCD_RDNG_PRCSN_STAT_CD_20 = "20"; // 결제완료
public static final String ADR_RCD_RDNG_PRCSN_STAT_CD_30 = "30"; // 출력완료
public static final String ADR_RCD_RDNG_PRCSN_STAT_CD_90 = "90"; // 삭제
}

View File

@ -878,5 +878,85 @@
ORDER BY A.adrSn DESC LIMIT 1
</select>
<select id="adjstIncidentDAO.selectAdjstIncidentPopList" parameterClass="AdjstIncidentVO" resultClass="AdjstIncidentVO">
SELECT ROW_NUMBER() OVER ( ORDER BY M.ADR_SEQ DESC ) rnum
,M.ADR_SEQ AS adrSeq
,M.REQ_TY AS reqTy
,M.ADR_NO AS adrNo
,AP.RPPL_NM AS appliCantNm
,AP.RPPL_TY AS rpplTy
,( SELECT
CASE
WHEN COUNT(*) <![CDATA[ <= ]]> 1
THEN GROUP_CONCAT(RPPL_NM SEPARATOR ',')
ELSE RPPL_NM
|| '외'
|| (COUNT(*)-1)
|| '명'
END RPPL_NMS
FROM ADR_RPPL S1
WHERE 1 =1
AND S1.adr_seq = m.adr_seq
AND S1.RPPL_TY = '20'
GROUP BY S1.adr_seq
ORDER BY S1.FRST_REGIST_PNTTM
)
AS resPonDentNm
, ( SELECT RPPL_NM
FROM ADR_RPPL s1
WHERE 1=1
AND S1.adr_seq = M.adr_seq
AND s1.RPPL_TY = '10'
)
AS appliCantNm
FROM
ADR_MGR_MASTER M
INNER JOIN
( SELECT ADR_SEQ,
RPPL_ID,
RPPL_NM,
rppl_ty
FROM ADR_RPPL
WHERE RPPL_ID = #frstRegisterId#
GROUP BY ADR_SEQ,
RPPL_ID
)
AP
ON M.ADR_SEQ = AP.ADR_SEQ
WHERE M.STAT_CD = #searchStatus#
<isNotEmpty property="searchKeyword">
AND M.ADR_NO LIKE CONCAT('%' , #searchKeyword#, '%')
</isNotEmpty>
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$
</isNotEmpty>
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
</select>
<select id="adjstIncidentDAO.selectAdjstIncidentPopCount" parameterClass="AdjstIncidentVO" resultClass="int">
SELECT COUNT(1) AS TOT
FROM
ADR_MGR_MASTER M
INNER JOIN
( SELECT ADR_SEQ,
RPPL_ID,
RPPL_NM,
rppl_ty
FROM ADR_RPPL
WHERE RPPL_ID = #frstRegisterId#
GROUP BY ADR_SEQ,
RPPL_ID
)
AP
ON M.ADR_SEQ = AP.ADR_SEQ
WHERE M.STAT_CD = #searchStatus#
<isNotEmpty property="searchKeyword">
AND M.ADR_NO LIKE CONCAT('%' , #searchKeyword#, '%')
</isNotEmpty>
</select>
</sqlMap>

View File

@ -3,7 +3,7 @@
<sqlMap namespace="AdjClsMgr">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="AdjClsMgrVO" type="kcc.kccadr.adjclsmgr.service.AdjClsMgrVO"/>
<select id="adjClsMgrDAO.adjCloseMangeCount" parameterClass="AdjClsMgrVO" resultClass="int">
SELECT
COUNT(1) AS TOT

View File

@ -24,8 +24,8 @@
frst_regist_pnttm,
frst_register_id,
last_updt_pnttm,
last_updusr_id
last_updusr_id,
record_reading_flag
</sql>
<!-- 조회용 공통 컬럼 명 -->
@ -48,18 +48,17 @@
a.last_updt_pnttm AS lastUpdtPnttm,
*/
DATE_FORMAT(a.last_updt_pnttm,'%Y-%m-%d %H:%i:%s') AS lastUpdtPnttm,
a.last_updusr_id AS lastUpdusrId
a.last_updusr_id AS lastUpdusrId,
a.record_reading_flag AS recordReadingFlag
</sql>
<!-- 등록 C -->
<insert id="AdrRecordReadingDAO.insert" parameterClass="AdrRecordReadingVO">
<insert id="AdrRecordReadingDAO.insertRecordReading" parameterClass="AdrRecordReadingVO">
INSERT INTO <include refid="AdrRecordReadingDAO.table_name"/> (
<include refid="AdrRecordReadingDAO.column_name"/>
)VALUES(
#recordReadingSeq#,
#adrSeq#,
#reqTy#,
@ -68,13 +67,11 @@
#authQntty#,
#prcsnStatCd#,
#prcsnPnttm#,
NOW(),
NOW(),
#frstRegisterId#,
null,
null
null,
#recordReadingFlag#
)
</insert>
@ -90,46 +87,23 @@
</select>
<!-- 정보 U -->
<update id="AdrRecordReadingDAO.update" parameterClass="AdrRecordReadingVO">
<update id="AdrRecordReadingDAO.updateRecordReadingStatus" parameterClass="AdrRecordReadingVO">
UPDATE
<include refid="AdrRecordReadingDAO.table_name"/>
SET
last_updt_pnttm = NOW()
, last_updusr_id = #lastUpdusrId#
<isNotEmpty property="adrSeq">
, adr_seq = adrSeq
</isNotEmpty><isNotEmpty property="reqTy">
, req_ty = reqTy
</isNotEmpty><isNotEmpty property="myselfIs">
, myself_is = myselfIs
</isNotEmpty><isNotEmpty property="docuTy">
, docu_ty = docuTy
</isNotEmpty><isNotEmpty property="authQntty">
, auth_qntty= authQntty
</isNotEmpty><isNotEmpty property="prcsnStatCd">
, prcsn_stat_cd = prcsnStatCd
last_updt_pnttm = NOW()
, last_updusr_id = #lastUpdusrId#
<isNotEmpty property="prcsnStatCd">
, prcsn_stat_cd = #prcsnStatCd#
, prcsn_pnttm = NOW()
</isNotEmpty>
WHERE
record_reading_seq = #recordReadingSeq#
</update>
<!-- 정보 D -->
<delete id="AdrRecordReadingDAO.delete" parameterClass="AdrRecordReadingVO">
<delete id="AdrRecordReadingDAO.deletedocIssReq" parameterClass="AdrRecordReadingVO">
DELETE FROM
<include refid="AdrRecordReadingDAO.table_name"/>
WHERE
@ -155,38 +129,83 @@
</select>
<!-- 정보 L page -->
<select id="AdrRecordReadingDAO.selectPagingList" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
<select id="AdrRecordReadingDAO.selectDocReqList" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
SELECT
COUNT(1) OVER() AS totCnt ,
<include refid="AdrRecordReadingDAO.select_column_name"/>
,( SELECT
CASE
WHEN COUNT(*) <![CDATA[ <= ]]> 1
THEN GROUP_CONCAT(RPPL_NM SEPARATOR ',')
ELSE RPPL_NM
|| '외'
|| (COUNT(*)-1)
|| '명'
END RPPL_NMS
FROM ADR_RPPL S1
WHERE 1 =1
AND S1.adr_seq = a.adr_seq
AND S1.RPPL_TY = '20'
GROUP BY S1.adr_seq
ORDER BY S1.FRST_REGIST_PNTTM
)
AS resPonDentNm
, ( SELECT RPPL_NM
FROM ADR_RPPL s1
WHERE 1=1
AND S1.adr_seq = a.adr_seq
AND s1.RPPL_TY = '10'
)
AS appliCantNm
,c.adr_no AS adrNo
FROM
<include refid="AdrRecordReadingDAO.table_name"/> a
INNER JOIN
( SELECT ADR_SEQ,
RPPL_ID,
RPPL_NM,
rppl_ty
FROM ADR_RPPL
WHERE RPPL_ID = #searchFrstRegisterId#
GROUP BY ADR_SEQ,
RPPL_ID
)
AP
ON A.ADR_SEQ = AP.ADR_SEQ
LEFT OUTER JOIN
ADR_MGR_MASTER c
ON
a.adr_seq = c.adr_seq
WHERE
1=1
<isNotEmpty property="recordReadingSeq">
AND a.record_reading_seq = #recordReadingSeq#
</isNotEmpty>
<isNotEmpty property="selectPagingListQuery">
$selectPagingListQuery$
<isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue="1">
c.ADR_NO LIKE CONCAT('%' , #searchKeyword#, '%')
</isEqual>
</isNotEmpty>
ORDER BY 1=1
<isEmpty property="orderByQuery">
, a.record_reading_seq desc
</isEmpty>
<isNotEmpty property="orderByQuery">
, $orderByQuery$
</isNotEmpty>
<isEqual property="searchCondition" compareValue="2">
<isNotEmpty prepend="AND" property="searchStartDt">
TO_CHAR(A.FRST_REGIST_PNTTM,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '-' , '')
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchEndDt">
TO_CHAR(A.FRST_REGIST_PNTTM,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '-' , '')
</isNotEmpty>
</isEqual>
<isEqual prepend="AND" property="searchCondition" compareValue="6">
A.prcsn_stat_cd LIKE CONCAT('%' , #searchSelStatus#, '%')
</isEqual>
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$
</isNotEmpty>
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
LIMIT #recordCountPerPage# OFFSET #firstIndex#

View File

@ -118,6 +118,8 @@
<pattern>/kcc/mail/intSendMailForm.do</pattern>
<pattern>/web/adminContent.do</pattern>
<pattern>/web/kccadr/adjst/adjstReqRegistTutorial.do</pattern>
<pattern>/web/kccadr/accdnt/ai/docIssReqRegistPop.do</pattern>
</decorator>
<!-- 관리자 게시글 작성, 템플릿 미리보기(헤더풋터 없음) -->

View File

@ -29,6 +29,13 @@
<script src="/kccadrPb/usr/datepicker/legacy.js"></script>
<script src="/kccadrPb/usr/datepicker/ko_KR.js"></script>
<script type="text/javaScript" language="javascript">
$(document).ready(function() {
var searchCondition = "${adjstIncidentVO.searchCondition}";
if(searchCondition == "6") {
$(".select_wrap").show();
}
})
function fncStatusList(status){
document.listForm.searchStatus.value = status;

View File

@ -17,7 +17,7 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<title>서류 발급 요청 목록</title>
<title>조정사건 기록열람 신청목록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/kccadrPb/usr/datepicker/classic.css">
@ -30,7 +30,15 @@
<script src="/kccadrPb/usr/datepicker/ko_KR.js"></script>
<script type="text/javaScript" language="javascript">
$(document).ready(function() {
var searchCondition = "${adrRecordReadingVO.searchCondition}";
if(searchCondition == "6") {
$(".select_wrap").show();
}
})
function fncStatusList(status){
document.listForm.searchStatus.value = status;
document.listForm.searchCondition.value = '';
@ -48,122 +56,80 @@
listForm.submit();
}
<%--
function fncGoDetail(adrSeq){
var listForm = document.listForm ;
listForm.adrSeq.value = adrSeq;
listForm.action = "<c:url value='/web/kccadr/accdnt/ai/adjstIncidentDetail.do'/>";
listForm.submit();
}
function fncGoingDetail(adrSeq, adrSn){
var listForm = document.listForm ;
listForm.adrSeq.value = adrSeq;
listForm.adrSn.value = adrSn;
listForm.action = "<c:url value='/web/kccadr/accdnt/ars/adjstReqStatusDetail.do'/>";
listForm.submit();
}
function fncGoCreate(){
var listForm = document.listForm ;
//listForm.action = "<c:url value='/web/kccadr/adjst/adjstReq1Regist.do'/>"; // 신청서작성 메뉴 URL로 수정
listForm.action = "<c:url value='/web/kccadr/adjst/adjstReqRegistInformation.do'/>";
listForm.submit();
}
function fncSecurityPop(adrSeq,edtTy,edtSn) {
commonPopLayeropen(
"/web/kccadr/accdnt/ai/popup/adjstIncidentReqViewPop.do"
, 800
, 600
, {adrSeq : adrSeq, edtTy : edtTy, edtSn : edtSn}
, "N"
, "securityPop"
);
}
--%>
$(document).ready(function() {
$(".select_wrap1").hide();
$(".subSearch").trigger("change");
});
function fn_goRegist(){
location.href = "/web/kccadr/accdnt/ai/docIssReqRegist.do";
}
function fncDeleteReq(recordReadingSeq) {
if (!confirm("삭제 하시겠습니까?")) return;
var listForm = document.listForm ;
listForm.recordReadingSeq.value = recordReadingSeq;
listForm.action = "<c:url value='/web/kccadr/accdnt/ai/deletedocIssReq.do'/>";
listForm.submit();
}
function fncOzPrint(adrSeq, recordReadingSeq) {
var form = document.listForm;
form.adrSeq.value = adrSeq;
form.recordReadingSeq.value = recordReadingSeq;
window.open('',"dntReport");
form.action="/web/kccadr/accdnt/ai/docReqReportAjax.do";
form.method="post";
form.target="dntReport";
form.submit();
}
</script>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="adjClsMgrVO" onsubmit="return false;" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adjClsMgrVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjClsMgrVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjClsMgrVO.searchSortOrd}" />" />
<input type="hidden" name="searchStatus" value="<c:out value="${adjClsMgrVO.searchStatus}" />" />
<form:form id="listForm" name="listForm" commandName="adrRecordReadingVO" onsubmit="return false;" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adrRecordReadingVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adrRecordReadingVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adrRecordReadingVO.searchSortOrd}" />" />
<input type="hidden" name="searchStatus" value="<c:out value="${adrRecordReadingVO.searchStatus}" />" />
<input type="hidden" name="recordReadingSeq" value="" />
<input type="hidden" name="adrSeq" value="" />
<input type="hidden" name="adrSn" value="" />
<!-- cont -->
<div class="cont_wrap sub02_1" id="sub">
<div class="inner">
<div class="cont_tit">
<h2>서류 발급 요청 목록</h2>
<h2>조정사건 기록열람 신청목록</h2>
</div>
<!-- list_top -->
<div class="list_top">
<!-- <p>총 건수 : <span>204</span>건</p> -->
<%-- <div class="tab_wrap">
<button type="button" onclick="fncStatusList(''); return false;" class="tab ${empty adjClsMgrVO.searchStatus ? 'on' : '' }">전체</button>
<button type="button" onclick="fncStatusList('A'); return false;" class="${adjClsMgrVO.searchStatus eq 'A'? 'on' : '' } tab">신청</button>
<button type="button" onclick="fncStatusList('B'); return false;" class="${adjClsMgrVO.searchStatus eq 'B' ? 'on' : '' } tab">진행</button>
<button type="button" onclick="fncStatusList('C'); return false;" class="${adjClsMgrVO.searchStatus eq 'C' ? 'on' : '' } tab">종결</button>
</div> --%>
<div class="list_util">
<label for="searchCondition">검색조건 선택</label>
<select name="searchCondition" id="searchCondition" class="subSearch subSearch2">
<option value="1" ${adjClsMgrVO.searchCondition eq '1' ? 'selected' : '' }>조정번호</option>
<option value="2" ${adjClsMgrVO.searchCondition eq '2' ? 'selected' : '' }>접수기간</option>
<option value="3" ${adjClsMgrVO.searchCondition eq '3' ? 'selected' : '' }>종결상태</option>
<option value="4" ${adjClsMgrVO.searchCondition eq '4' ? 'selected' : '' }>진행상태</option>
<select name="searchCondition" id="searchCondition" class="subSearch">
<option value="1" ${adrRecordReadingVO.searchCondition eq '1' ? 'selected' : '' }>조정번호</option>
<option value="2" ${adrRecordReadingVO.searchCondition eq '2' ? 'selected' : '' }>신청일자</option>
<option value="6" ${adrRecordReadingVO.searchCondition eq '6' ? 'selected' : '' }>처리상태</option>
</select>
<div class="select_wrap">
<label for="searchDocReqCd">진행상태 선택</label>
<kc:select codeId="CC013" name="searchDocReqCd" id="searchDocReqCd" defaultValue="" defaultText="선택" selectedValue="${adjClsMgrVO.searchDocReqCd}" includes="508010,508050,508090" styleClass="select_status"/>
</div>
<div class="select_wrap select_wrap1">
<label for="searchStatCd">종결상태 선택</label>
<kc:select codeId="CC013" name="searchStatCd" id="searchStatCd" defaultValue="" defaultText="선택" selectedValue="${adjClsMgrVO.searchStatCd}" includes="306050,304050,305050,307050" styleClass="select_status"/>
</div>
<div class="sel_date">
<div class="calendar_wrap">
<input type="text" class="searchStartDt startDate inp" title="검색시작일" id="searchStartDt" name="searchStartDt" onclick="return calendarOpen('searchStartDt-lry','',this)" onfocus="return calendarOpen('searchStartDt-lry','',this)" value="${adjClsMgrVO.searchStartDt}" data-datecontrol="true" readonly="readonly" onkeyup="this.value = date_mask(this.value)" maxlength="10">
<input type="text" class="searchStartDt startDate inp" title="검색시작일" id="searchStartDt" name="searchStartDt" onclick="return calendarOpen('searchStartDt-lry','',this)" onfocus="return calendarOpen('searchStartDt-lry','',this)" value="${adrRecordReadingVO.searchStartDt}" data-datecontrol="true" readonly="readonly" onkeyup="this.value = date_mask(this.value)" maxlength="10">
<button type="button" title="달력 팝업 열기" class="btn_start btn_cal" onclick="return calendarOpen('searchStartDt-lry','',this)"><i></i></button>
</div>
<!-- <div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('searchStartDt-lry','',this)" class="btn_cal"></button>
<div id="searchStartDt-lry" class="calendarPop" style="display: none;">
<iframe id="searchStartDt-ifrm" name="searchStartDt-ifrm" class="calendar-frame" src="/kccadrPb/usr/mini_calendar.html" title="달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> --> ~
<div class="calendar_wrap">
<input type="text" class="searchEndDt endDate inp" title="검색종료일" id="searchEndDt" name="searchEndDt" onclick="return calendarOpen2('searchEndDt-lry','',this)" onfocus="return calendarOpen2('searchEndDt-lry','',this)" value="${adjClsMgrVO.searchEndDt}" data-datecontrol="true" readonly="readonly" onkeyup="this.value = date_mask(this.value)" maxlength="10">
<input type="text" class="searchEndDt endDate inp" title="검색종료일" id="searchEndDt" name="searchEndDt" onclick="return calendarOpen2('searchEndDt-lry','',this)" onfocus="return calendarOpen2('searchEndDt-lry','',this)" value="${adrRecordReadingVO.searchEndDt}" data-datecontrol="true" readonly="readonly" onkeyup="this.value = date_mask(this.value)" maxlength="10">
<button type="button" title="달력 팝업 열기" class="btn_end btn_cal" onclick="return calendarOpen2('searchEndDt-lry','',this)"><i></i></button>
</div>
<!-- <div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('searchEndDt-lry','',this)" class="btn_cal"></button>
<div id="searchEndDt-lry" class="calendarPop" style="display: none;">
<iframe id="searchEndDt-ifrm" name="searchEndDt-ifrm" class="calendar-frame" src="/kccadrPb/usr/mini_calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> -->
</div>
<div class="input_wrap">
<label for="searchKeyword">검색어 입력</label>
<input type="text" class="search_input" id=searchKeyword name="searchKeyword" placeholder="검색어를 입력하세요" value="<c:out value='${adjClsMgrVO.searchKeyword}'/>">
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" placeholder="검색어를 입력하세요" value="<c:out value='${adrRecordReadingVO.searchKeyword}'/>">
</div>
<div class="select_wrap">
<label for="searchSelStatus">조정상태 선택</label>
<kc:select codeId="CC304" name="searchSelStatus" id="searchSelStatus" defaultValue="" between="40,90" defaultText="선택" selectedValue="${adrRecordReadingVO.searchSelStatus}" styleClass="select_status"/>
</div>
<button class="btn_search" onclick="fncGoList();">검색</button>
</div>
@ -176,15 +142,10 @@
<colgroup>
<col style="width: 80px;">
<col style="width: 20%;">
<col style="width: 10%;">
<col style="width: 15%;">
<col style="width: 15%;">
<col style="width: 15%;">
<col style="width: 10%;">
<col style="width: auto%;">
<%-- <col style="width: auto;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 140px;"> --%>
</colgroup>
<thead>
<tr>
@ -192,71 +153,60 @@
<th scope="col">신청일자</th>
<th scope="col">조정번호</th>
<th scope="col">신청인</th>
<th scope="col">피신청인</th>
<th scope="col">신청서류</th>
<th scope="col">처리상태</th>
<!-- <th scope="col">신청대상자</th>
<th scope="col">신청내용</th>
<th scope="col">신청유형</th>
<th scope="col">종결상태</th>
<th scope="col">진행상태</th> -->
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td class="td_num">
<c:if test="${adjClsMgrVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((adjClsMgrVO.pageIndex -1)*adjClsMgrVO.pageUnit) ) - status.index }"/>
<c:if test="${adrRecordReadingVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((adrRecordReadingVO.pageIndex -1)*adrRecordReadingVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${adjClsMgrVO.searchSortOrd eq 'asc' }">
<c:out value="${(adjClsMgrVO.pageIndex - 1) * adjClsMgrVO.pageUnit + status.count}"/>
<c:if test="${adrRecordReadingVO.searchSortOrd eq 'asc' }">
<c:out value="${(adrRecordReadingVO.pageIndex - 1) * adrRecordReadingVO.pageUnit + status.count}"/>
</c:if>
</td>
<td class="td_date">
<span class="read_only m_th_text">신청일자</span>
<p><c:out value="${list.docuReqRegistPnttm}"/></p>
<p><c:out value="${list.frstRegistPnttm}"/></p>
</td>
<td class="td_subscriber">
<span class="m_th_text">조정번호</span>
<c:out value="${list.adrNo}"/>
<p><c:out value="${list.adrNo}"/></p>
</td>
<td class="td_subscriber">
<span class="m_th_text">신청인</span>
<c:out value="${list.docReqNm}"/>
<c:out value="${list.appliCantNm}"/>
</td>
<td class="td_subscriber">
<span class="m_th_text">피신청인</span>
<c:out value="${list.resPonDentNm}"/>
</td>
<td class="td_subscriber">
<span class="m_th_text">신청서류</span>
<p></p>
<p><kc:code codeId="CC303" code="${list.docuTy}"/></p>
</td>
<td class="td_subscriber">
<span class="m_th_text">처리상태</span>
<p></p>
<p>
<c:choose>
<c:when test="${list.prcsnStatCd eq '10'}">
<button type="button" class="btnType10">수수료결제</button>
<button type="button" class="btnType10" onclick="fncDeleteReq('<c:out value="${list.recordReadingSeq}" />');">삭제</button>
</c:when>
<c:when test="${list.prcsnStatCd eq '20'}">
<button type="button" class="btnType10" onclick="fncOzPrint('<c:out value="${list.adrSeq}" />','<c:out value="${list.recordReadingSeq}" />')">문서출력</button>
</c:when>
<c:when test="${list.prcsnStatCd eq '30'}">
<c:if test="${list.recordReadingFlag eq '10'}"><span>열람완료</span></c:if>
<c:if test="${list.recordReadingFlag eq '20'}"><span>발급완료</span></c:if>
</c:when>
</c:choose>
</p>
</td>
<%-- <td>
<span class="m_th_text">신청 대상자</span>
<p><kc:code codeId="CC005" code="${list.rpplTy}"/></p>
</td> --%>
<%-- <td>
<span class="m_th_text">신청내용</span>
<p><c:out value="${list.docuReqCn}"/></p>
</td> --%>
<%-- <td>
<span class="m_th_text">신청유형</span>
<p><kc:code codeId="CC042" code="${list.docuReqCd}"/></p>
</td> --%>
<%-- <td>
<span class="m_th_text">종결상태</span>
<p>
<c:set var="finalStatNm">
<kc:code codeId="CC013" code="${list.statCd}"/>
</c:set>
<c:out value="${fn:replace(finalStatNm, '완료', '')}" />
</p>
</td> --%>
<%-- <td>
<span class="m_th_text">진행상태</span>
<p><kc:code codeId="CC013" code="${list.docuReqConfirmCd}"/></p>
</td> --%>
</tr>
</c:forEach>
<c:if test="${empty list}">

View File

@ -16,11 +16,84 @@
<title>조정사건 상세</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script src="/kccadrPb/usr/script/popup.js"></script>
<script src="/js/page/adjstReq/adjstReq.js"></script>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<%-- <un:useConstants var="KccadrConstants" className="kcc.kccadr.cmm.KccadrConstants" /> --%>
<script type="text/javaScript" language="javascript">
function fnDocReqSubmit() {
if($("adrNo").val == "" || $("adrNo").val == undefined) {
alert("조정번호를 선택하세요");
return;
}
var reqTyVal = $("input[name='reqTy']:checked").val();
var myselfIsVal = $("input[name='myselfIs']:checked").val();
var docuTyVal = $("input[name='docuTy']:checked").val();
var recordReadingFlagVal = $("input[name='recordReadingFlag']:checked").val();
if(reqTyVal == "" || reqTyVal == undefined) {
alert("신청인 구분을 선택하세요");
return;
}
if(myselfIsVal == "" || myselfIsVal == undefined) {
alert("조정당사자 여부를 선택하세요");
return;
}
if(docuTyVal == "" || docuTyVal == undefined) {
alert("서류종류를 선택하세요");
return;
}
if(recordReadingFlagVal == "" || recordReadingFlagVal == undefined) {
alert("열람/발급 여부를 선택하세요");
return;
}
if($("authQntty").val == "" || $("authQntty").val == undefined) {
alert("발급부수를 입력하세요.");
return;
}
//disabled 삭제하고 submit
$("input[name='reqTy']").removeAttr("disabled");
$("input[name='myselfIs']").removeAttr("disabled");
if (!confirm("신청 하시겠습니까?")) return;
var data = new FormData(document.createForm);
$.ajax({
type : "POST",
url : "/web/kccadr/accdnt/ai/docAdjReqInsertAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("신청이 완료되었습니다.");
window.location.href="<c:url value='/web/kccadr/accdnt/ai/docIssReqList.do' />";
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("신청을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
function goList(){
var listForm = document.listForm ;
listForm.action = "<c:url value='/web/kccadr/accdnt/ai/docIssReqList.do'/>";
listForm.submit();
}
</script>
</head>
<body>
@ -40,6 +113,9 @@
<input type="hidden" name="adjPageSts" value="Upt"/>
</form:form>
<!-- cont -->
<form name="createForm" id="createForm" method="post">
<input type="hidden" name="adrSeq" id="adrSeq" value="" />
<div class="cont_wrap sub02_1" id="sub">
<div class="inner">
<div class="cont_tit">
@ -55,7 +131,7 @@
<p>대리인 정보</p>
</div> -->
<table class="tbType01">
<caption>조정사건 기록열람 신청 정보 : 조정번호, 신청인 구분, 조정당사자 여부, 서류종류, 발급부수등의 정보제공</caption>
<caption>조정사건 기록열람 신청 정보 : 조정번호, 신청인 구분, 조정당사자 여부, 서류종류, 열람발급여부 발급부수등의 정보제공</caption>
<colgroup>
<col style="width:250px;">
<col style="width:auto;">
@ -68,7 +144,7 @@
</th>
<td>
<label for="adjNm" class="label">조정번호 입력</label>
<input type="text" name="adjNm" id="adjNm" value="" size="30" placeholder="조정번호를 입력하세요." />
<input type="text" name="adrNo" id="adrNo" value="" size="30" placeholder="조정번호를 입력하세요." />
<button type="button" class="btnType01 btn_adr_search" data-tooltip="list_popup" onclick="AdjstReq.historyAdjstPopEndList();" title="팝업 열림">조회</button>
</td>
</tr>
@ -79,8 +155,8 @@
</th>
<td>
<div class="radio_wrap">
<input type="radio" name="adjSort" id="adjSort01" /><label for="adjSort01">권리자</label>
<input type="radio" name="adjSort" id="adjSort02" /><label for="adjSort02">이용자</label>
<input type="radio" name="reqTy" id="reqTy01" value="01" disabled="disabled"/><label for="reqTy01">권리자</label>
<input type="radio" name="reqTy" id="reqTy02" value="02" disabled="disabled"/><label for="reqTy02">이용자</label>
</div>
</td>
</tr>
@ -91,8 +167,8 @@
</th>
<td>
<div class="radio_wrap">
<input type="radio" name="adjWhether" id="adjWhether01" /><label for="adjWhether01">본인</label>
<input type="radio" name="adjWhether" id="adjWhether02" /><label for="adjWhether02">대리인</label>
<input type="radio" name="myselfIs" id="myselfIs10" value="10" disabled="disabled"/><label for="myselfIs10">본인</label>
<input type="radio" name="myselfIs" id="myselfIs30" value="30" disabled="disabled"/><label for="myselfIs30">대리인</label>
</div>
</td>
</tr>
@ -103,8 +179,19 @@
</th>
<td>
<div class="radio_wrap">
<input type="radio" name="adjDocType" id="adjDocType01" /><label for="adjDocType01">기일조서</label>
<input type="radio" name="adjDocType" id="adjDocType02" /><label for="adjDocType02">조정조서</label>
<kc:radio codeId="CC303" name="docuTy" id="docuTy" css="style='margin-left: 10px;'"/>
</div>
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>열람/발급여부</p>
</th>
<td>
<div class="radio_wrap">
<input type="radio" name="recordReadingFlag" id="recordReadingFlag10" value="10" /><label for="recordReadingFlag10">열람</label>
<input type="radio" name="recordReadingFlag" id="recordReadingFlag20" value="20" /><label for="recordReadingFlag20">발급</label>
</div>
</td>
</tr>
@ -114,9 +201,7 @@
<p>발급부수</p>
</th>
<td>
<select name="adjIss" id="adjIss">
<option value="1">1</option>
</select>
<input type="number" name="authQntty" id="authQntty" min="1">
<span>통</span>
</td>
</tr>
@ -125,10 +210,12 @@
</div>
<!-- 하단 버튼 -->
<div class="btn_wrap btn_layout02">
<button type="button" class="btnType07">신청</button>
<button type="button" class="btnType07" onclick="fnDocReqSubmit();">신청</button>
<button type="button" class="btnType08" onclick="goList();">취소</button>
</div>
<!-- //하단 버튼 -->
</div>
</div>
</form>
</body>
</html>

View File

@ -15,29 +15,43 @@
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
<script type="text/javaScript" language="javascript">
function fncGoList(){
linkPage(1);
}
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var data = {
pageIndex : pageNo,
searchKeyword : $("#searchKeyword").val(),
searchCondition : $("#searchCondition").val(),
pageUnit : 5,
}
AdjstReq.historyAdjstPopEndList(data);
}
$(document).ready(function(){
// 레이어팝업 포커싱 이동 수정
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="list_popup"]');
activeTarget.hide();
$('[data-tooltip="list_popup"]').focus();
});
})
function linkPage(pageNo){
var data = {
pageIndex : pageNo,
searchKeyword : $("#searchKeyword").val(),
searchCondition : $("#searchCondition").val(),
pageUnit : 2,
}
AdjstReq.historyAdjstPopEndList(data);
}
function fncClose(adrSeq, adrNo, reqTy, rpplTy) {
var form = document.createForm;
createForm.adrSeq.value = adrSeq;
createForm.adrNo.value = adrNo;
$("input[name='reqTy'][value='"+reqTy+"']").prop("checked", true);
$("input[name='myselfIs'][value='"+rpplTy+"']").prop("checked", true);
$(".tooltip-close").trigger("click");
}
$(document).ready(function(){
// 레이어팝업 포커싱 이동 수정
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="list_popup"]');
activeTarget.hide();
$('[data-tooltip="list_popup"]').focus();
});
})
</script>
</head>
<body>
@ -48,54 +62,74 @@ $(document).ready(function(){
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstReqVO.searchSortOrd}" />" />
</form:form>
<div class="popup_wrap list_popup" tabindex="0" data-tooltip-con="list_popup" data-focus="list_popup" data-focus-prev="list_popup_close">
<div class="popup_tit">
<p>종결 조정사건 목록</p> <button class="btn_popup_close tooltip-close" data-focus="list_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<div class="popup_search">
<label for="searchKeyword">검색어 입력</label>
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${adjstReqVO.searchKeyword}' />" placeholder="검색어를 입력하세요" size="20">
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
</div>
<div class="popup_tit">
<p>종결 조정사건 목록</p> <button class="btn_popup_close tooltip-close" data-focus="list_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<div class="popup_search">
<label for="searchKeyword">검색어 입력</label>
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${adjstReqVO.searchKeyword}' />" placeholder="검색어를 입력하세요" size="20">
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
</div>
<table class="popup_list">
<caption>피신청인 이전작성 목록 : 피신청인, 저작물 종류, 선택등의 정보제공</caption>
<colgroup>
<col style="width: 40%;">
<col style="width: 40%;">
<col style="width: 20%;">
</colgroup>
<thead>
<tr>
<th scope="col">피신청인</th>
<th scope="col">조정번호</th>
<th scope="col">선택</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>김길동</p>
</td>
<td>
<p>2021조050</p>
</td>
<td><button type="button" class="btnType01">선택</button></td>
</tr>
<tr>
<td colspan="3"><spring:message code="common.nodata.msg" /></td>
</tr>
</tbody>
</table>
<!-- page -->
<%-- <div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div> --%>
<!-- //page -->
<div class="btn_wrap">
<button class="btnType03 tooltip-close" data-focus="list_popup_close" data-focus-next="list_popup">닫기</button>
</div>
</div>
<table class="popup_list">
<caption>피신청인 이전작성 목록 : 피신청인, 저작물 종류, 선택등의 정보제공</caption>
<colgroup>
<col style="width: 10%;">
<col style="width: 30%;">
<col style="width: 30%;">
<col style="width: 30%;">
<col style="width: 20%;">
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">조정번호</th>
<th scope="col">신청인</th>
<th scope="col">피신청인</th>
<th scope="col">선택</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<c:if test="${adjstIncidentVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((adjstIncidentVO.pageIndex -1)*adjstIncidentVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${adjstIncidentVO.searchSortOrd eq 'asc' }">
<c:out value="${(adjstIncidentVO.pageIndex - 1) * adjstIncidentVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<c:out value="${list.adrNo}"/>
</td>
<td>
<c:out value="${list.appliCantNm}"/>
</td>
<td>
<c:out value="${list.resPonDentNm}"/>
</td>
<td>
<button type="button" class="btnType01" onclick="fncClose('<c:out value="${list.adrSeq}"/>','<c:out value="${list.adrNo}"/>','<c:out value="${list.reqTy}"/>','<c:out value="${list.rpplTy}"/>'); return false;">선택</button>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
<div class="btn_wrap">
<button class="btnType03 tooltip-close" data-focus="list_popup_close" data-focus-next="list_popup">닫기</button>
</div>
</div>
</div>
</body>

View File

@ -0,0 +1,82 @@
<%--
대국민 사용자
Class Name : adrAppSlctReport.jsp
Description : 조정기일통지서 오즈리포팅 전송 화면(오즈리포트 정보 전송)
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2021.11.09 우영두 최초생성
author : 우영두
since : 2021.11.09
--%>
<%-- 공통 JS 함수 정의 : /jsp/web/com/webLayout.jsp --%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
<!DOCTYPE html>
<html style="height:100%">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="${ozServerNm}/oz80/ozhviewer/jquery-2.0.3.min.js"></script>
<link rel="stylesheet" href="${ozServerNm}/oz80/ozhviewer/jquery-ui.css" type="text/css"/>
<script src="${ozServerNm}/oz80/ozhviewer/jquery-ui.min.js"></script>
<link rel="stylesheet" href="${ozServerNm}/oz80/ozhviewer/ui.dynatree.css" type="text/css"/>
<script type="text/javascript" src="${ozServerNm}/oz80/ozhviewer/jquery.dynatree.js" charset="utf-8"></script>
<script type="text/javascript" src="${ozServerNm}/oz80/ozhviewer/OZJSViewer.js" charset="utf-8"></script>
</head>
<body style="width:98%;height:98%">
<div id="OZViewer" style="width:98%;height:98%"></div>
<script type="text/javascript">
$(document).ready(function() {
window.opener.location.reload(true);
});
function SetOZParamters_OZViewer() {
var oz;
var jsonData = '${jsObjData}';
oz = document.getElementById("OZViewer");
oz.sendToActionScript("information.debug", "true");
oz.sendToActionScript("connection.servlet", '${ozServerNm}'+"/oz80/server");
oz.sendToActionScript("connection.reportname", "/admin/adrAppSlctReport.ozr");
oz.sendToActionScript('connection.pcount', '1');
oz.sendToActionScript('connection.args1', 'jsonData=' + jsonData); //Json 파라미터 전달
oz.sendToActionScript('export.filename', '전자조정 조정기일 통지서'); //다운로드 파일 이름 지정
oz.sendToActionScript("toolbar.addmemo", "false"); //메모저장 아이콘
oz.sendToActionScript("toolbar.savedm", "false"); //데이터 저장 아이콘
oz.sendToActionScript("toolbar.etc", "false"); //다른메뉴 아이콘
oz.sendToActionScript("viewer.pagedisplay" , "singlepagecontinuous"); //스크롤 추가_220921_이준호
//오즈리포트 pdf 다운로드 시 폰트포함 옵션 추가_220727_이준호
oz.sendToActionScript("font.fontnames", "font1"); // 폰트에 대한 이름 임의로 설정
// oz.sendToActionScript("font.font1.nae", "%uB9D1%uC740%20%uACE0%uB515"); // 맑은 고딕 유니코드 문자
oz.sendToActionScript("font.font1.name", "NanumGothic"); // 맑은 고딕 유니코드 문자
// oz.sendToActionScript("font.font1.url", "/usr/font/NanumGothic.ttf "); // 폰트 경로 기입, url이나 시스템 절대경로 지정 가능
oz.sendToActionScript("font.font1.url", "/home/oz80/fontTestDir/NanumGothic.ttf"); // 폰트 경로 기입, url이나 시스템 절대경로 지정 가능
oz.sendToActionScript("pdf.fontembedding", "true");
oz.sendToActionScript("pdf.fontembedding_subset", "true");
oz.sendToActionScript("print.externalmodule","oz.viewer.export.OZAppletPrintBarcode_MarkAny");
oz.sendToActionScript("connection.extraparam","PropertiesFilePath=%OZCONF%/ozmarkany.properties,UserPassword=a,PdfCreator=MarkAny");
return true;
}
var opt = [];
opt["print_exportfrom"] = "server"; //인쇄 PDF 익스포트 작업을 서버와 통신하여 동작
opt["save_exportfrom"] = { "pdf" : "server" }; //PDF 익스포트 작업을 서버와 통신하여 동작
start_ozjs("OZViewer", '${ozServerNm}'+"/oz80/ozhviewer/", opt);
</script>
</body>
</html>

View File

@ -1223,6 +1223,25 @@ var AdjstReq = {
, "adjstHostoryPop"
);
},
historyAdjstPopEndList : function(paramObj){
if(paramObj == undefined || paramObj == ''){
paramObj = {
pageIndex : 1,
searchKeyword : "",
searchCondition : "",
pageUnit : 5
};
}
// 이전신청데이터 팝업 호출..
commonPopLayeropen(
"/web/kccadr/accdnt/ai/docIssReqRegistPop.do"
, 700
, 600
, paramObj
, "N"
, "adjstIncRegistPopEndList"
);
},
opinionsAdjstPopList : function(paramObj){
if(paramObj == undefined || paramObj == ''){
paramObj = {