마이페이지>분쟁조정신청현황>사건조회 비밀번호 체크 추가, 사건조회 성공시 데이터 추가되도록 수정
This commit is contained in:
parent
b5838ea31a
commit
2d7f0983f6
@ -1398,25 +1398,32 @@ private Logger log = Logger.getLogger(this.getClass());
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CaseAuthVO caseAuthVO = new CaseAuthVO();
|
//2023.03.24 jsp => 신청인, 피신청인 비번이 일치할경우 데이터 추가
|
||||||
|
if(status == true) {
|
||||||
//rceptNo구하기
|
CaseAuthVO caseAuthVO = new CaseAuthVO();
|
||||||
caseAuthVO.setCaseNo(SeedUtils.setReplaceNull(paramMap.get("caseNo")));
|
|
||||||
caseAuthVO = caseAuthService.selectRceptNo(caseAuthVO);
|
//rceptNo구하기
|
||||||
|
caseAuthVO.setCaseNo(SeedUtils.setReplaceNull(paramMap.get("caseNo")));
|
||||||
//certId 구하기
|
caseAuthVO = caseAuthService.selectRceptNo(caseAuthVO);
|
||||||
CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(req));
|
|
||||||
caseAuthVO.setCertId(certVO.getCertId());
|
//certId 구하기
|
||||||
|
CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(req));
|
||||||
|
caseAuthVO.setCertId(certVO.getCertId());
|
||||||
//값 세팅
|
|
||||||
caseAuthVO.setCaseAuthType(caseAuthType);
|
|
||||||
caseAuthVO.setCaseAuthYn("N");
|
//값 세팅
|
||||||
|
caseAuthVO.setCaseAuthType(caseAuthType);
|
||||||
caseAuthService.insertCaseAuth(caseAuthVO);
|
caseAuthVO.setCaseAuthYn("N");
|
||||||
|
|
||||||
result.put("status", "success");
|
caseAuthService.insertCaseAuth(caseAuthVO);
|
||||||
result.put("msg", "추가되었습니다.");
|
|
||||||
|
result.put("status", "success");
|
||||||
|
result.put("msg", "추가되었습니다.");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
result.put("status", "fail");
|
||||||
|
result.put("msg", "비밀번호가 일치 하지 않습니다.");
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
result.put("status", "fail");
|
result.put("status", "fail");
|
||||||
|
|||||||
@ -19,6 +19,16 @@
|
|||||||
alert('휴대전화를 입력해 주세요.');
|
alert('휴대전화를 입력해 주세요.');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if($("#caseNo").val() == ""){
|
||||||
|
alert("사건번호를 입력해 주세요");
|
||||||
|
$("#caseNo").focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if($("#checkPass").val() == ""){
|
||||||
|
alert("비밀번호를 입력해 주세요");
|
||||||
|
$("#checkPass").focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user