통합관리자 정보 수정화면 오류 수정(1)
This commit is contained in:
@@ -322,13 +322,15 @@ public class BOJobUserService {
|
|||||||
|
|
||||||
|
|
||||||
// 일치하면 1, 불일치하면 0 반환
|
// 일치하면 1, 불일치하면 0 반환
|
||||||
|
log.debug("encodedPwd:{}", encodedPwd);
|
||||||
|
log.debug("newPwd:{}", newPwd);
|
||||||
|
|
||||||
if (encodedPwd.equals(newPwd)) {
|
if (encodedPwd.equals(newPwd)) {
|
||||||
result = 1;
|
result = 1;
|
||||||
} else {
|
} else {
|
||||||
result = 0;
|
result = 0;
|
||||||
}
|
}
|
||||||
|
log.debug("result:{}", result);
|
||||||
} catch (WnbtRestException wre){
|
} catch (WnbtRestException wre){
|
||||||
throw new WnbtRestException(wre.getMessage());
|
throw new WnbtRestException(wre.getMessage());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
|
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
@@ -150,10 +151,14 @@ public class SetupMngrInfoController {
|
|||||||
/*비밀번호 체크*/
|
/*비밀번호 체크*/
|
||||||
if("Y".equals(vo.getPwChngAt())){
|
if("Y".equals(vo.getPwChngAt())){
|
||||||
/*1 비밀번호 변경 시 현재 비밀번호 확인*/
|
/*1 비밀번호 변경 시 현재 비밀번호 확인*/
|
||||||
Map<String, Object> resultMap = responseHandler.handleResponseAsMap(
|
// Map<String, Object> resultMap = responseHandler.handleResponseAsMap(
|
||||||
sendToResrc.ofPost(RESRC.GCONEBO, "/admin/user/mngr/selectBOJobUserPasswordInqire", vo)
|
// sendToResrc.ofPost(RESRC.GCONEBO, "/admin/user/mngr/selectBOJobUserPasswordInqire", vo)
|
||||||
);
|
// );
|
||||||
int result = (int) resultMap.get("result");
|
|
||||||
|
BOJobUserVO uvo = new BOJobUserVO();
|
||||||
|
uvo.setMngrInnb(vo.getMngrInnb());
|
||||||
|
|
||||||
|
Integer result = jobUserService.selectBOJobUserPasswordInqire(uvo);;
|
||||||
if(result == 0){
|
if(result == 0){
|
||||||
throw new WnbtRestException("현재 비밀번호가 일치하지 않습니다");
|
throw new WnbtRestException("현재 비밀번호가 일치하지 않습니다");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user