Merge branch 'hylee'
This commit is contained in:
commit
d33717fb11
@ -672,16 +672,18 @@ public class AdjstReqStatusController {
|
||||
AdrRecordReadingVO aVO = adrRecordReadingService.selectStatCdAndStatTxt(t);
|
||||
t.setStatCd(aVO.getStatCd());
|
||||
t.setStatTxt(aVO.getStatTxt());
|
||||
t.setResPonDentNm(egovCryptoUtil.decrypt(t.getResPonDentNm()));
|
||||
t.setAppliCantNm(egovCryptoUtil.decrypt(t.getAppliCantNm()));
|
||||
});
|
||||
|
||||
paginationInfo.setTotalRecordCount(list.size() > 0 ? list.get(0).getTotCnt() : 0);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
int listSize = list.size();
|
||||
/*int listSize = list.size();
|
||||
for(int i=0; i<listSize; i++) {
|
||||
list.get(i).setResPonDentNm(egovCryptoUtil.decrypt(list.get(i).getResPonDentNm()));
|
||||
list.get(i).setResPonDentNm(egovCryptoUtil.decrypt(list.get(i).getResPonDentNm()));dmat
|
||||
list.get(i).setAppliCantNm(egovCryptoUtil.decrypt(list.get(i).getAppliCantNm()));
|
||||
}
|
||||
}*/
|
||||
|
||||
model.addAttribute("list", list);
|
||||
model.addAttribute("ssoLoginVO", ssoLoginVO);
|
||||
|
||||
@ -52,6 +52,9 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
|
||||
private String statCd; //
|
||||
private String statTxt; //
|
||||
|
||||
private String mberNm; //
|
||||
private String expense; // 발급 비용
|
||||
|
||||
|
||||
|
||||
public String getRecordReadingSeq() {
|
||||
@ -240,6 +243,18 @@ public class AdrRecordReadingVO extends ComDefaultVO implements Serializable {
|
||||
public void setStatTxt(String statTxt) {
|
||||
this.statTxt = statTxt;
|
||||
}
|
||||
public String getMberNm() {
|
||||
return mberNm;
|
||||
}
|
||||
public void setMberNm(String mberNm) {
|
||||
this.mberNm = mberNm;
|
||||
}
|
||||
public String getExpense() {
|
||||
return expense;
|
||||
}
|
||||
public void setExpense(String expense) {
|
||||
this.expense = expense;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
package kcc.kccadr.viewRecords.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
|
||||
import kcc.kccadr.textsense.service.TextSenseVO;
|
||||
|
||||
public interface ViewRecordsService {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package kcc.kccadr.viewRecords.service.impl;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
|
||||
import kcc.kccadr.textsense.service.TextSenseVO;
|
||||
|
||||
@Repository("ViewRecordsDAO")
|
||||
public class ViewRecordsDAO extends EgovAbstractDAO{
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package kcc.kccadr.viewRecords.service.impl;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
|
||||
import kcc.kccadr.textsense.service.TextSenseVO;
|
||||
import kcc.kccadr.viewRecords.service.ViewRecordsService;
|
||||
|
||||
@Service("ViewRecordsService")
|
||||
public class ViewRecordsServiceImpl implements ViewRecordsService{
|
||||
|
||||
@Resource(name = "ViewRecordsDAO")
|
||||
private ViewRecordsDAO viewRecordsDAO;
|
||||
|
||||
}
|
||||
@ -0,0 +1,332 @@
|
||||
package kcc.kccadr.viewRecords.web;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
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 egovframework.rte.fdl.idgnr.EgovIdGnrService;
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.service.EgovCmmUseService;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.cmm.util.DateUtil;
|
||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||
import kcc.com.utl.user.service.CheckFileUtil;
|
||||
import kcc.kccadr.accdnt.adr.service.AdjstDeputyReqService;
|
||||
import kcc.kccadr.accdnt.ans.service.AnsService;
|
||||
import kcc.kccadr.accdnt.arc.service.CorReqService;
|
||||
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusService;
|
||||
import kcc.kccadr.accdnt.awd.service.AdjstWithDrawService;
|
||||
import kcc.kccadr.adjPgrMgr.apm.service.ApmService;
|
||||
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmService;
|
||||
import kcc.kccadr.adjPgrMgr.drt.service.DrtService;
|
||||
import kcc.kccadr.adjPgrMgr.ent.service.EntService;
|
||||
import kcc.kccadr.adjReqMgrOff.service.AdjReqMgrOffLineService;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrService;
|
||||
import kcc.kccadr.advc.service.AdrHstryMgrService;
|
||||
import kcc.kccadr.advcRecord.service.AdrRecordReadingService;
|
||||
import kcc.kccadr.advcRecord.service.AdrRecordReadingVO;
|
||||
import kcc.kccadr.cmm.service.SMSOracleService;
|
||||
import kcc.kccadr.kccadrCom.service.KccadrCommonService;
|
||||
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
||||
import kcc.kccadr.ojct.service.OjctService;
|
||||
import kcc.kccadr.viewRecords.service.ViewRecordsService;
|
||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
|
||||
/**
|
||||
* 조정진행목록 구현 클래스
|
||||
*
|
||||
* @author 곽승태
|
||||
* @since 2021.09.13
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2021.09.13 곽승태 최초 생성
|
||||
* </pre>
|
||||
*/
|
||||
|
||||
@Controller
|
||||
public class ViewRecordsController {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(ViewRecordsController.class);
|
||||
|
||||
// @Resource(name = "viewRecordsService")
|
||||
// private ViewRecordsService viewRecordsService;
|
||||
|
||||
@Resource(name = "adrRecordReadingService")
|
||||
private AdrRecordReadingService adrRecordReadingService;
|
||||
|
||||
@Resource(name="adjstReqStatusService")
|
||||
private AdjstReqStatusService adjstReqStatusService;
|
||||
|
||||
@Resource(name="adrHstryMgrService")
|
||||
private AdrHstryMgrService adrHstryMgrService;
|
||||
|
||||
@Resource(name = "apmService")
|
||||
private ApmService apmService;
|
||||
|
||||
@Resource(name = "pgrCmmService")
|
||||
private PgrCmmService cmmService;
|
||||
|
||||
@Resource(name = "EntService")
|
||||
private EntService entService;
|
||||
|
||||
@Resource(name = "egovCryptoUtil")
|
||||
EgovCryptoUtil egovCryptoUtil;
|
||||
|
||||
// eGov 공통코드
|
||||
@Resource(name = "EgovCmmUseService")
|
||||
private EgovCmmUseService cmmUseService;
|
||||
|
||||
//파일 체크 util
|
||||
@Resource(name = "checkFileUtil")
|
||||
private CheckFileUtil checkFileUtil;
|
||||
|
||||
@Resource(name = "kccadrCommonService")
|
||||
private KccadrCommonService kccadrCommonService;
|
||||
|
||||
@Resource(name = "rpplGnrService")
|
||||
private EgovIdGnrService rppIdgenService;
|
||||
|
||||
@Resource(name = "KccadrMgrUdtService")
|
||||
private KccadrMgrUdtService kccadrMgrUdtService;
|
||||
|
||||
@Resource(name = "checkAdrProcessUtil")
|
||||
private CheckAdrProcessUtil checkAdrProcessUtil;
|
||||
|
||||
@Resource(name = "drtService")
|
||||
private DrtService drtService;
|
||||
|
||||
@Resource(name = "adjDeputyReqService")
|
||||
private AdjstDeputyReqService adjDeputyReqService;
|
||||
|
||||
@Resource(name="ojctService")
|
||||
private OjctService ojctService;
|
||||
|
||||
//파일정보의 관리
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileService;
|
||||
|
||||
@Resource(name = "corReqService")
|
||||
private CorReqService corReqService;
|
||||
|
||||
// 조정신청 서비스단
|
||||
@Resource(name = "AdjReqMgrOffLineService")
|
||||
private AdjReqMgrOffLineService adjReqMgrOffLineService;
|
||||
|
||||
//첨부파일 경로, realPath 설정
|
||||
@Resource(name="EgovFileMngUtil")
|
||||
private EgovFileMngUtil fileUtil;
|
||||
|
||||
// 첨부파일 정보
|
||||
@Resource(name="EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
//답변서 idgen 서비스
|
||||
@Resource(name = "egovRldMgrManageGnrService")
|
||||
private EgovIdGnrService egovRldMgrManageGnrService;
|
||||
|
||||
//답변서 공통 서비스
|
||||
@Resource(name = "ansService")
|
||||
private AnsService ansService;
|
||||
|
||||
//취하신청 공통 서비스
|
||||
@Resource(name="adjstWithDrawService")
|
||||
private AdjstWithDrawService adjstWithDrawService;
|
||||
|
||||
@Value("#{globalSettings['Globals.pdf.makepath.out']}")
|
||||
private String pdfMakepathOut; // /usr/local/tomcat/file/sht/out
|
||||
|
||||
//조정사건 이력관리 일련번호
|
||||
@Resource(name="adrHstryMgrSeqGnrService")
|
||||
private EgovIdGnrService adrHstryMgrSeqGnrService;
|
||||
|
||||
// 조정신청 서비스단
|
||||
@Resource(name = "AdjReqMgrService")
|
||||
private AdjReqMgrService adjReqMgrService;
|
||||
|
||||
// 실서버 개발서버 구분
|
||||
private static String islocal; // /pdf/out/
|
||||
@Value("#{globalSettings['Globals.prod.islocal']}")
|
||||
public void setIslocal(String path) { islocal = path; }
|
||||
|
||||
// SMS 문자발송 서비스
|
||||
@Resource(name = "SMSOracleService")
|
||||
private SMSOracleService sMSOracleService;
|
||||
|
||||
/*
|
||||
//개발, local oz 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPath']}")
|
||||
private String ozDevPath;
|
||||
*/
|
||||
|
||||
|
||||
//개발, local oz 서버 IP + port
|
||||
@Value("#{globalSettings['Globals.oz.devServerIp']}")
|
||||
private String ozDevServerIp;
|
||||
|
||||
//개발, local oz 스케쥴러 서버 IP + port
|
||||
@Value("#{globalSettings['Globals.oz.devSchedulerIp']}")
|
||||
private String ozDevSchedulerIp;
|
||||
|
||||
//개발, local oz to pdf 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devPdfSavePath']}")
|
||||
private String ozDevPdfSavePath;
|
||||
|
||||
//개발, local oz to pdf 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.devServerCheckString']}")
|
||||
private String devServerCheckString;
|
||||
|
||||
//real oz 서버 IP + port
|
||||
@Value("#{globalSettings['Globals.oz.realServerIp']}")
|
||||
private String ozRealServerIp;
|
||||
|
||||
//real oz 스케쥴러 서버 IP + port
|
||||
@Value("#{globalSettings['Globals.oz.realSchedulerIp']}")
|
||||
private String ozRealSchedulerIp;
|
||||
|
||||
//real oz to pdf 저장 경로
|
||||
@Value("#{globalSettings['Globals.oz.realPdfSavePath']}")
|
||||
private String ozRealPdfSavePath;
|
||||
|
||||
/**
|
||||
* @methodName : apmList
|
||||
* @author : 이호영
|
||||
* @date : 2023.10.26
|
||||
* @description :
|
||||
* @param adrRecordReadingVO
|
||||
* @param request
|
||||
* @param model
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = "/kccadr/viewRecords/applyList.do")
|
||||
public String apmList(@ModelAttribute("adrRecordReadingVO") AdrRecordReadingVO adrRecordReadingVO
|
||||
, HttpServletRequest request
|
||||
, ModelMap model) throws Exception {
|
||||
|
||||
try {
|
||||
LoginVO user = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
if(user == null) {
|
||||
|
||||
return "redirect:/uat/uia/EgovLoginUsr.do";
|
||||
|
||||
}
|
||||
|
||||
if(adrRecordReadingVO.getPageUnit() != 10) {
|
||||
adrRecordReadingVO.setPageUnit(adrRecordReadingVO.getPageUnit());
|
||||
}
|
||||
|
||||
if("".equals(adrRecordReadingVO.getSearchSortCnd())){
|
||||
adrRecordReadingVO.setSearchSortCnd("frstRegistPnttm");
|
||||
adrRecordReadingVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
/** paging */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(adrRecordReadingVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(adrRecordReadingVO.getPageUnit());
|
||||
paginationInfo.setPageSize(adrRecordReadingVO.getPageSize());
|
||||
|
||||
adrRecordReadingVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
|
||||
adrRecordReadingVO.setLastIndex(paginationInfo.getLastRecordIndex());
|
||||
adrRecordReadingVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
|
||||
adrRecordReadingVO.setFrstRegisterId(user.getId());
|
||||
|
||||
List<AdrRecordReadingVO> list = adrRecordReadingService.selectDocReqList(adrRecordReadingVO);
|
||||
|
||||
list.stream().forEach(t->{
|
||||
AdrRecordReadingVO aVO = adrRecordReadingService.selectStatCdAndStatTxt(t);
|
||||
t.setStatCd(aVO.getStatCd());
|
||||
t.setStatTxt(aVO.getStatTxt());
|
||||
t.setResPonDentNm(egovCryptoUtil.decrypt(t.getResPonDentNm()));
|
||||
t.setAppliCantNm(egovCryptoUtil.decrypt(t.getAppliCantNm()));
|
||||
});
|
||||
|
||||
|
||||
paginationInfo.setTotalRecordCount(list.size() > 0 ? list.get(0).getTotCnt() : 0);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
model.addAttribute("list", list);
|
||||
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
return "/kccadr/viewRecords/applyList";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping(value = "/kccadr/viewRecords/applyDetail.do")
|
||||
public String applyDetail(@ModelAttribute("adrRecordReadingVO") AdrRecordReadingVO adrRecordReadingVO
|
||||
, HttpServletRequest request
|
||||
, ModelMap model) throws Exception {
|
||||
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? new LoginVO() : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
SsoLoginVO ssoLoginVO = (SsoLoginVO) request.getSession().getAttribute("SSOLoginVO");
|
||||
|
||||
if (loginVO == null) {
|
||||
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
AdrRecordReadingVO detailVO = adrRecordReadingService.selectDetail(adrRecordReadingVO);
|
||||
|
||||
// 결제 마감일 계산
|
||||
// DateUtil.AddDate 더하고싶은 날짜, 년, 월, 일
|
||||
detailVO.setPayEndDay(DateUtil.AddDate(detailVO.getFrstRegistPnttm(), 0, 0, 7));
|
||||
model.addAttribute("info", detailVO);
|
||||
|
||||
return "/kccadr/viewRecords/applyDetail";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/kccadr/viewRecords/popup/payOfExpenses.do")
|
||||
public String payOfExpenses(@ModelAttribute("adrRecordReadingVO") AdrRecordReadingVO adrRecordReadingVO
|
||||
, HttpServletRequest request
|
||||
, ModelMap model) throws Exception {
|
||||
|
||||
String auth = EgovUserDetailsHelper.isAuthenticated() ? null : EgovUserDetailsHelper.getAuthenticatedUser().toString();
|
||||
LoginVO loginVO = "anonymousUser".equals(auth) ? new LoginVO() : (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||
|
||||
SsoLoginVO ssoLoginVO = (SsoLoginVO) request.getSession().getAttribute("SSOLoginVO");
|
||||
|
||||
if (loginVO == null) {
|
||||
|
||||
model.addAttribute("msg", "로그인 해주세요.");
|
||||
return "redirect:/web/user/login/ssoLogin.do";
|
||||
}
|
||||
AdrRecordReadingVO detailVO = adrRecordReadingService.selectDetail(adrRecordReadingVO);
|
||||
// AdrRecordReadingVO detailVO = adrRecordReadingService.selectDetail(adrRecordReadingVO);
|
||||
|
||||
// 결제 마감일 계산
|
||||
// DateUtil.AddDate 더하고싶은 날짜, 년, 월, 일
|
||||
// detailVO.setPayEndDay(DateUtil.AddDate(detailVO.getFrstRegistPnttm(), 0, 0, 7));
|
||||
model.addAttribute("info", detailVO);
|
||||
|
||||
return "/kccadr/viewRecords/popup/payOfExpenses";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -53,6 +53,7 @@
|
||||
, a.phone AS phone
|
||||
, a.req_details AS reqDetails
|
||||
, a.auth_qntty AS authQntty
|
||||
, a.expense AS expense
|
||||
, a.prcsn_stat_cd AS prcsnStatCd
|
||||
, DATE_FORMAT(a.frst_regist_pnttm,'%Y-%m-%d %H:%i:%s') AS frstRegistPnttm
|
||||
, a.frst_register_id AS frstRegisterId
|
||||
@ -94,6 +95,7 @@
|
||||
|
||||
<!-- 정보 R -->
|
||||
<select id="AdrRecordReadingDAO.selectDetail" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
|
||||
/*AdrRecordReadingDAO.selectDetail*/
|
||||
SELECT
|
||||
<include refid="AdrRecordReadingDAO.select_column_name"/>
|
||||
, b.adr_no as adrNo
|
||||
@ -108,6 +110,7 @@
|
||||
|
||||
<!-- 정보 U -->
|
||||
<update id="AdrRecordReadingDAO.updateRecordReadingStatus" parameterClass="AdrRecordReadingVO">
|
||||
/*AdrRecordReadingDAO.updateRecordReadingStatus*/
|
||||
UPDATE
|
||||
<include refid="AdrRecordReadingDAO.table_name"/>
|
||||
SET
|
||||
@ -124,6 +127,7 @@
|
||||
|
||||
<!-- 정보 D -->
|
||||
<delete id="AdrRecordReadingDAO.deletedocIssReq" parameterClass="AdrRecordReadingVO">
|
||||
/*AdrRecordReadingDAO.deletedocIssReq*/
|
||||
DELETE FROM
|
||||
<include refid="AdrRecordReadingDAO.table_name"/>
|
||||
WHERE
|
||||
@ -133,6 +137,7 @@
|
||||
|
||||
<!-- 정보 L -->
|
||||
<select id="AdrRecordReadingDAO.selectList" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
|
||||
/*AdrRecordReadingDAO.selectList*/
|
||||
SELECT
|
||||
<include refid="AdrRecordReadingDAO.select_column_name"/>
|
||||
FROM
|
||||
@ -150,7 +155,7 @@
|
||||
|
||||
<!-- 정보 L page -->
|
||||
<select id="AdrRecordReadingDAO.selectStatCdAndStatTxt" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
|
||||
|
||||
/*AdrRecordReadingDAO.selectStatCdAndStatTxt*/
|
||||
SELECT
|
||||
CASE a.stat_cd
|
||||
WHEN 304050 THEN '조정조서종결'
|
||||
@ -177,15 +182,17 @@
|
||||
|
||||
<!-- 정보 L page -->
|
||||
<select id="AdrRecordReadingDAO.selectDocReqList" parameterClass="AdrRecordReadingVO" resultClass="AdrRecordReadingVO">
|
||||
/*AdrRecordReadingDAO.selectDocReqList*/
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
<include refid="AdrRecordReadingDAO.select_column_name"/>
|
||||
, s1.RPPL_NM as appliCantNm
|
||||
, c.adr_no AS adrNo
|
||||
|
||||
, lm.mber_nm AS mberNm
|
||||
FROM
|
||||
<include refid="AdrRecordReadingDAO.table_name"/> a
|
||||
|
||||
<isNotEmpty property="searchFrstRegisterId">
|
||||
INNER JOIN
|
||||
( SELECT ADR_SEQ,
|
||||
RPPL_ID,
|
||||
@ -198,6 +205,7 @@
|
||||
)
|
||||
AP
|
||||
ON A.ADR_SEQ = AP.ADR_SEQ
|
||||
</isNotEmpty>
|
||||
LEFT OUTER JOIN
|
||||
ADR_MGR_MASTER c
|
||||
ON
|
||||
@ -205,6 +213,8 @@
|
||||
left join ADR_RPPL s1
|
||||
on s1.adr_seq = a.adr_seq
|
||||
and s1.RPPL_TY = '10'
|
||||
left join LETTNGNRLMBER lm
|
||||
on a.frst_register_id = lm.mber_id
|
||||
WHERE
|
||||
1=1
|
||||
<isNotEmpty property="searchKeyword">
|
||||
@ -239,7 +249,7 @@
|
||||
</select>
|
||||
|
||||
<update id="adrRecordReadingDAO.updatePrcsnStatCd" parameterClass="PayVO">
|
||||
|
||||
/*adrRecordReadingDAO.updatePrcsnStatCd*/
|
||||
UPDATE adr_record_reading
|
||||
SET prcsn_stat_cd = #prcsnStatCd#,
|
||||
prcsn_pnttm = NOW(),
|
||||
|
||||
205
src/main/webapp/WEB-INF/jsp/kccadr/viewRecords/applyDetail.jsp
Normal file
205
src/main/webapp/WEB-INF/jsp/kccadr/viewRecords/applyDetail.jsp
Normal file
@ -0,0 +1,205 @@
|
||||
<%--
|
||||
Class Name : EgovTextSenseDetail.jsp
|
||||
Description : TextSense OCR 상세화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2023.09.27 우영두 최초 생성
|
||||
|
||||
author : 공통서비스 개발팀 JJY
|
||||
since : 2023.09.27
|
||||
--%>
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<title>OCR 상세화면</title>
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/popup.js'/>" ></script>
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
function fnListPage(){
|
||||
window.location.href = "<c:url value='/kccadr/viewRecords/applyList.do'/>";
|
||||
}
|
||||
|
||||
function payPopOpen(){
|
||||
|
||||
var form = document.popupForm;
|
||||
form.action="<c:out value='/kccadr/viewRecords/popup/payOfExpenses.do' />";
|
||||
// form.submit();
|
||||
// openPopupAndSubmitForm('payPopup', 'popupForm', 380, 380);
|
||||
openPopupAndSubmitForm('payPopup', 'popupForm', 800, 380);
|
||||
|
||||
}
|
||||
/*
|
||||
*
|
||||
popOpen('/kccadrPb/adm/popup_fee03.html','수수료 등록', '380','300')
|
||||
openPopupAndSubmitForm(p_name, p_formId, p_width, p_height)
|
||||
|
||||
*/
|
||||
</script>
|
||||
<style>
|
||||
.tbType02 .radio_wrap input[type=radio] + label {margin-right:15px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="popupForm" name="popupForm" action="<c:url value='' />">
|
||||
<input type="hidden" id="recordReadingSeq" name="recordReadingSeq" value="${info.recordReadingSeq }" />
|
||||
</form>
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>기록열람관리 상세</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home">
|
||||
<a href="/"> <i></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<p>기록열람관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<span class="cur_nav">기록열람관리 상세</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_상세 -->
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 210px;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
<p>발급구분</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC501" code="${info.recordReadingFlag}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>조정번호</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><c:out value="${info.adrNo}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>신청인 구분</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC005" code="${info.reqTy}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>연락처</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><c:out value="${info.phone}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<c:choose>
|
||||
<c:when test="${info.recordReadingFlag == 10}">
|
||||
<tr>
|
||||
<th>
|
||||
<p>주소</p>
|
||||
</th>
|
||||
<td><p>(<c:out value="${info.post}"/>)<c:out value="${info.addr}"/> <c:out value="${info.addrDtl}"/></p></td>
|
||||
</tr>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<th>
|
||||
<p>예약일시</p>
|
||||
</th>
|
||||
<td>
|
||||
<c:set var="year" value="${fn:substring(info.reqDate, 0, 4)}" />
|
||||
<c:set var="month" value="${fn:substring(info.reqDate, 4, 6)}" />
|
||||
<c:set var="day" value="${fn:substring(info.reqDate, 6, 8)}" />
|
||||
<p>
|
||||
<c:out value="${year}-${month}-${day}" />, <c:out value="${info.reqHours}"/>:<c:out value="${info.reqMinutes}"/>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<tr>
|
||||
<th>
|
||||
<p>서류종류</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC601" code="${info.docuTy}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>발급부수</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><c:out value="${info.authQntty}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>요청내용</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><c:out value="${info.reqDetails }" /></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><p>발급상태</p></th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC304" code="${info.prcsnStatCd}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>발급비용</th>
|
||||
<td><p><c:out value="${info.expense }" /></p>원</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p class="cfText" style="margin: 10px 0 0 0;">· 기록발급은 신청인만 가능하며, 대리인은 신청이 불가합니다.</p>
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left"></div>
|
||||
<div class="area_right" style="width: auto;">
|
||||
<button type="button" class="btnType02" onclick="payPopOpen()">비용납부</button>
|
||||
<button type="button" class="btnType06">승인</button>
|
||||
<button type="button" class="btnType09" onclick="popOpen('/kccadrPb/adm/popup_rej.html','신청반려', '460','320')">반려</button>
|
||||
<button type="button" class="btnType04" onclick="fnListPage()">목록</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
</body>
|
||||
</html>
|
||||
307
src/main/webapp/WEB-INF/jsp/kccadr/viewRecords/applyList.jsp
Normal file
307
src/main/webapp/WEB-INF/jsp/kccadr/viewRecords/applyList.jsp
Normal file
@ -0,0 +1,307 @@
|
||||
<%@ 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="form" uri="http://www.springframework.org/tags/form"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="KccadrConstants" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<c:set var="now" value="<%=new java.util.Date()%>" />
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>기록열람관리 목록</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
function fn_detail(data){
|
||||
|
||||
var form = document.detailForm;
|
||||
form.recordReadingSeq.value = data;
|
||||
form.action="<c:out value='/kccadr/viewRecords/applyDetail.do' />";
|
||||
form.submit();
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="detailForm" name="detailForm" method="post">
|
||||
<input type="hidden" id="recordReadingSeq" name="recordReadingSeq" />
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" commandName="cmmVO" 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="adrSeq" />
|
||||
<input type="hidden" name="adrSn" />
|
||||
<input type="hidden" name="reqOlCd" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>기록열람관리 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home">
|
||||
<a href="/"> <i></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<p>기록열람관리</p>
|
||||
</li>
|
||||
<li>
|
||||
<span class="cur_nav">기록열람관리 목록</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_util">
|
||||
<div class="detail_search">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="tit_text">구분</p>
|
||||
<select name="searchCondition" id="searchCondition" title="선택">
|
||||
<%-- <option value='' <c:if test="${adrRecordReadingVO.searchCondition == ''}">selected</c:if>>전체</option> --%>
|
||||
<option value='10' <c:if test="${adrRecordReadingVO.searchCondition == '10'}">selected</c:if>>조정번호</option>
|
||||
<option value='20' <c:if test="${adrRecordReadingVO.searchCondition == '20'}">selected</c:if>>신청인</option>
|
||||
<option value='30' <c:if test="${adrRecordReadingVO.searchCondition == '30'}">selected</c:if>>신청내용</option>
|
||||
<option value='40' <c:if test="${adrRecordReadingVO.searchCondition == '40'}">selected</c:if>>조정부</option>
|
||||
<option value='50' <c:if test="${adrRecordReadingVO.searchCondition == '50'}">selected</c:if>>조정조사관</option>
|
||||
</select>
|
||||
<%-- <kc:select codeId="CC005" name="srcDlvSts" id="srcDlvSts" defaultText="전체" defaultValue="" /> --%>
|
||||
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adrRecordReadingVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
|
||||
<button class="btnType07 btn_search" onclick="fncGoList()">검색</button>
|
||||
</li>
|
||||
<li>
|
||||
<kc:radio name="" id="" codeId="" />
|
||||
<p class="tit_text">조정상태</p>
|
||||
<div class="check_wrap">
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsListAll" name="ckStsListAll" value="Y">
|
||||
<label for="ckStsListAll">전체</label>
|
||||
<!-- onclick="fncCheckAll(this, 'ckStsList')" -->
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList1" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_PAY_COMP}"/>">
|
||||
<label for="ckStsList1">입금완료</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList2" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_COMP}"/>">
|
||||
<label for="ckStsList2">조정접수</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList3" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_APPR_COMP}"/>">
|
||||
<label for="ckStsList3">접수결재</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList7" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_DEPT_SLCT_COMP}"/>">
|
||||
<label for="ckStsList7">조정부지정</label>
|
||||
</span>
|
||||
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList5" name="ckStsList" value="adrIng">
|
||||
<label for="ckStsList5">조정진행</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList6" name="ckStsList" value="adrSucc">
|
||||
<label for="ckStsList6">조정성립</label>
|
||||
</span>
|
||||
<span>
|
||||
<input type="checkbox" id="ckStsList4" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_CLOSE_APPR_COMP}"/>">
|
||||
<label for="ckStsList4">종결결재</label>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<%-- <li <c:if test="${adrRecordReadingVO.searchEachAdrAdminBtnYn ne 'Y' }">style="display:none;"</c:if>> --%>
|
||||
<li>
|
||||
<p class="tit_text">조정조사관 조회</p>
|
||||
<%-- <div class="radio_wrap">
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchEachAdrAdminYn eq 'Y' ? 'checked=\"checked\"' : ''} value="Y" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn1">
|
||||
<label for="searchEachAdrAdminYn1">담당사건만 보기</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchEachAdrAdminYn eq 'N' ? 'checked=\"checked\"' : ''} value="N" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn2">
|
||||
<label for="searchEachAdrAdminYn2">전체 보기</label>
|
||||
</span>
|
||||
</div> --%>
|
||||
<%-- <select name="searchLoginId" id="searchLoginId" title="선택" style="width: 250px;">
|
||||
<option value='all' <c:if test="${adrRecordReadingVO.searchLoginId == 'all'}">selected</c:if>>전체</option>
|
||||
<c:forEach var="list" items="${adrAdminList}" varStatus="status">
|
||||
<option value='${list.esntlId}' <c:if test="${adrRecordReadingVO.searchLoginId == list.esntlId}">selected</c:if>><c:out value="${list.userNm}"/></option>
|
||||
</c:forEach>
|
||||
</select> --%>
|
||||
</li>
|
||||
<li>
|
||||
<p class="tit_text">신청일자</p>
|
||||
<div class="radio_wrap">
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchMonth eq '1' ? 'checked=\"checked\"' : ''} value="1" type="radio" name="searchMonth" id="month1">
|
||||
<label for="month1">1개월</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchMonth eq '3' ? 'checked=\"checked\"' : ''} value="3" type="radio" name="searchMonth" id="month3">
|
||||
<label for="month3">3개월</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchMonth eq '6' ? 'checked=\"checked\"' : ''} value="6" type="radio" name="searchMonth" id="month6">
|
||||
<label for="month6">6개월</label>
|
||||
</span>
|
||||
<span>
|
||||
<input ${adrRecordReadingVO.searchMonth eq '99' ? 'checked=\"checked\"' : ''} value="99" type="radio" name="searchMonth" id="monthEtc">
|
||||
<label for="monthEtc">기간지정</label>
|
||||
</span>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${adrRecordReadingVO.searchStartDt}" data-datecontrol="true" ${adrRecordReadingVO.searchMonth ne '99' ? 'readonly' : ''}>
|
||||
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)" class="btn_cal" ${adrRecordReadingVO.searchMonth ne '99' ? 'disabled' : ''}></button>
|
||||
<div id="startDate01-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
~
|
||||
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" value="${adrRecordReadingVO.searchEndDt}" data-datecontrol="true" ${adrRecordReadingVO.searchMonth ne '99' ? 'readonly' : ''}>
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${adrRecordReadingVO.searchMonth ne '99' ? 'disabled' : ''}></button>
|
||||
<div id="endDate-lry" class="calendarPop" style="display: none;">
|
||||
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<p>
|
||||
총 건수 :
|
||||
<span>
|
||||
<c:out value="${paginationInfo.totalRecordCount}" />
|
||||
</span>
|
||||
건
|
||||
</p>
|
||||
<div class="list_util">
|
||||
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
|
||||
<option value='10' <c:if test="${adrRecordReadingVO.pageUnit == '10' or cmmVO.pageUnit == ''}">selected</c:if>>10줄</option>
|
||||
<option value='20' <c:if test="${adrRecordReadingVO.pageUnit == '20'}">selected</c:if>>20줄</option>
|
||||
<option value='30' <c:if test="${adrRecordReadingVO.pageUnit == '30'}">selected</c:if>>30줄</option>
|
||||
<option value='100' <c:if test="${adrRecordReadingVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 8%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<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 onclick="fn_detail('<c:out value="${list.recordReadingSeq }" />')" style=" cursor: pointer;">
|
||||
<td class="td_num">
|
||||
<c:if test="${adrRecordReadingVO.searchSortOrd eq 'desc' }">
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((adrRecordReadingVO.pageIndex -1)*adrRecordReadingVO.pageUnit) ) - status.index }"/>
|
||||
</c:if>
|
||||
<c:if test="${adrRecordReadingVO.searchSortOrd eq 'asc' }">
|
||||
<c:out value="${(adrRecordReadingVO.pageIndex - 1) * adrRecordReadingVO.pageUnit + status.count}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
<td class="td_date">
|
||||
<p><kc:code codeId="CC501" code="${list.recordReadingFlag}"/></p>
|
||||
</td>
|
||||
<td class="td_date">
|
||||
<p><c:out value="${list.frstRegistPnttm}"/></p>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<p><c:out value="${list.adrNo}"/></p>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<c:out value="${list.appliCantNm}"/>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<c:out value="${list.statTxt}"/> <%-- (<c:out value="${list.statCd}"/>) --%>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<c:out value="${list.mberNm}"/>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<p><kc:code codeId="CC601" code="${list.docuTy}"/></p>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<kc:code codeId="CC304" code="${list.prcsnStatCd}"/>
|
||||
<%-- <p>
|
||||
<c:choose>
|
||||
<c:when test="${list.prcsnStatCd eq '10'}">
|
||||
<button type="button" class="btnType10 paybtn" onclick="paybtn('<c:out value="${list.recordReadingSeq}" />', '<c:out value="${list.recordReadingFlag}"/>')">수수료결제</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>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
<div class="btn_wrap btn_layout02">
|
||||
<!-- <button class="btnType02" onclick="fncGoDtb(); return false;">조정부지정</button> -->
|
||||
</div>
|
||||
<!-- page -->
|
||||
<div class="page">
|
||||
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||
</div>
|
||||
<!-- //page -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,113 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="ko" >
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>수수료 등록</title>
|
||||
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/font.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/common.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/content_media.css">
|
||||
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript">
|
||||
|
||||
function fnClose(){
|
||||
window.self.close();
|
||||
}
|
||||
|
||||
|
||||
function fnDocReqSubmit() {
|
||||
|
||||
if(!$('#expense').val()){
|
||||
alert('수수료 금액을 입력해 주세요');
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!confirm("납부 요청을 하시겠습니까?")) return;
|
||||
|
||||
var data = new FormData(document.updateForm);
|
||||
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : "/kccadr/viewRecords/updateExpenseAjax.do",
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
async : false,
|
||||
processData : false,
|
||||
contentType : false,
|
||||
cache : false,
|
||||
success : function(returnData, status) {
|
||||
if (returnData.result == 'success') {
|
||||
alert("납부요청이 완료되었습니다.");
|
||||
opener.location.reload();
|
||||
} else {
|
||||
alert(returnData.message);
|
||||
}
|
||||
|
||||
},
|
||||
error : function(e) {
|
||||
alert("신청을 실패하였습니다.");
|
||||
console.log("ERROR : ", e);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="updateForm" name="updateForm">
|
||||
<input type="hidden" id="recordReadingSeq" name="recordReadingSeq" value="${info.recordReadingSeq }" />
|
||||
<div class="area_popup fee_popup" style="width: 380px;">
|
||||
<div class="cont_popup">
|
||||
|
||||
<div class="tb_tit">
|
||||
<p>수수료 등록</p>
|
||||
</div>
|
||||
<table class="pop_tbType01">
|
||||
<colgroup>
|
||||
<col style="width: 35%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>수수료 근거</th>
|
||||
<td><p><kc:code codeId="CC601" code="${info.docuTy}"/> <c:out value="${info.authQntty}"/>부</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>수수료 금액</th>
|
||||
<td><input type="text" id="expense" name="expense"><c:out value="${info.expense }"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_wrap btn_layout04">
|
||||
<button type="button" class="btnType06" onclick="fnDocReqSubmit()">납부요청</button>
|
||||
<button type="button" class="btnType04" onclick="fnClose()">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -275,7 +275,7 @@
|
||||
<p>서류종류</p>
|
||||
</th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC303" code="${info.docuTy}"/></p>
|
||||
<p><kc:code codeId="CC601" code="${info.docuTy}"/></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -298,7 +298,7 @@
|
||||
<th><p>발급상태</p></th>
|
||||
<td>
|
||||
<p><kc:code codeId="CC304" code="${info.prcsnStatCd}"/></p>
|
||||
<c:if test="${info.recordReadingFlag == 10 and info.prcsnStatCd ne 90}">
|
||||
<c:if test="${info.recordReadingFlag == 10 and info.prcsnStatCd eq 20}">
|
||||
<button type="button" class="btnType01" data-tooltip="fee_popup">결제계좌</button>
|
||||
</c:if>
|
||||
</td>
|
||||
@ -355,7 +355,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><kc:code codeId="CC303" code="${info.docuTy}"/> <c:out value="${info.authQntty}"/>부</td>
|
||||
<td><kc:code codeId="CC601" code="${info.docuTy}"/> <c:out value="${info.authQntty}"/>부</td>
|
||||
<td>
|
||||
<p class="t_bold c_222222"><c:out value="${formattedValue}" />원</p>
|
||||
</td>
|
||||
|
||||
@ -219,11 +219,11 @@
|
||||
<div class="tb_list01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 80px;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
@ -235,7 +235,7 @@
|
||||
<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>
|
||||
@ -265,10 +265,10 @@
|
||||
<span class="m_th_text">조정번호</span>
|
||||
<p><c:out value="${list.adrNo}"/></p>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<%-- <td class="td_subscriber">
|
||||
<span class="m_th_text">발급종류</span>
|
||||
<p><kc:code codeId="CC303" code="${list.docuTy }"/></p>
|
||||
</td>
|
||||
</td> --%>
|
||||
<td class="td_subscriber">
|
||||
<span class="m_th_text">조정 신청인</span>
|
||||
<c:out value="${list.appliCantNm}"/>
|
||||
@ -279,7 +279,7 @@
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<span class="m_th_text">신청서류</span>
|
||||
<p><kc:code codeId="CC303" code="${list.docuTy}"/></p>
|
||||
<p><kc:code codeId="CC601" code="${list.docuTy}"/></p>
|
||||
</td>
|
||||
<td class="td_subscriber">
|
||||
<span class="m_th_text">발급상태</span>
|
||||
|
||||
@ -19,3 +19,36 @@
|
||||
var oPopup = window.open(sUrl,sName,"width="+width+",height="+height+",top="+TopPosition+",left="+LeftPosition+", scrollbars=no");
|
||||
if(oPopup){oPopup.focus();}
|
||||
}
|
||||
|
||||
|
||||
/* ********************************************************
|
||||
* 팝업창 form action + 모니터 가운데 노출
|
||||
******************************************************** */
|
||||
function openPopupAndSubmitForm(p_targetNm, p_formId, p_width, p_height) {
|
||||
var width = p_width; // 팝업 창의 너비
|
||||
var height = p_height; // 팝업 창의 높이
|
||||
|
||||
|
||||
|
||||
// 화면의 너비와 높이를 가져옵니다.
|
||||
var curX = window.screenLeft;
|
||||
var curWidth = document.body.clientWidth;
|
||||
|
||||
// 팝업 창의 x, y 위치를 계산합니다.
|
||||
var left = curX + (curWidth / 2) - (width / 2);
|
||||
var top = (window.screen.height / 2) - (height / 2);
|
||||
|
||||
// 팝업 창 설정 및 중앙 위치
|
||||
var popup = window.open('', p_targetNm, 'width=' + width + ',height=' + height + ',scrollbars=yes,resizable=yes,left=' + left + ',top=' + top);
|
||||
|
||||
// form의 target을 새 창으로 설정하고 제출
|
||||
var form = document.getElementById(p_formId);
|
||||
console.log('p_formId : ', p_formId);
|
||||
console.log('form : ', form);
|
||||
form.target = p_targetNm;
|
||||
form.submit();
|
||||
|
||||
// 포커스를 새 팝업 창으로 이동
|
||||
popup.focus();
|
||||
return false;
|
||||
}
|
||||
@ -19,3 +19,4 @@
|
||||
var oPopup = window.open(sUrl,sName,"width="+width+",height="+height+",top="+TopPosition+",left="+LeftPosition+", scrollbars=no");
|
||||
if(oPopup){oPopup.focus();}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user