2022-11-29 15:48 신청접수 단계 내용 수정
This commit is contained in:
parent
026f66f827
commit
e56c7574c9
@ -39,6 +39,8 @@ import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Locale;
|
||||
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
|
||||
public class EgovStringUtil {
|
||||
/**
|
||||
* 빈 문자열 <code>""</code>.
|
||||
@ -901,4 +903,28 @@ public class EgovStringUtil {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 외n명이 포함된 암호화 단어를 복호화 한다.
|
||||
* @param p_checkWord
|
||||
* @param p_egovCryptoUtil
|
||||
* @return
|
||||
*/
|
||||
public static String checkNPerson(
|
||||
String p_checkWord
|
||||
, EgovCryptoUtil p_egovCryptoUtil
|
||||
) {
|
||||
if(p_checkWord.contains("외")) {
|
||||
String s_tmp1 = "";
|
||||
String s_tmp2 = "";
|
||||
|
||||
s_tmp1 = p_checkWord.substring(p_checkWord.length()-3);
|
||||
s_tmp2 = p_checkWord.substring(0, p_checkWord.length()-3);
|
||||
|
||||
return p_egovCryptoUtil.decrypt(s_tmp2) + " " + s_tmp1;
|
||||
}else {
|
||||
return p_egovCryptoUtil.decrypt(p_checkWord);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,7 +37,6 @@ import kcc.kccadr.adjPgrMgr.apm.service.ApmVO;
|
||||
import kcc.kccadr.adjPgrMgr.cmm.service.PgrCmmService;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrService;
|
||||
import kcc.kccadr.adjreqmgr.service.AdjReqMgrVO;
|
||||
import kcc.kccadr.adjst.service.AdjstReqVO;
|
||||
import kcc.kccadr.cmm.KccadrConstants;
|
||||
import kcc.kccadr.kccadrCom.service.KccadrMgrUdtService;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
@ -450,14 +449,36 @@ public class AdjstIncidentController {
|
||||
|
||||
model.setDepuTyNm(egovCryptoUtil.decrypt(model.getDepuTyNm()));
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
|
||||
System.out.println("model.getResPonDentNm()");
|
||||
System.out.println(model.getResPonDentNm());
|
||||
|
||||
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
String tmpStr = "";
|
||||
//String tmpStr = "";
|
||||
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
|
||||
/*
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
String s_tmp1 = "";
|
||||
String s_tmp2 = "";
|
||||
|
||||
s_tmp1 = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
s_tmp2 = model.getResPonDentNm().substring(0, model.getResPonDentNm().length()-3);
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(s_tmp2) + " " + s_tmp1);
|
||||
}else {
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
|
||||
//model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.FileVO;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||
import kcc.kccadr.accdnt.ai.service.AdjstIncidentService;
|
||||
import kcc.kccadr.accdnt.ai.service.AdjstIncidentVO;
|
||||
@ -147,11 +148,19 @@ public class AdjstIncidentPdfController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
|
||||
@ -454,11 +454,19 @@ public class AdjstReqStatusController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -870,11 +878,19 @@ public class AdjstReqStatusController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
model.setAdrAdmNm(egovCryptoUtil.decrypt(model.getAdrAdmNm()));
|
||||
@ -918,11 +934,19 @@ public class AdjstReqStatusController {
|
||||
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -2615,11 +2615,19 @@ public class ApmController {
|
||||
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
@ -2818,11 +2826,19 @@ public class ApmController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -348,11 +348,21 @@ public class AdjClsMgrController {
|
||||
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
/*
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
*/
|
||||
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -320,29 +320,26 @@ public class AdjReqMgrController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
|
||||
/*
|
||||
* 2022.11.14.
|
||||
* 기존 유지보수 코드 update
|
||||
* */
|
||||
String tmpResPonDentNm = model.getResPonDentNm();
|
||||
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
/*
|
||||
* 2022.11.14.
|
||||
* 기존 유지보수 코드 update
|
||||
* */
|
||||
|
||||
tmpResPonDentNm = model.getResPonDentNm().substring(0, model.getResPonDentNm().length()-3);
|
||||
|
||||
}
|
||||
/*
|
||||
* 2022.11.14.
|
||||
* 기존 유지보수 코드 update
|
||||
* */
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(tmpResPonDentNm) + " " + tmpStr);
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||
import kcc.kccadr.accdnt.acd.service.AdjstChangeDateVO;
|
||||
import kcc.kccadr.accdnt.adr.service.AdjstDeputyReqVO;
|
||||
import kcc.kccadr.accdnt.ai.service.AdjstIncidentVO;
|
||||
@ -285,11 +286,19 @@ public class AdjstExpDetailController {
|
||||
// model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()));
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@ import org.w3c.dom.NodeList;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import kcc.com.cmm.util.StringUtil;
|
||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||
import kcc.kccadr.accdnt.acd.service.AdjstChangeDateService;
|
||||
import kcc.kccadr.accdnt.acd.service.AdjstChangeDateVO;
|
||||
import kcc.kccadr.kccadrCom.service.KccadrCommonSearchVO;
|
||||
@ -122,11 +123,19 @@ public class KccadrCommonController {
|
||||
|
||||
//피신청인 명수 표시 '외 N명' 처리_이준호_220801
|
||||
if (!StringUtil.isEmpty(model.getResPonDentNm())) {
|
||||
model.setResPonDentNm(
|
||||
EgovStringUtil.checkNPerson(
|
||||
model.getResPonDentNm()
|
||||
, egovCryptoUtil
|
||||
)
|
||||
);
|
||||
/*
|
||||
String tmpStr = "";
|
||||
if(model.getResPonDentNm().contains("외")) {
|
||||
tmpStr = model.getResPonDentNm().substring(model.getResPonDentNm().length()-3);
|
||||
}
|
||||
model.setResPonDentNm(egovCryptoUtil.decrypt(model.getResPonDentNm()) + " " + tmpStr);
|
||||
*/
|
||||
}
|
||||
|
||||
model.setAppliCantNm(egovCryptoUtil.decrypt(model.getAppliCantNm()));
|
||||
|
||||
@ -896,4 +896,28 @@ public class EgovStringUtil {
|
||||
return date.substring(0,4).concat("-").concat(date.substring(4,6)).concat("-").concat(date.substring(6,8));
|
||||
else return "";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 외n명이 포함된 암호화 단어를 복호화 한다.
|
||||
* @param p_checkWord
|
||||
* @param p_egovCryptoUtil
|
||||
* @return
|
||||
*/
|
||||
public static String checkNPerson(
|
||||
String p_checkWord
|
||||
, EgovCryptoUtil p_egovCryptoUtil
|
||||
) {
|
||||
if(p_checkWord.contains("외")) {
|
||||
String s_tmp1 = "";
|
||||
String s_tmp2 = "";
|
||||
|
||||
s_tmp1 = p_checkWord.substring(p_checkWord.length()-3);
|
||||
s_tmp2 = p_checkWord.substring(0, p_checkWord.length()-3);
|
||||
|
||||
return p_egovCryptoUtil.decrypt(s_tmp2) + " " + s_tmp1;
|
||||
}else {
|
||||
return p_egovCryptoUtil.decrypt(p_checkWord);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -2086,9 +2086,18 @@ $(document).ready(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="">
|
||||
<p>신청인 이름</p>
|
||||
<p>신청인</p>
|
||||
</th>
|
||||
<td><c:out value="${list.rpplNm}"/></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.rpplUsrTy eq '02'}">
|
||||
<c:out value="${list.rpplBizNm}"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${list.rpplNm}"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="">
|
||||
@ -2137,7 +2146,7 @@ $(document).ready(function(){
|
||||
</div>
|
||||
</c:when>
|
||||
<c:when test="${list.rpplTy eq '30'}">
|
||||
<p class="tb_tit">대리인정보</p>
|
||||
<p class="tb_tit">신청인 대리인정보</p>
|
||||
<div class="tbType02">
|
||||
<table>
|
||||
<colgroup>
|
||||
@ -2212,7 +2221,7 @@ $(document).ready(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="">
|
||||
<p>첨부파일</p>
|
||||
<p>대리신청서</p>
|
||||
</th>
|
||||
<td>
|
||||
<c:forEach var="depuFileList" items="${depuFileList}" varStatus="status">
|
||||
@ -2241,7 +2250,7 @@ $(document).ready(function(){
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="">
|
||||
<p>피신청인 이름</p>
|
||||
<p>피신청인</p>
|
||||
</th>
|
||||
<td><c:out value="${list.rpplNm}"/></td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user