검찰연계 수정화면 보완
This commit is contained in:
parent
428796741e
commit
f5a1f2ebcb
@ -132,7 +132,6 @@ public class AdrPrsctLinkController {
|
||||
public String adjstReqOpenExamplePop(@ModelAttribute("adrPrsctLinkVO") AdrPrsctLinkVO adrPrsctLinkVO
|
||||
, ModelMap model) throws Exception {
|
||||
|
||||
|
||||
return "kccadr/adrpr/popup/adrPrsctLinkExcelRegistPop";
|
||||
}
|
||||
|
||||
@ -144,7 +143,6 @@ public class AdrPrsctLinkController {
|
||||
public String adrPrsctLinkRegist(@ModelAttribute("adrPrsctLinkVO") AdrPrsctLinkVO adrPrsctLinkVO
|
||||
, ModelMap model) throws Exception {
|
||||
|
||||
|
||||
return "kccadr/adrpr/adrPrsctLinkRegist";
|
||||
}
|
||||
|
||||
@ -162,19 +160,21 @@ public class AdrPrsctLinkController {
|
||||
try {
|
||||
//로그인 정보 획득 - ssoLoginVO 사용
|
||||
LoginVO loginVO = checkLoginUtil.getLoginVO();
|
||||
adrPrsctLinkVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
adrPrsctLinkVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
if (loginVO != null) {
|
||||
adrPrsctLinkVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
adrPrsctLinkVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
|
||||
// 저장
|
||||
if (StringUtil.isEmpty(adrPrsctLinkVO.getPrsctSeq())) {
|
||||
// 인서트
|
||||
String nextId = adrPrsctLinkIdgenService.getNextStringId();
|
||||
adrPrsctLinkVO.setPrsctSeq(nextId);
|
||||
adrPrsctLinkService.adrPrsctLinkInsert(adrPrsctLinkVO);
|
||||
}
|
||||
else {
|
||||
// 업데이트
|
||||
adrPrsctLinkService.adrPrsctLinkUpdate(adrPrsctLinkVO);
|
||||
// 저장
|
||||
if (StringUtil.isEmpty(adrPrsctLinkVO.getPrsctSeq())) {
|
||||
// 인서트
|
||||
String nextId = adrPrsctLinkIdgenService.getNextStringId();
|
||||
adrPrsctLinkVO.setPrsctSeq(nextId);
|
||||
adrPrsctLinkService.adrPrsctLinkInsert(adrPrsctLinkVO);
|
||||
}
|
||||
else {
|
||||
// 업데이트
|
||||
adrPrsctLinkService.adrPrsctLinkUpdate(adrPrsctLinkVO);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -297,7 +297,7 @@ public class AdrPrsctLinkController {
|
||||
// 행의 두번째 열(이름부터 받아오기)
|
||||
HSSFCell cell = null;
|
||||
boolean errSts = true;
|
||||
for(int j = 0 ; j < 6; j++){ //행읽기(6행까지나 2행까지만 필요)
|
||||
for(int j = 0 ; j < 8; j++){ //행읽기(6행까지나 2행까지만 필요)
|
||||
cellValue = "";
|
||||
cell = row.getCell(j); //이름/핸드폰/변환1/변환2/변환3/변환4/변환5
|
||||
if(null == cell || "".equals(cell.toString().trim())) { //셀에 값이 없으면
|
||||
@ -459,7 +459,7 @@ public class AdrPrsctLinkController {
|
||||
XSSFCell cell = null;
|
||||
boolean errSts = true;
|
||||
|
||||
for(int j = 0 ; j <= 7; j++){ //행읽기(6행까지나 2행까지만 필요)
|
||||
for(int j = 0 ; j < 8; j++){ //행읽기(6행까지나 2행까지만 필요)
|
||||
cellValue = "";
|
||||
cell = row.getCell(j); //이름/핸드폰/변환1/변환2/변환3/변환4/변환5
|
||||
if(null == cell || "".equals(cell.toString().trim())) { //셀에 값이 없으면
|
||||
|
||||
@ -50,21 +50,32 @@ function getAdrPrsctLinkDetail() {
|
||||
if (data.isSuccess) {
|
||||
//alert(JSON.stringify(data.result));
|
||||
|
||||
var plntfPhone = data.result.plntfPhone.split('-');
|
||||
var dfndnPhone = data.result.dfndnPhone.split('-');
|
||||
|
||||
$("#dividendDate").val(data.result.dividendDate); //배당일
|
||||
$("#prsctNo").val(data.result.prsctNo); //본사건번호
|
||||
$("#prsctAdrNo").val(data.result.prsctAdrNo); //조정사건번호
|
||||
$("#plntfNm").val(data.result.plntfNm); //원고-대리인 이름
|
||||
$("#plntfPhone1").val(plntfPhone[0]); //원고-대리인 연락처
|
||||
$("#plntfPhone2").val(plntfPhone[1]);
|
||||
$("#plntfPhone3").val(plntfPhone[2]);
|
||||
$("#dfndnNm").val(data.result.dfndnNm); //피고-대리인 이름
|
||||
$("#dfndnPhone1").val(dfndnPhone[0]); //피고-대리인 연락처
|
||||
$("#dfndnPhone2").val(dfndnPhone[1]);
|
||||
$("#dfndnPhone3").val(dfndnPhone[2]);
|
||||
$("#prsctCn").val(data.result.prsctCn); //사건내용
|
||||
|
||||
var plntfPhone = "";
|
||||
if (data.result.plntfPhone != null && data.result.plntfPhone != "") {
|
||||
plntfPhone = data.result.plntfPhone.split('-');
|
||||
if (plntfPhone.length == 3) {
|
||||
$("#plntfPhone1").val(plntfPhone[0]); //원고-대리인 연락처
|
||||
$("#plntfPhone2").val(plntfPhone[1]);
|
||||
$("#plntfPhone3").val(plntfPhone[2]);
|
||||
}
|
||||
}
|
||||
|
||||
var dfndnPhone = "";
|
||||
if (data.result.dfndnPhone != null && data.result.dfndnPhone != "") {
|
||||
dfndnPhone = data.result.dfndnPhone.split('-');
|
||||
if (dfndnPhone.length == 3) {
|
||||
$("#dfndnPhone1").val(dfndnPhone[0]); //피고-대리인 연락처
|
||||
$("#dfndnPhone2").val(dfndnPhone[1]);
|
||||
$("#dfndnPhone3").val(dfndnPhone[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
alert("Msg : " + data.msg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user