240125 담당자 목록 화면 1(이용정).hwp 수정사항 진행중
This commit is contained in:
parent
40ea9bcafb
commit
4ac5a51304
@ -49,4 +49,6 @@ public interface AdjCourtCnctnService {
|
||||
public AdjCourtDeptVO selectCourtDept(AdjCourtDeptVO adjCourtDeptVO) throws Exception;
|
||||
|
||||
public RestResponse insertAdjCourtRprtDePopAjax(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception;
|
||||
|
||||
void updateOfcpsNmFromAdrCourtDeptMgr(AdjCourtCnctnVO adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
@ -77,6 +77,8 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
|
||||
private String ckStsList[];
|
||||
private String ckStsListAll;
|
||||
private String crtLinkHouseList[];
|
||||
private String crtLinkHouseAll;
|
||||
|
||||
private String searchMonth;
|
||||
|
||||
@ -99,6 +101,10 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
private String deptOrdinaryYn;
|
||||
|
||||
private String uniqId;
|
||||
|
||||
private String crtCnfrm;
|
||||
|
||||
private String ofcpsNm;
|
||||
|
||||
public String getCrtSeq() {
|
||||
return crtSeq;
|
||||
@ -382,6 +388,18 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setSearchStatCd(String searchStatCd) {
|
||||
this.searchStatCd = searchStatCd;
|
||||
}
|
||||
public String[] getCrtLinkHouseList() {
|
||||
return crtLinkHouseList;
|
||||
}
|
||||
public void setCrtLinkHouseList(String[] crtLinkHouseList) {
|
||||
this.crtLinkHouseList = crtLinkHouseList;
|
||||
}
|
||||
public String getCrtLinkHouseAll() {
|
||||
return crtLinkHouseAll;
|
||||
}
|
||||
public void setCrtLinkHouseAll(String crtLinkHouseAll) {
|
||||
this.crtLinkHouseAll = crtLinkHouseAll;
|
||||
}
|
||||
public String[] getCkStsList() {
|
||||
return ckStsList;
|
||||
}
|
||||
@ -466,6 +484,18 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setUniqId(String uniqId) {
|
||||
this.uniqId = uniqId;
|
||||
}
|
||||
public String getCrtCnfrm() {
|
||||
return crtCnfrm;
|
||||
}
|
||||
public void setCrtCnfrm(String crtCnfrm) {
|
||||
this.crtCnfrm = crtCnfrm;
|
||||
}
|
||||
public String getOfcpsNm() {
|
||||
return ofcpsNm;
|
||||
}
|
||||
public void setOfcpsNm(String ofcpsNm) {
|
||||
this.ofcpsNm = ofcpsNm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -102,6 +102,10 @@ public class AdjCourtCnctnDAO extends EgovAbstractDAO {
|
||||
public void insertAdjCourtRprtDePopAjax(AdjCourtCnctnVO adjCourtCnctnVO) throws Exception {
|
||||
update("adjCourtCnctnDAO.insertAdjCourtRprtDePopAjax", adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
public void updateOfcpsNmFromAdrCourtDeptMgr(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
update("adjCourtCnctnDAO.updateOfcpsNmFromAdrCourtDeptMgr", adjCourtCnctnVO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -289,6 +289,13 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
|
||||
}
|
||||
return new RestResponse(HttpStatus.OK, "등록 되었습니다.", LocalDateTime.now());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateOfcpsNmFromAdrCourtDeptMgr(AdjCourtCnctnVO adjCourtCnctnVO) {
|
||||
// TODO Auto-generated method stub
|
||||
adjCourtCnctnDAO.updateOfcpsNmFromAdrCourtDeptMgr(adjCourtCnctnVO);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -96,7 +96,9 @@ public class AdjCourtCnctnController {
|
||||
if(loginVO != null && (KccadrCourtConstants.CRT_DEPT_ORDINARY).equals(loginVO.getOfcpsNm())) {
|
||||
adjCourtCnctnVO.setDeptOrdinaryYn("Y");
|
||||
adjCourtCnctnVO.setUniqId(loginVO.getUniqId());
|
||||
|
||||
}
|
||||
model.addAttribute("ofcpsNm",loginVO.getOfcpsNm());
|
||||
|
||||
adjCourtCnctnVO.setSearchStatCd("list");
|
||||
|
||||
@ -141,6 +143,12 @@ public class AdjCourtCnctnController {
|
||||
model.addAttribute("deptNmArr", deptNmArr(list));
|
||||
|
||||
model.addAttribute("list", list);
|
||||
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
vo.setCodeId("CC701");
|
||||
List<?> corporationCmmCode = cmmUseService.selectCmmCodeDetail(vo);
|
||||
model.addAttribute("corporationCmmCode", corporationCmmCode);
|
||||
|
||||
|
||||
return "kccadr/adjCourtCnctn/adjCourtCnctnList";
|
||||
}
|
||||
@ -162,6 +170,18 @@ public class AdjCourtCnctnController {
|
||||
|
||||
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
|
||||
|
||||
|
||||
// 처음 확인이면 확인 컬럼에 crtCnfrm = "Y" udpate
|
||||
if("N".equals(CourtVO.getCrtCnfrm())
|
||||
&& "80".equals(CourtVO.getOfcpsNm())) {
|
||||
|
||||
CourtVO.setCrtCnfrm("Y");
|
||||
CourtVO.setEsntlId(loginVO.getUniqId());
|
||||
CourtVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
|
||||
adjCourtCnctnService.updateOfcpsNmFromAdrCourtDeptMgr(CourtVO);
|
||||
}
|
||||
|
||||
if(StringUtil.isEmpty(adjCourtCnctnVO.getTabSeq())) {
|
||||
adjCourtCnctnVO.setTabSeq("0");
|
||||
}
|
||||
|
||||
@ -14,7 +14,8 @@
|
||||
(SELECT t1.crt_seq,
|
||||
t1.esntl_id,
|
||||
t1.crt_dept_ty,
|
||||
t2.user_nm
|
||||
t2.user_nm,
|
||||
t1.crt_cnfrm
|
||||
FROM adr_court_dept_mgr t1
|
||||
LEFT JOIN lettnemplyrinfo t2
|
||||
ON t1.esntl_id = t2.esntl_id
|
||||
@ -86,6 +87,17 @@
|
||||
<iterate open="(" close=")" conjunction="," property="ckStsList" prepend="AND a.crt_stat_cd IN " > #ckStsList[]# </iterate>
|
||||
</isNotEmpty>
|
||||
</isEmpty>
|
||||
|
||||
AND crt_link_house IS NOT NULL
|
||||
|
||||
<isEmpty property="crtLinkHouseAll" >
|
||||
<isNotEmpty property="crtLinkHouseList">
|
||||
<iterate open="(" close=")" conjunction="," property="crtLinkHouseList" prepend="AND a.crt_link_house IN " > #crtLinkHouseList[]# </iterate>
|
||||
</isNotEmpty>
|
||||
</isEmpty>
|
||||
|
||||
|
||||
|
||||
<isNotEmpty property="searchLoginId" >
|
||||
<isNotEqual property="searchLoginId" compareValue="all" prepend="AND" >
|
||||
b.esntl_id = #searchLoginId#
|
||||
@ -137,7 +149,8 @@
|
||||
a.crt_allct_ddl_de_add1st as crtAllctDdlDeAdd1st,
|
||||
a.crt_allct_ddl_de_add2nd as crtAllctDdlDeAdd2nd,
|
||||
b.user_nm AS deptNm,
|
||||
c.user_nm AS deptNmArr
|
||||
c.user_nm AS deptNmArr,
|
||||
b.crt_cnfrm AS crtCnfrm
|
||||
|
||||
<include refid="adjCourtCnctnDAO.adjCourtCnctnListSql"></include>
|
||||
ORDER BY a.frst_regist_pnttm desc
|
||||
@ -997,4 +1010,15 @@
|
||||
|
||||
</update>
|
||||
|
||||
<update id="adjCourtCnctnDAO.updateOfcpsNmFromAdrCourtDeptMgr" parameterClass="adjCourtCnctnVO">
|
||||
|
||||
UPDATE adr_court_dept_mgr
|
||||
SET crt_cnfrm = #crtCnfrm#
|
||||
, last_updusr_id = #lastUpdusrId#
|
||||
, last_updt_pnttm = now()
|
||||
WHERE crt_seq = #crtSeq#
|
||||
and esntl_id = #esntlId#
|
||||
|
||||
</update>
|
||||
|
||||
</sqlMap>
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
<div class="cont">
|
||||
<div id="tabNav" class="tab_btn tab02">
|
||||
<button class="tab ${courtVO.tabSeq eq '0' ? 'on' : ''}">사건일반</button>
|
||||
<button class="tab ${courtVO.tabSeq eq '1' ? 'on' : ''}">사건문서</button>
|
||||
<button class="tab ${courtVO.tabSeq eq '1' ? 'on' : ''}">사건수행문서</button>
|
||||
<%-- <button class="tab ${apmVO.tabSeq eq '2' ? 'on' : ''}">진행정보</button> --%>
|
||||
</div>
|
||||
<div id="tabContent" class="tab_cont on"></div>
|
||||
|
||||
@ -22,6 +22,9 @@ $(document).ready(function(){
|
||||
<c:if test="${adjCourtCnctnVO.ckStsListAll eq 'Y' }">
|
||||
$("input[name=ckStsListAll]").attr("checked", true);
|
||||
</c:if>
|
||||
<c:if test="${adjCourtCnctnVO.crtLinkHouseAll eq 'Y' }">
|
||||
$("input[name=crtLinkHouseAll]").attr("checked", true);
|
||||
</c:if>
|
||||
<c:forEach var="val" items="${adjCourtCnctnVO.ckStsList}">
|
||||
fncCheckValue('ckStsList', '${val}')
|
||||
</c:forEach>
|
||||
@ -70,13 +73,15 @@ function linkPage(pageNo){
|
||||
|
||||
function fn_Create(){
|
||||
var goForm = document.goForm;
|
||||
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do'/>";
|
||||
goForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(crtSeq){
|
||||
function fn_goDetail(crtSeq, crtCnfrm){
|
||||
var goForm = document.goForm;
|
||||
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnDetail.do'/>";
|
||||
goForm.crtSeq.value = crtSeq;
|
||||
goForm.crtCnfrm.value = crtCnfrm;
|
||||
goForm.submit();
|
||||
}
|
||||
|
||||
@ -156,6 +161,27 @@ function setSearchMonthDate(month) {
|
||||
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adjCourtCnctnVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
|
||||
<button class="btn_search" onclick="fncGoList();">검색</button>
|
||||
</li>
|
||||
|
||||
<!-- 배열을 문자열로 변화해서 아래 checked 구현 -->
|
||||
<c:set var="crtLinkVal" value="${fn:join(adjCourtCnctnVO.crtLinkHouseList, '_')}" />
|
||||
<li>
|
||||
<p class="tit_text">회부법원</p>
|
||||
<div class="check_wrap">
|
||||
<span>
|
||||
<input type="checkbox" id="crtLinkHouseAll" name="crtLinkHouseAll" value="Y">
|
||||
<label for="crtLinkHouseAll">전체</label>
|
||||
</span>
|
||||
<c:forEach items="${corporationCmmCode }" var="code">
|
||||
<span>
|
||||
<input type="checkbox" id="crtLinkHouseList${status.count}" name="crtLinkHouseList"
|
||||
value="${code.code }"
|
||||
<c:if test="${fn:contains(crtLinkVal, code.code)}">checked="checked"</c:if>
|
||||
>
|
||||
<label for="crtLinkHouseList${status.count}">${code.codeNm }</label>
|
||||
</span>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<%-- <kc:radio name="" id="" codeId="" /> --%>
|
||||
<p class="tit_text">조정상태</p>
|
||||
@ -286,7 +312,14 @@ function setSearchMonthDate(month) {
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<c:choose>
|
||||
<c:when test="${ofcpsNm eq '80' and list.crtCnfrm eq 'N' }">
|
||||
<tr style="background-color: #131de14a;">
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<td>
|
||||
<c:if test="${adjCourtCnctnVO.searchSortOrd eq 'desc' }">
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((adjCourtCnctnVO.pageIndex -1)*adjCourtCnctnVO.pageUnit) ) - status.index }"/>
|
||||
@ -296,15 +329,15 @@ function setSearchMonthDate(month) {
|
||||
</c:if>
|
||||
</td>
|
||||
<c:if test="${empty endFlag}">
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtOriNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtNo}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtClimntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtDfndntNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.deptNm}" /></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
|
||||
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
|
||||
</c:if>
|
||||
<c:if test="${!empty endFlag}">
|
||||
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
|
||||
@ -343,6 +376,8 @@ function setSearchMonthDate(month) {
|
||||
</form>
|
||||
<form id="goForm" name="goForm" action="<c:url value="/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do" />" method="post">
|
||||
<input type="hidden" id="crtSeq" name="crtSeq" value="" />
|
||||
<input type="hidden" name="ofcpsNm" value="${ofcpsNm }" />
|
||||
<input type="hidden" name="crtCnfrm" value="" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@ -96,7 +96,7 @@
|
||||
<p>첨부서류</p>
|
||||
</th>
|
||||
<td class="upload_area">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile" multiple="multiple" style="display:none"/>
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||
<div class="file_wrap file_upload_box no_img_box">
|
||||
<table class="tbType02">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user