2022-11-10 17:23 조정부에 속한 사건 정보 작업
This commit is contained in:
parent
5951993295
commit
484be5d630
@ -21,6 +21,8 @@ import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
|||||||
import kcc.com.cmm.LoginVO;
|
import kcc.com.cmm.LoginVO;
|
||||||
import kcc.kccadr.adjPgrMgr.adjDept.service.AdjustDeptManageService;
|
import kcc.kccadr.adjPgrMgr.adjDept.service.AdjustDeptManageService;
|
||||||
import kcc.kccadr.adjPgrMgr.adjDept.service.AdjustDeptManageVO;
|
import kcc.kccadr.adjPgrMgr.adjDept.service.AdjustDeptManageVO;
|
||||||
|
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmService;
|
||||||
|
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmVO;
|
||||||
import kcc.kccadr.kccadrCom.service.KccadrCommonSearchVO;
|
import kcc.kccadr.kccadrCom.service.KccadrCommonSearchVO;
|
||||||
import kcc.kccadr.kccadrCom.service.KccadrCommonService;
|
import kcc.kccadr.kccadrCom.service.KccadrCommonService;
|
||||||
import kcc.kccadr.kccadrCom.service.KccadrCommonVO;
|
import kcc.kccadr.kccadrCom.service.KccadrCommonVO;
|
||||||
@ -54,6 +56,9 @@ public class AdjustDeptManagerController {
|
|||||||
@Resource(name = "egovCryptoUtil")
|
@Resource(name = "egovCryptoUtil")
|
||||||
EgovCryptoUtil egovCryptoUtil;
|
EgovCryptoUtil egovCryptoUtil;
|
||||||
|
|
||||||
|
@Resource(name = "pgrCmmService")
|
||||||
|
private PgrCmmService cmmService;
|
||||||
|
|
||||||
@RequestMapping(value = "/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do")
|
@RequestMapping(value = "/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do")
|
||||||
public String adjustDeptManagerList(@ModelAttribute("adjustDeptManageVO") AdjustDeptManageVO adjustDeptManageVO , ModelMap model) throws Exception {
|
public String adjustDeptManagerList(@ModelAttribute("adjustDeptManageVO") AdjustDeptManageVO adjustDeptManageVO , ModelMap model) throws Exception {
|
||||||
|
|
||||||
@ -233,6 +238,11 @@ public class AdjustDeptManagerController {
|
|||||||
decryptInfomation(list, info);
|
decryptInfomation(list, info);
|
||||||
model.addAttribute("info", info);
|
model.addAttribute("info", info);
|
||||||
model.addAttribute("list", list);
|
model.addAttribute("list", list);
|
||||||
|
|
||||||
|
PgrCmmVO cmmVO = new PgrCmmVO(); ;
|
||||||
|
cmmVO.setMemDeptSeq(adjustDeptManageVO.getMemDeptSeq());
|
||||||
|
model.addAttribute("adrList", cmmService.selectPgrCmmDeptList(cmmVO));
|
||||||
|
|
||||||
return "kccadr/adjPgrMgr/adjDept/AdjustDeptManagerDetail";
|
return "kccadr/adjPgrMgr/adjDept/AdjustDeptManagerDetail";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,9 @@ import kcc.kccadr.adjPgrMgr.arm.service.CmntVO;
|
|||||||
public interface PgrCmmService {
|
public interface PgrCmmService {
|
||||||
|
|
||||||
List<PgrCmmVO> selectPgrCmmList(PgrCmmVO pgrCmmVO) throws Exception;
|
List<PgrCmmVO> selectPgrCmmList(PgrCmmVO pgrCmmVO) throws Exception;
|
||||||
|
|
||||||
|
//조정부에 속한 사건 리스트
|
||||||
|
List<PgrCmmVO> selectPgrCmmDeptList(PgrCmmVO pgrCmmVO) throws Exception;
|
||||||
|
|
||||||
int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception;
|
int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception;
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,10 @@ public class PgrCmmDAO extends EgovAbstractDAO {
|
|||||||
return (List<PgrCmmVO>) list("Cmm.selectPgrCmmList", pgrCmmVO);
|
return (List<PgrCmmVO>) list("Cmm.selectPgrCmmList", pgrCmmVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<PgrCmmVO> selectPgrCmmDeptList(PgrCmmVO pgrCmmVO) throws Exception {
|
||||||
|
return (List<PgrCmmVO>) list("Cmm.selectPgrCmmDeptList", pgrCmmVO);
|
||||||
|
}
|
||||||
|
|
||||||
public int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception {
|
public int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception {
|
||||||
return (Integer) select("Cmm.selectPgrCmmListCnt", pgrCmmVO);
|
return (Integer) select("Cmm.selectPgrCmmListCnt", pgrCmmVO);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,6 +50,20 @@ public class PgrCmmServiceImpl implements PgrCmmService {
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PgrCmmVO> selectPgrCmmDeptList(PgrCmmVO pgrCmmVO) throws Exception {
|
||||||
|
|
||||||
|
setDayInfo(pgrCmmVO);
|
||||||
|
|
||||||
|
List<PgrCmmVO> list = pgrCmmDAO.selectPgrCmmDeptList(pgrCmmVO);
|
||||||
|
|
||||||
|
for (PgrCmmVO item : list) {
|
||||||
|
decpyptVo(item);
|
||||||
|
}
|
||||||
|
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception {
|
public int selectPgrCmmListCnt(PgrCmmVO pgrCmmVO) throws Exception {
|
||||||
setDayInfo(pgrCmmVO);
|
setDayInfo(pgrCmmVO);
|
||||||
|
|||||||
@ -893,6 +893,94 @@
|
|||||||
WHERE adr_seq = #adrSeq#
|
WHERE adr_seq = #adrSeq#
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!-- 조정부에 속한 사건 조회 쿼리 -->
|
||||||
|
<select id="Cmm.selectPgrCmmDeptList" resultClass="kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmVO">
|
||||||
|
<!-- -->
|
||||||
|
SELECT
|
||||||
|
M.ADR_SEQ AS adrSeq /* 조정일련번호 */
|
||||||
|
, D.ADR_SN AS adrSn /* 조정회차 */
|
||||||
|
, M.ADR_NO AS adrNo /* 조정사건번호 */
|
||||||
|
, M.STAT_CD AS statCd /* 조정사건상태 */
|
||||||
|
, SCD.CODE_NM AS statCdTx /* 조정사건상태_TX */
|
||||||
|
, M.REQ_OL_CD AS reqOlCd /* 온_오프라인_신청구분 */
|
||||||
|
, RCD.CODE_NM AS reqOlCdTx /* 온_오프라인_신청구분_Tx */
|
||||||
|
, CCD.CODE_NM AS ccTyTx /* 저작물 유형_Tx */
|
||||||
|
, M.REQ_TY AS reqTy /* 신청유형 */
|
||||||
|
, D.MEM_DEPT_SEQ AS memDeptSeq /* 조정부 */
|
||||||
|
, D.ADR_ADM_ID AS adrAdmId /* 조정조사관ID */
|
||||||
|
, AU.USER_NM AS adrAdmNm /* 조정조사관명 */
|
||||||
|
, AM.APP_DE AS appDe /* 조정기일일시 */
|
||||||
|
, TO_CHAR ( AM.APP_DE, 'YYYY/MM/DD' ) AS appDeDay /* 조정기일 */
|
||||||
|
, TO_CHAR ( AM.APP_DE, 'HH24:MI' ) AS appDeTime /* 조정기일 일시 */
|
||||||
|
, DM.MEM_DEPT_NM AS memDeptNm /* 조정부명 */
|
||||||
|
, AP.RPPL_NM AS appliCantNm /* 신청인 */
|
||||||
|
, ( SELECT GROUP_CONCAT ( RPPL_NM SEPARATOR ', ' )
|
||||||
|
FROM ADR_RPPL S1
|
||||||
|
WHERE 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 COUNT ( 1 )
|
||||||
|
FROM ADR_RPPL S1
|
||||||
|
WHERE S1.ADR_SEQ = M.ADR_SEQ
|
||||||
|
AND S1.RPPL_TY = '20' ) AS resPonDentNmCnt /* 피신청인수 */
|
||||||
|
|
||||||
|
, M.SBMT_DE AS sbmtDe /* 신청일시 */
|
||||||
|
, TO_CHAR ( M.SBMT_DE, 'YYYY/MM/DD' ) AS sbmtDeDay /* 신청일 */
|
||||||
|
, TO_CHAR ( M.SBMT_DE, 'HH24:MI' ) AS sbmtDeTime /* 신청일 일시 */
|
||||||
|
, M.FRST_REGISTER_ID AS frstRegisterId /* 등록자 */
|
||||||
|
|
||||||
|
|
||||||
|
FROM ADR_MGR_MASTER M
|
||||||
|
LEFT JOIN
|
||||||
|
( SELECT ADR_SEQ ,
|
||||||
|
MAX ( ADR_SN ) AS ADR_SN
|
||||||
|
FROM ADR_MGR_DETAIL
|
||||||
|
GROUP BY ADR_SEQ
|
||||||
|
)
|
||||||
|
Z
|
||||||
|
ON M.ADR_SEQ = Z.ADR_SEQ
|
||||||
|
LEFT JOIN ADR_MGR_DETAIL D
|
||||||
|
ON M.ADR_SEQ = D.ADR_SEQ
|
||||||
|
AND D.ADR_SN = Z.ADR_SN
|
||||||
|
LEFT JOIN LETTNEMPLYRINFO AU
|
||||||
|
ON D.ADR_ADM_ID = AU.ESNTL_ID
|
||||||
|
LEFT JOIN LETTCCMMNDETAILCODE SCD
|
||||||
|
ON SCD.CODE_ID = 'CC013'
|
||||||
|
AND SCD.CODE = M.STAT_CD
|
||||||
|
LEFT JOIN LETTCCMMNDETAILCODE RCD
|
||||||
|
ON RCD.CODE_ID = 'CC014'
|
||||||
|
AND RCD.CODE = TRIM ( M.REQ_OL_CD )
|
||||||
|
LEFT JOIN LETTCCMMNDETAILCODE CCD
|
||||||
|
ON CCD.CODE_ID = 'CC002'
|
||||||
|
AND CCD.CODE = TRIM ( M.CC_TY )
|
||||||
|
LEFT JOIN ADR_MEM_DEPT_MGR DM
|
||||||
|
ON DM.MEM_DEPT_SEQ = D.MEM_DEPT_SEQ
|
||||||
|
LEFT JOIN ADR_RPPL AP
|
||||||
|
ON AP.ADR_SEQ = M.ADR_SEQ
|
||||||
|
AND AP.RPPL_TY = '10'
|
||||||
|
LEFT JOIN
|
||||||
|
( SELECT ADR_SEQ ,
|
||||||
|
ADR_SN ,
|
||||||
|
MAX ( APP_SEQ ) AS APP_SEQ
|
||||||
|
FROM ADR_APP_MGR
|
||||||
|
GROUP BY ADR_SEQ,
|
||||||
|
ADR_SN
|
||||||
|
)
|
||||||
|
ZAM
|
||||||
|
ON M.ADR_SEQ = ZAM.ADR_SEQ
|
||||||
|
AND D.ADR_SN = ZAM.ADR_SN
|
||||||
|
LEFT JOIN ADR_APP_MGR AM
|
||||||
|
ON M.ADR_SEQ = AM.ADR_SEQ
|
||||||
|
AND D.ADR_SN = AM.ADR_SN
|
||||||
|
AND ZAM.APP_SEQ = AM.APP_SEQ
|
||||||
|
|
||||||
|
WHERE 1=1
|
||||||
|
AND d.mem_dept_seq=#memDeptSeq#
|
||||||
|
|
||||||
|
ORDER BY m.adr_seq desc
|
||||||
|
|
||||||
|
</select>
|
||||||
</sqlMap>
|
</sqlMap>
|
||||||
|
|
||||||
|
|||||||
@ -76,6 +76,15 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncGoDetail(adrSeq, adrSn, reqOlCd) {
|
||||||
|
var listForm = document.listForm;
|
||||||
|
listForm.adrSeq.value = adrSeq;
|
||||||
|
listForm.adrSn.value = adrSn;
|
||||||
|
listForm.reqOlCd.value = reqOlCd;
|
||||||
|
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
|
||||||
|
listForm.submit();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -204,10 +213,134 @@
|
|||||||
<button class="btnType03" onclick="fncGoList(); return false;">목록</button>
|
<button class="btnType03" onclick="fncGoList(); return false;">목록</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- list -->
|
||||||
|
<p class="tb_tit">담당사건목록</p>
|
||||||
|
<div class="list tbType01">
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 42px;">
|
||||||
|
<col style="width: 6%;">
|
||||||
|
<col style="width: 6%;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: auto;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: 8%;">
|
||||||
|
<col style="width: 7%;">
|
||||||
|
<col style="width: 200px;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fncCheckAll(this, 'ckAdrList')"> <label for="checkAll"></label></th>
|
||||||
|
<th>신청일자</th>
|
||||||
|
<th>구분
|
||||||
|
<!-- <button class="sort btn_sort" id="sort_M.REQ_OL_CD">▲</button> -->
|
||||||
|
</th>
|
||||||
|
<th>조정번호</th>
|
||||||
|
<th>신청인</th>
|
||||||
|
<th>신청내용</th>
|
||||||
|
<th>피신청인</th>
|
||||||
|
<th>조정부</th>
|
||||||
|
<th>조사관</th>
|
||||||
|
<th>기일</th>
|
||||||
|
<th>진행차수</th>
|
||||||
|
<th>조정상태</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<c:forEach var="item" items="${adrList}" varStatus="status">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- 접수결재 완료 상태(201050)이거나, 조정부지정반려(202090) 상태일때만 체크박스가 활성화 되어 보여진다. -->
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${item.statCd == KccadrConstants.ADR_RCPT_APPR_COMP || item.statCd== KccadrConstants.ADR_DEPT_SLCT_RETN}">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${item.memDeptSeq eq null }">
|
||||||
|
<!-- 조정부가 없으면 배당등록 있으면 배당수정 (사건번가 할당되어있어야 한다.) -->
|
||||||
|
<input type="checkbox" id="list<c:out value="${status.index}" />" name="ckAdrList" value="<c:out value="${item.adrSeq}|${item.adrNo}|${item.adrSn}" />">
|
||||||
|
<label for="list<c:out value="${status.index}" />"></label>
|
||||||
|
</c:when>
|
||||||
|
</c:choose>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<input type="checkbox" id="chkNone" name="chkNone" disabled>
|
||||||
|
<label for="chkNone"></label>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <c:out value="${item.sbmtDeDay}" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><c:out value="${item.reqOlCdTx}" /></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.adrNo}" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.appliCantNm}" /></p></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.ccTyTx}" /></p></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="#none" onclick="fncGoDetail('${item.adrSeq}', '${item.adrSn}', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.resPonDentNm}" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><c:out value="${item.memDeptNm}" /></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><c:out value="${item.adrAdmNm}" /></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><c:out value="${item.appDeDay}" /></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><c:out value="${item.adrSn}" /></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${item.statCdTx eq '' || item.statCdTx eq null }"></c:when>
|
||||||
|
<c:when test="${item.statCd eq '104010'}">
|
||||||
|
<p class="status_cmp">
|
||||||
|
<c:out value="${item.statCdTx}" />
|
||||||
|
</p>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<p class="status_ing">
|
||||||
|
<c:out value="${item.statCdTx}" />
|
||||||
|
</p>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<%-- <tr>
|
||||||
|
<td colspan="10"><c:out value="${item}" /></td>
|
||||||
|
</tr> --%>
|
||||||
|
</c:forEach>
|
||||||
|
<c:if test="${empty list}">
|
||||||
|
<tr>
|
||||||
|
<td colspan="12">
|
||||||
|
<spring:message code="common.nodata.msg" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- //list -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form:form>
|
</form:form>
|
||||||
|
<form:form id="listForm" name="listForm" commandName="cmmVO" onsubmit="return false;" method="post">
|
||||||
|
<input type="hidden" name="adrSeq" />
|
||||||
|
<input type="hidden" name="adrSn" />
|
||||||
|
<input type="hidden" name="reqOlCd" />
|
||||||
|
</form:form>
|
||||||
<!-- //cont -->
|
<!-- //cont -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user