• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
chominsoo4245 / mjon_git star
Forked from hylee / mjon_git
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
mjon_gitsrcmainjavaitnletuatuiawebUserCheckController.java
Download as .zip file
File name
Commit message
Commit date
DATABASE
mjon_git
2023-06-12
src/main
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
.codetogether.ignore
mjon_git
2023-06-12
.gitignore
gitignore 적용
2023-06-12
pom.xml
문자전송개선 테스트
2024-11-27
File name
Commit message
Commit date
java
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
resources
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
webapp
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
File name
Commit message
Commit date
egovframework
custom idgen 수정
2024-11-27
itn
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
File name
Commit message
Commit date
com
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
let
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
web
변경
2024-11-21
File name
Commit message
Commit date
cert
보안로그인 테스트 진행중
2024-11-22
cop
이용약관 > 불법스팸방지정책 페이지 수정
2024-11-26
crypto/web
mjon_git
2023-06-12
fax
팩스 주소록 등록 속도개선
2024-12-13
hangulparser
mjon_git
2023-06-12
kakao
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-14
komoran
mjon_git
2023-06-12
lett
선택한 그림문자의 우선선위 변경 기능 추가
2023-09-05
mail
문자발송로직 impl 화 완료 -> 리펙토링 진행 중
2024-09-27
main
2024-11-22 10:51 과부하 쿼리 주석처리
2024-11-22
mjo
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
module/base
문자전송개선 테스트
2024-11-27
org
mjon_git
2023-06-12
schdlr/service
문자전송 화면 수정중
2024-12-16
sec
mjon_git
2023-06-12
solr
mjon_git
2023-06-12
sts
mjon_git
2023-06-12
sym
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-14
uat
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
uss
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
utl
회원 이메일 발송 건수 15분 단위로 기존 200건 -> 500건으로 변경
2024-10-25
File name
Commit message
Commit date
uap
mjon_git
2023-06-12
uia
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
File name
Commit message
Commit date
service
보안로그인 최근변경 날짜 추가
2024-11-22
web
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-12-16
File name
Commit message
Commit date
ClientIP.java
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
EgovLoginController.java
휴면계정 및 기업반려 회원 노출정보 수정
2024-11-26
EgovMypageController.java
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git
2024-11-22
EgovMypageRESTAPIController.java
utils 정리중
2024-07-05
EmailVO.java
mjon_git
2023-06-12
KmcCertChecker.java
본인인증 LOG 추가
2024-11-22
SMTPAuthenticator.java
mjon_git
2023-06-12
SendLogVO.java
mjon_git
2023-06-12
SendMail.java
mjon_git
2023-06-12
UserCheckController.java
mjon_git
2023-06-12
hylee 2023-06-12 524c83f mjon_git UNIX
Raw Open in browser Change history
package itn.let.uat.uia.web; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import itn.com.cmm.EgovMessageSource; import itn.let.kakao.kakaoComm.KakaoVO; import itn.let.utl.user.service.CheckNoServiceCommon; /** * 사용자 체크 사항을 처리하는 컨트롤러 클래스 * * @author 공통서비스 개발팀 박지욱 * @since 2009.03.06 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 2009.03.06 박지욱 최초 생성 * 2011.08.31 JJY 경량환경 템플릿 커스터마이징버전 생성 * * </pre> */ @Controller public class UserCheckController { /** EgovMessageSource */ @Resource(name="egovMessageSource") EgovMessageSource egovMessageSource; //@Autowired //CheckNoServiceCommon checkNoServiceCommon; /** EgovMessageSource */ @Resource(name="checkNoServiceCommon") CheckNoServiceCommon checkNoServiceCommon; /** * @param kakaoVO * @param request * @param modelAndView * @return 사업자 등록번호를 받아서 국세청API를 통해서 진위 여부를 확인한다. * @throws Exception * * -1:알수없는 오류 * 0:국세청에 등록되지 않은 사업자등록번호입니다. * 01: 계속사업자, * 02: 휴업자, * 03: 폐업자 */ @RequestMapping(value= {"/web/mjon/user/checkBizNoTestAjax.do"}) public ModelAndView checkBizNoTestAjax(KakaoVO kakaoVO , HttpServletRequest request , ModelAndView modelAndView ) throws Exception { //json 알림 modelAndView.setViewName("jsonView"); System.out.println("bizId " ); System.out.println("Kakao " ); //System.out.println(request.getParameter("b_no") ); try { //String s_b_no = request.getParameter("b_no"); String s_b_no = request.getParameter("b_no").replaceAll("-", ""); //사업자등록번호 //String s_b_nm = request.getParameter("b_nm"); //업체명 //String s_p_nm = request.getParameter("p_nm"); //대표자명 //KakaoVO kakaoInfo = checkNoServiceCommon.BizNoCheckApi(kakaoVO); KakaoVO kakaoInfo = checkNoServiceCommon.BizNoAPICheckStep1( kakaoVO , s_b_no ); modelAndView.addObject("kakaoInfo", kakaoInfo); modelAndView.addObject("result", kakaoInfo.getBizReturnCode()); }catch(Exception ex){ ex.printStackTrace(); modelAndView.addObject("message", egovMessageSource.getMessage("fail.common.update")); modelAndView.addObject("result", "fail"); } return modelAndView; } /** * @param kakaoVO * @param request * @param modelAndView * @return 사업자등록번호, 회사명, 설립일, 대표자명을 국세청API를 통해서 진위 확인을 한다. * @throws Exception * * STEP1. valid : * 01 - 확인 가능 * 02 - 확인할 수 없습니다. * * STEP2. 사업자등록번호 확인 : * * -1:알수없는 오류 * 0:국세청에 등록되지 않은 사업자등록번호입니다. * 01: 계속사업자, * 02: 휴업자, * 03: 폐업자 */ @RequestMapping(value= {"/uss/umt/user/checkBizNoTaxAjax.do"}) public ModelAndView checkBizNoTaxAjax(KakaoVO kakaoVO , HttpServletRequest request , ModelAndView modelAndView ) throws Exception { //json 알림 modelAndView.setViewName("jsonView"); System.out.println("bizId " ); System.out.println("Kakao " ); //System.out.println(request.getParameter("b_no") ); try { //String s_b_no = request.getParameter("b_no"); String s_b_no = request.getParameter("b_no").replaceAll("-", ""); //사업자등록번호 String s_b_nm = request.getParameter("b_nm"); //업체명 String s_p_nm = request.getParameter("p_nm"); //대표자명 String s_start_dt = request.getParameter("start_dt").replaceAll("-", ""); //설립일자 System.out.println("s_start_dt"); System.out.println(s_start_dt); System.out.println(s_start_dt); //KakaoVO kakaoInfo = checkNoServiceCommon.BizNoCheckApi(kakaoVO); KakaoVO kakaoInfo = checkNoServiceCommon.BizNoAPICheckStep3( kakaoVO , s_b_no , s_b_nm , s_p_nm , s_start_dt ); modelAndView.addObject("msg", kakaoInfo.getBizReturnMsg()); modelAndView.addObject("result", kakaoInfo.getBizReturnCode()); }catch(Exception ex){ ex.printStackTrace(); modelAndView.addObject("message", egovMessageSource.getMessage("fail.common.update")); modelAndView.addObject("result", "fail"); } return modelAndView; } }

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up