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