• 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_gitsrcmainjavaitnletcopbbsserviceEgovBBSChgHstAspect.java
Download as .zip file
File name
Commit message
Commit date
DATABASE
mjon_git
2023-06-12
src/main
기업회원 마이페이지 > 정보 변경 및 담당자 정보 변경시 Slack 알림 발송 기능 추가
2023-08-22
.codetogether.ignore
mjon_git
2023-06-12
.gitignore
gitignore 적용
2023-06-12
pom.xml
mjon_git
2023-06-12
File name
Commit message
Commit date
java
기업회원 마이페이지 > 정보 변경 및 담당자 정보 변경시 Slack 알림 발송 기능 추가
2023-08-22
resources
등급제 쿼리 최적화
2023-08-21
webapp
회원상세 등급 표기 수정
2023-08-21
File name
Commit message
Commit date
egovframework
mjon_git
2023-06-12
itn
기업회원 마이페이지 > 정보 변경 및 담당자 정보 변경시 Slack 알림 발송 기능 추가
2023-08-22
File name
Commit message
Commit date
com
사용자 회원가입 입력항목 XSS 필터링 예외 항목 추가 - 회원아이디, 이메일 정보, 추천인 아이디, 회원명(회사명)
2023-08-21
let
기업회원 마이페이지 > 정보 변경 및 담당자 정보 변경시 Slack 알림 발송 기능 추가
2023-08-22
web
오류 수정
2023-08-18
File name
Commit message
Commit date
cop
이지우 - 취약점 조치(세금계산서 발행 시 본인 ID로만 등록, 본인 게시글만 수정, 환불 시 보유 금액 비교 추가)
2023-08-02
crypto/web
mjon_git
2023-06-12
fax
feat: API 치환 데이터가 lms / sms 와 같이 문자 발송이 다를때 그룹아이디도 따로 받을 수 있게 개선
2023-08-08
hangulparser
mjon_git
2023-06-12
kakao
카카오 화면 에서 기업회원 경고 화면 수정
2023-08-08
komoran
mjon_git
2023-06-12
lett
mjon_git
2023-06-12
mail
휴면회원으로 지정 기준날짜 변경
2023-07-25
main
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
mjo
휴대폰인증시 ci, di 값 xss 필터 제외처리
2023-08-21
module/base
mjon_git
2023-06-12
org
mjon_git
2023-06-12
schdlr/service
휴면회원 지정 추가
2023-07-25
sec
mjon_git
2023-06-12
solr
mjon_git
2023-06-12
sts
mjon_git
2023-06-12
sym
등급제 누적결제금액 추출쿼리 보완
2023-08-21
uat
기업회원 마이페이지 > 정보 변경 및 담당자 정보 변경시 Slack 알림 발송 기능 추가
2023-08-22
uss
결제하기 화면 다음 결제시 결제수단 UPDATE 기능추가
2023-08-14
utl
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
File name
Commit message
Commit date
bbs
이지우 - 취약점 조치(세금계산서 발행 시 본인 ID로만 등록, 본인 게시글만 수정, 환불 시 보유 금액 비교 추가)
2023-08-02
cmt
mjon_git
2023-06-12
com
mjon_git
2023-06-12
org
mjon_git
2023-06-12
resve
mjon_git
2023-06-12
smt/sim
mjon_git
2023-06-12
File name
Commit message
Commit date
service
bbsId를 변조해서 공지사항에 글 등록 방지 처리
2023-06-20
web
이지우 - 취약점 조치(세금계산서 발행 시 본인 ID로만 등록, 본인 게시글만 수정, 환불 시 보유 금액 비교 추가)
2023-08-02
File name
Commit message
Commit date
impl
bbsId를 변조해서 공지사항에 글 등록 방지 처리
2023-06-20
Board.java
mjon_git
2023-06-12
BoardChgHst.java
mjon_git
2023-06-12
BoardMaster.java
mjon_git
2023-06-12
BoardMasterVO.java
mjon_git
2023-06-12
BoardVO.java
mjon_git
2023-06-12
EgovBBSAttributeManageService.java
mjon_git
2023-06-12
EgovBBSChgHstAspect.java
mjon_git
2023-06-12
EgovBBSLoneMasterService.java
mjon_git
2023-06-12
EgovBBSManageService.java
bbsId를 변조해서 공지사항에 글 등록 방지 처리
2023-06-20
SearchTotalVO.java
mjon_git
2023-06-12
hylee 2023-06-12 565c628 mjon_git UNIX
Raw Open in browser Change history
package itn.let.cop.bbs.service; import javax.annotation.Resource; import org.aspectj.lang.JoinPoint; /** * 게시판 변경이력 생성을 위한 ASPECT 클래스 * @author ITN * @since 2018.08.17 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 2018.08.17 ITN 최초 생성 * * </pre> */ public class EgovBBSChgHstAspect { @Resource(name = "EgovBBSManageService") private EgovBBSManageService bbsMngService; /** * 게시물 생성 정보를 생성한다. * EgovBBSManageService.insertBoardArticle Method * * @param * @return void * @throws Exception */ public void insertBBSChgHst(JoinPoint joinPoint, Object returnVal) throws Throwable { String methodName = joinPoint.getSignature().getName(); if (returnVal instanceof Board) { Board board = (Board) returnVal; String histSe = ""; String bbsChgNm = board.getLastUpdusrNm(); String bbsChgId = board.getLastUpdusrId(); String bbsNttSj = board.getNttSj(); String bbsNttCn = board.getNttCn(); if (methodName.equals("insertBoardArticle")) { histSe = "C"; bbsChgNm = board.getNtcrNm(); bbsChgId = board.getFrstRegisterId(); } else if (methodName.equals("updateBoardArticle")) { histSe = "U"; } else if (methodName.equals("deleteBoardArticle")) { histSe = "D"; bbsNttSj = "삭제된 게시글입니다."; bbsNttCn = "삭제된 게시글입니다."; } BoardChgHst param = new BoardChgHst(); param.setNttId(board.getNttId()); param.setBbsId(board.getBbsId()); int histId = bbsMngService.selectBoardChgHstId(param); BoardChgHst boardChgHst = new BoardChgHst(); boardChgHst.setNttId(board.getNttId()); boardChgHst.setBbsId(board.getBbsId()); boardChgHst.setHistId(histId); boardChgHst.setHistSe(histSe); boardChgHst.setNttSj(bbsNttSj); boardChgHst.setNttCn(bbsNttCn); boardChgHst.setFrstRegisterNm(bbsChgNm); boardChgHst.setFrstRegisterId(bbsChgId); boardChgHst.setNtcrIp(board.getNtcrIp()); bbsMngService.insertBoardChgHst(boardChgHst); } } }

          
        
    
    
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