2024-02-06 16:15 청소년 알림 수정

This commit is contained in:
myname 2024-02-06 16:15:55 +09:00
parent c31e43ab89
commit cd940baf3d
20 changed files with 852 additions and 349 deletions

View File

@ -81,6 +81,8 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
public String lctrEndH; public String lctrEndH;
public String lctrEndM; public String lctrEndM;
public String lctrDivCd;
@ -343,6 +345,14 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
this.eduChasiOrd = eduChasiOrd; this.eduChasiOrd = eduChasiOrd;
} }
public String getLctrDivCd() {
return lctrDivCd;
}
public void setLctrDivCd(String lctrDivCd) {
this.lctrDivCd = lctrDivCd;
}

View File

@ -488,6 +488,22 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
vEEduAplctVO.setSbmtId(sbmtId); vEEduAplctVO.setSbmtId(sbmtId);
vEEduAplctVO.setEduDocReqOrd(docReqOrdGnrService.getNextStringId()); vEEduAplctVO.setEduDocReqOrd(docReqOrdGnrService.getNextStringId());
vEEduAplctService.insertDocReq(vEEduAplctVO); vEEduAplctService.insertDocReq(vEEduAplctVO);
//서류요청 알림
try {
iTNotiUtil.insertNotifyNew(
"10",
adrInnorixFileVO.getUniqId(),
VeConstants.NOTI_STATUS_97,
vEEduAplctVO.getEduDocReqOrd(),
"",
"0",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
@ -563,8 +579,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
// 파일 정보 insert // 파일 정보 insert
String atchFileId = fileManageDAO.insertFileInfs(result); String atchFileId = fileManageDAO.insertFileInfs(result);
VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = new VEInstrDetailActvtHstryVO(); VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = new VEInstrDetailActvtHstryVO();
vEInstrActvtHstryVO.setInstrDetailActvtHstryOrd(instrActvtHstryOrdGnrService.getNextStringId()); vEInstrActvtHstryVO.setInstrDetailActvtHstryOrd(instrActvtHstryOrdGnrService.getNextStringId());
vEInstrActvtHstryVO.setInstrDetailOrd(adrInnorixFileVO.getInstrDetailOrd()); vEInstrActvtHstryVO.setInstrDetailOrd(adrInnorixFileVO.getInstrDetailOrd());
@ -580,22 +595,22 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
vEInstrActvtHstryVO.setPurpose(adrInnorixFileVO.getPurpose()); vEInstrActvtHstryVO.setPurpose(adrInnorixFileVO.getPurpose());
vEInstrActvtHstryVO.setBsnsNmbr(adrInnorixFileVO.getBsnsNmbr()); vEInstrActvtHstryVO.setBsnsNmbr(adrInnorixFileVO.getBsnsNmbr());
vEInstrActvtHstryVO.setBsnsNm(adrInnorixFileVO.getBsnsNm()); vEInstrActvtHstryVO.setBsnsNm(adrInnorixFileVO.getBsnsNm());
vEInstrActvtHstryVO.setDocuNmbr(adrInnorixFileVO.getDocuNmbr()); vEInstrActvtHstryVO.setDocuNmbr(adrInnorixFileVO.getDocuNmbr());
vEInstrDetailActvtHstryDAO.insert(vEInstrActvtHstryVO); vEInstrDetailActvtHstryDAO.insert(vEInstrActvtHstryVO);
//강사활동확인서 신청 알림 //강사활동확인서 신청 알림
try { try {
iTNotiUtil.insertNotifyNew( iTNotiUtil.insertNotifyNew(
"20", adrInnorixFileVO.getLctrDivCd(),
adrInnorixFileVO.getUniqId(), adrInnorixFileVO.getUniqId(),
VeConstants.NOTI_STATUS_71, VeConstants.NOTI_STATUS_71,
adrInnorixFileVO.getEduAplctOrd(), adrInnorixFileVO.getEduAplctOrd(),
adrInnorixFileVO.getEduChasiOrd(), adrInnorixFileVO.getEduChasiOrd(),
"0", "0",
"0" "0"
); );
}catch(Exception ex) { }catch(Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }

View File

@ -84,7 +84,9 @@ import kcc.let.sym.mnu.mpm.service.MenuManageVO;
import kcc.let.sym.site.service.EgovSiteManagerService; import kcc.let.sym.site.service.EgovSiteManagerService;
import kcc.let.sym.site.service.SiteManagerVO; import kcc.let.sym.site.service.SiteManagerVO;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.let.utl.sim.service.EgovClntInfo; import kcc.let.utl.sim.service.EgovClntInfo;
import kcc.ve.cmm.VeConstants;
/** /**
* 게시물 관리를 위한 컨트롤러 클래스 * 게시물 관리를 위한 컨트롤러 클래스
@ -158,6 +160,9 @@ public class EgovBBSManageController {
@Resource(name = "meunManageService") @Resource(name = "meunManageService")
private EgovMenuManageService menuManageService; private EgovMenuManageService menuManageService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
private static final Logger LOGGER = LoggerFactory.getLogger(EgovBBSManageController.class); private static final Logger LOGGER = LoggerFactory.getLogger(EgovBBSManageController.class);
@ -2291,6 +2296,11 @@ public class EgovBBSManageController {
return modelAndView; return modelAndView;
} }
System.out.println(board.toString());
System.out.println("board.toString()1");
System.out.println(bmVO.toString());
System.out.println("board.toString()1");
List<FileVO> result = null; List<FileVO> result = null;
String atchFileId = ""; String atchFileId = "";
String isThumbFile = ""; String isThumbFile = "";
@ -2319,11 +2329,45 @@ public class EgovBBSManageController {
LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser(); LoginVO loginVO = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
board.setFrstRegisterId(loginVO.getUniqId()); board.setFrstRegisterId(loginVO.getUniqId());
//게시판 정보 입력 //게시판 정보 입력
System.out.println(board.toString());
System.out.println("board.toString()");
/*board.setPassword(damoEnc(board.getPassword(), request)); //비번암호화*/ /*board.setPassword(damoEnc(board.getPassword(), request)); //비번암호화*/
bbsMngService.insertBoardArticle(board); bbsMngService.insertBoardArticle(board);
redirectAttributes.addAttribute("bbsId", boardVO.getBbsId()); redirectAttributes.addAttribute("bbsId", boardVO.getBbsId());
redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("success.common.insert")); redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("success.common.insert"));
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
//zoom 문의 알림
try {
if ("BBSMSTR_000000000725".equals(boardVO.getBbsId())) {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_93,
"",
"",
"0",
"0"
);
}else if ("BBSMSTR_000000000701".equals(boardVO.getBbsId())) {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_95,
"",
"",
"0",
"0"
);
}
}catch(Exception ex) {
ex.printStackTrace();
}
return modelAndView; return modelAndView;
} }

View File

@ -36,6 +36,8 @@ import kcc.let.sym.site.service.EgovSiteManagerService;
import kcc.let.sym.site.service.SiteManagerVO; import kcc.let.sym.site.service.SiteManagerVO;
import kcc.let.uss.umt.service.UserManageVO; import kcc.let.uss.umt.service.UserManageVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.cmm.VeConstants;
@Controller @Controller
public class EgovArticleCommentController { public class EgovArticleCommentController {
@ -66,7 +68,10 @@ public class EgovArticleCommentController {
@Resource(name = "egovCryptoUtil") @Resource(name = "egovCryptoUtil")
EgovCryptoUtil egovCryptoUtil; EgovCryptoUtil egovCryptoUtil;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
//protected Logger log = Logger.getLogger(this.getClass()); //protected Logger log = Logger.getLogger(this.getClass());
/** /**
@ -158,8 +163,39 @@ public class EgovArticleCommentController {
comment.setWrterId(user.getUniqId()); comment.setWrterId(user.getUniqId());
comment.setWrterNm(user.getName()); comment.setWrterNm(user.getName());
System.out.println("comment.toString()");
System.out.println(comment.toString());
egovArticleCommentService.insertArticleComment(comment); egovArticleCommentService.insertArticleComment(comment);
//zoom 문의 답변 알림
try {
if ("BBSMSTR_000000000725".equals(comment.getBbsId())) {
iTNotiUtil.insertNotifyNew(
"10",
user.getUniqId(),
VeConstants.NOTI_STATUS_94,
Long.toString(comment.getNttId()),
"",
"0",
"1"
);
}else if ("BBSMSTR_000000000701".equals(comment.getBbsId())) {
iTNotiUtil.insertNotifyNew(
"10",
user.getUniqId(),
VeConstants.NOTI_STATUS_96,
Long.toString(comment.getNttId()),
"",
"0",
"1"
);
}
}catch(Exception ex) {
ex.printStackTrace();
}
commentVO.setCommentCn(""); commentVO.setCommentCn("");
commentVO.setCommentNo(""); commentVO.setCommentNo("");

View File

@ -76,6 +76,14 @@ public class NotifyManageDAO extends EgovAbstractDAO {
return (String) select("VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd", prcsAplctPrdOrd); return (String) select("VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd", prcsAplctPrdOrd);
} }
public String findByUserIdFromLETTNBBS(String eduAplctOrd) {
return (String) select("VEANotifyDAO.findByUserIdFromLETTNBBS", eduAplctOrd);
}
public NotifyManageVO findByUserIdFromVE_EDU_DOC_REQ(String eduAplctOrd) {
return (NotifyManageVO) select("VEANotifyDAO.findByUserIdFromVE_EDU_DOC_REQ", eduAplctOrd);
}
public String selectNotifyInstr(NotifyManageVO notifyManageVO) { public String selectNotifyInstr(NotifyManageVO notifyManageVO) {
return (String) select("VEANotifyDAO.selectNotifyInstr", notifyManageVO); return (String) select("VEANotifyDAO.selectNotifyInstr", notifyManageVO);
} }

View File

@ -537,6 +537,60 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
if( "10".equals(p_lctrDivCd) ) { //청소년 if( "10".equals(p_lctrDivCd) ) { //청소년
notifyPath = "/web/ve/aplct/tngrVisitEdu/eduAplct/eduAplctDetail.do"; notifyPath = "/web/ve/aplct/tngrVisitEdu/eduAplct/eduAplctDetail.do";
if (
"14".equals(p_noti_status) //운영자 - 교육수정요청 - 상세
||"15".equals(p_noti_status) //운영자 - 교육확정 - 상세
) {
notifyPath = "/web/ve/aplct/tngrVisitEdu/eduAplct/eduAplctDetail.do"; //사용자 - 교육신청목록 - 상세
}else if (
"110".equals(p_noti_status) //강사 - 숙박신청 - 상세
) {
notifyPath = "/kccadr/oprtn/tngrVisitEdu/eduAsgnmCnfrmMngDetail.do"; //운영자 - 교육배치확정관리 - 상세
}else if (
"111".equals(p_noti_status) //운영자 - 숙박신청승인
|| "112".equals(p_noti_status) //운영자 - 숙박신청반려
) {
notifyPath = "/web/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmDetail.do"; //강사 - 강의내역목록 - 상세
}else if (
"71".equals(p_noti_status) //강사활동확인서 신청
) {
notifyPath = "/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do"; //운영자 - 강사활동확인서신청관리목록 - 상세
}else if (
"72".equals(p_noti_status) //강사활동확인서 승인
|| "82".equals(p_noti_status) //강사정보수정요청 승인
) {
notifyPath = "/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.do"; //강사 - 성인강사신청상세
}else if (
"81".equals(p_noti_status) //강사정보수정요청
) {
notifyPath = "/ve/oprtn/instr/tngrVisitEdu/instrInfo/instrMngList.do"; //운영자 - 강사목록
}else if (
"93".equals(p_noti_status) //zoom문의
) {
notifyPath = "/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_000000000725"; //운영자 - zoom 게시판
}else if (
"94".equals(p_noti_status) //zoom댓글
) {
notifyPath = "/web/cop/bbsWeb/selectBoardList.do?pageIndex=1&searchCnd=&searchWrd=&bbsId=BBSMSTR_000000000725"; //사용자 - zoom 게시판
}else if (
"95".equals(p_noti_status) //청소년전담게시판문의
) {
notifyPath = "/cop/bbs/selectBoardList.do?bbsId=BBSMSTR_000000000701"; //운영자 - 청소년전담게시판 게시판
}else if (
"96".equals(p_noti_status) //청소년전담게시판답변
) {
notifyPath = "/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000701"; //사용자 - 청소년전담게시판 게시판
}else if (
"97".equals(p_noti_status) //서류요청
) {
notifyPath = "/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmDetail.do"; //강사 - 강의내역상세
}
} }
else if( "20".equals(p_lctrDivCd) ) { //성인 else if( "20".equals(p_lctrDivCd) ) { //성인
if ("10".equals(p_noti_status)) { if ("10".equals(p_noti_status)) {
@ -582,9 +636,9 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
}else if ( }else if (
"72".equals(p_noti_status) //강사활동확인서 승인 "72".equals(p_noti_status) //강사활동확인서 승인
|| "82".equals(p_noti_status) //강사정보수정요청 승인
) { ) {
notifyPath = "/web/ve/instr/adultVisitEdu/instrInfo/instrPrflDetail.do"; //강사 - 성인강사신청상세 notifyPath = "/web/ve/instr/adultVisitEdu/instrInfo/instrPrflDetail.do"; //강사 - 성인강사신청상세
}else if ( }else if (
"81".equals(p_noti_status) //강사정보수정요청 "81".equals(p_noti_status) //강사정보수정요청
) { ) {
@ -619,11 +673,68 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
if( "10".equals(p_lctrDivCd) ) { //청소년 if( "10".equals(p_lctrDivCd) ) { //청소년
if ("10".equals(p_noti_status)) { if (
"110".equals(p_noti_status)
||"71".equals(p_noti_status) //71-강사활동확인서 신청
||"81".equals(p_noti_status) //81-정보수정요청
||"93".equals(p_noti_status) //93-zoom 게시판
||"95".equals(p_noti_status) //95-청소년강사 게시판
) { //숙박신청
//담당 관리자에게 모두 알림
p_notifyManageVO.setFirstIndex(0);
p_notifyManageVO.setRecordCountPerPage(1000);
// 담당자 조회
notifyManageListVO = notifyManageDAO.selectMngPagingList(p_notifyManageVO);
}else if (
"111".equals(p_noti_status) //숙박승인
|| "112".equals(p_noti_status) //숙박반려
) {
// 강사 ID 가져오기
notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO); //edu_aplct_ord & edu_chasi_ord
}else if ("11".equals(p_noti_status)) { }else if (
"14".equals(p_noti_status) //11-교육상태변경, 12-교육문자발송, 13-교육메일발송
||"15".equals(p_noti_status)
) {
//해당 신청자에게 알림
p_notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromVE_EDU_APLCT(p_notifyManageVO.getEduAplctOrd()));
}else if (
"72".equals(p_noti_status) //72-강사활동확인서 승인
|| "82".equals(p_noti_status) //82-강사정보수정요청 승인
) {
// 강사 ID 가져오기
p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd());
//notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO);
}else if (
"94".equals(p_noti_status) //94-zoom 댓글
||"96".equals(p_noti_status) //96-청소년전담게시판 댓글
) {
//해당 신청자에게 알림
p_notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromLETTNBBS(p_notifyManageVO.getEduAplctOrd()));
}else if (
"97".equals(p_noti_status) //97-서류요청
) {
//해당 강사에게 알림
NotifyManageVO t_notifyManageVO = notifyManageDAO.findByUserIdFromVE_EDU_DOC_REQ(p_notifyManageVO.getEduAplctOrd());
//p_notifyManageVO.setToUserId(notifyManageDAO.findByUserIdFromLETTNBBS(p_notifyManageVO.getEduAplctOrd()));
p_notifyManageVO.setToUserId(t_notifyManageVO.getToUserId());
//서류요청은 상세 페이지 데이터가 없어서 여기서 셋팅한다.
{
p_notifyManageVO.setParams("eduAplctOrd:"+t_notifyManageVO.getEduAplctOrd()+",eduChasiOrd:"+t_notifyManageVO.getEduChasiOrd());
//ex)edu_aplct_ord:edu_001,edu_chasi_ord:edu_cha_001
p_notifyManageVO.setEduAplctOrd(t_notifyManageVO.getEduAplctOrd());
p_notifyManageVO.setEduChasiOrd(t_notifyManageVO.getEduChasiOrd());
}
} }
@ -665,10 +776,11 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
||"100".equals(p_noti_status) //교육확정 ||"100".equals(p_noti_status) //교육확정
) { ) {
// 강사 ID 가져오기 // 강사 ID 가져오기
notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO); notifyManageListVO = notifyManageDAO.selectInstrList(p_notifyManageVO); //edu_aplct_ord & edu_chasi_ord
}else if ( }else if (
"72".equals(p_noti_status) //71-강사활동확인서 승인 "72".equals(p_noti_status) //72-강사활동확인서 승인
|| "82".equals(p_noti_status) //82-강사정보수정요청 승인
) { ) {
// 강사 ID 가져오기 // 강사 ID 가져오기
p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd()); p_notifyManageVO.setToUserId(p_notifyManageVO.getEduAplctOrd());
@ -725,7 +837,52 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
notifyCn = "신규 교육신청 건이 있습니다."; notifyCn = "신규 교육신청 건이 있습니다.";
}else if ("11".equals(p_noti_status)) { }else if ("11".equals(p_noti_status)) {
notifyCn = "교육 상태가 변경 되었습니다."; notifyCn = "교육 상태가 변경 되었습니다.";
}else if ("14".equals(p_noti_status)) {
notifyCn = "교육신청 내용 수정바랍니다.";
}else if ("15".equals(p_noti_status)) {
notifyCn = "교육일정이 확정 되었습니다.\n교육 일주일 전 강사정보 등 안내드리겠습니다.";
}else if ("110".equals(p_noti_status)) {
notifyCn = "숙박 신청 건이 있습니다.";
}else if ("111".equals(p_noti_status)) {
notifyCn = "숙박 신청 승인 건이 있습니다.";
}else if ("112".equals(p_noti_status)) {
notifyCn = "숙박 신청 반려 건이 있습니다.";
}else if ("71".equals(p_noti_status)) { //강사활동확인서신청
notifyCn = "강사활동확인서 발급 신청 건이 있습니다.";
}else if ("72".equals(p_noti_status)) { //강사활동확인서승인
notifyCn = "강사활동확인서 발급이 완료 되었습니다.";
}else if ("81".equals(p_noti_status)) { //정보수정요청
notifyCn = "강사 정보 변경 요청 건이 있습니다.";
}else if ("82".equals(p_noti_status)) { //정보수정승인
notifyCn = "강사 정보 변경이 완료 되었습니다.";
}else if ("93".equals(p_noti_status)) { //zoom 게시글
notifyCn = "zoom 신청 게시판 신규 글이 있습니다.";
}else if ("94".equals(p_noti_status)) { //zoom 게시글
notifyCn = "zoom 신청 게시판 댓글 확인 바랍니다.";
}else if ("95".equals(p_noti_status)) { //zoom 게시글
notifyCn = "청소년 전담강사 게시판 신규 글이 있습니다.";
}else if ("96".equals(p_noti_status)) { //zoom 게시글
notifyCn = "청소년 전담강사 게시판 작성글에 신규 댓글이 있습니다.";
}else if ("97".equals(p_noti_status)) { //zoom 게시글
notifyCn = "서류 회신 요청 건이 있습니다.";
}else if ("98".equals(p_noti_status)) { //zoom 게시글
notifyCn = "요청하신 서류가 제출 되었습니다.";
} }
} }
else if( "20".equals(p_lctrDivCd) ) { //성인 else if( "20".equals(p_lctrDivCd) ) { //성인
@ -773,6 +930,9 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
}else if ("81".equals(p_noti_status)) { //정보수정요청 }else if ("81".equals(p_noti_status)) { //정보수정요청
notifyCn = "정보수정 요청 건이 있습니다."; notifyCn = "정보수정 요청 건이 있습니다.";
}else if ("82".equals(p_noti_status)) { //정보수정승인
notifyCn = "정보수정 승인 건이 있습니다.";
} }
} }
else if( "30".equals(p_lctrDivCd) ) { //체험 else if( "30".equals(p_lctrDivCd) ) { //체험

View File

@ -144,6 +144,8 @@ public class VeConstants {
public static final String NOTI_STATUS_11 = "11"; // 교육상태변경 public static final String NOTI_STATUS_11 = "11"; // 교육상태변경
public static final String NOTI_STATUS_12 = "12"; // 교육문자발송 public static final String NOTI_STATUS_12 = "12"; // 교육문자발송
public static final String NOTI_STATUS_13 = "13"; // 교육메일발송 public static final String NOTI_STATUS_13 = "13"; // 교육메일발송
public static final String NOTI_STATUS_14 = "14"; // 교육수정요청
public static final String NOTI_STATUS_15 = "15"; // 교육신청확정
public static final String NOTI_STATUS_20 = "20"; // 교육배치 public static final String NOTI_STATUS_20 = "20"; // 교육배치
public static final String NOTI_STATUS_21 = "21"; // 수락요청 public static final String NOTI_STATUS_21 = "21"; // 수락요청
@ -151,10 +153,15 @@ public class VeConstants {
public static final String NOTI_STATUS_23 = "23"; // 교육거절 public static final String NOTI_STATUS_23 = "23"; // 교육거절
public static final String NOTI_STATUS_24 = "24"; // 변경요청 public static final String NOTI_STATUS_24 = "24"; // 변경요청
public static final String NOTI_STATUS_100 = "100"; // 교육확정 public static final String NOTI_STATUS_100 = "100"; // 교육확정(강사배정확정)
public static final String NOTI_STATUS_101 = "101"; // 교육문자발송 public static final String NOTI_STATUS_101 = "101"; // 교육문자발송
public static final String NOTI_STATUS_102 = "102"; // 교육메일발송 public static final String NOTI_STATUS_102 = "102"; // 교육메일발송
public static final String NOTI_STATUS_110 = "110"; // 숙박신청
public static final String NOTI_STATUS_111 = "111"; // 숙박승인
public static final String NOTI_STATUS_112 = "112"; // 숙박반려
public static final String NOTI_STATUS_30 = "30"; // 강의계획서 public static final String NOTI_STATUS_30 = "30"; // 강의계획서
public static final String NOTI_STATUS_31 = "31"; // 강의계획서제출 public static final String NOTI_STATUS_31 = "31"; // 강의계획서제출
@ -179,5 +186,12 @@ public class VeConstants {
public static final String NOTI_STATUS_90 = "90"; // 교육문의 public static final String NOTI_STATUS_90 = "90"; // 교육문의
public static final String NOTI_STATUS_91 = "91"; // 교육문의건 public static final String NOTI_STATUS_91 = "91"; // 교육문의건
public static final String NOTI_STATUS_92 = "92"; // 교육문의답변 public static final String NOTI_STATUS_92 = "92"; // 교육문의답변
public static final String NOTI_STATUS_93 = "93"; // zoom문의건
public static final String NOTI_STATUS_94 = "94"; // zoom문의답변
public static final String NOTI_STATUS_95 = "95"; // 청소년전담문의건
public static final String NOTI_STATUS_96 = "96"; // 청소년전담문의답변
public static final String NOTI_STATUS_97 = "97"; // 서류요청
public static final String NOTI_STATUS_98 = "98"; // 서류제출
} }

View File

@ -28,6 +28,7 @@ import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.uss.notify.service.NotifyManageService; import kcc.let.uss.notify.service.NotifyManageService;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO; import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.let.utl.fcc.service.VisitEduTransUtil; import kcc.let.utl.fcc.service.VisitEduTransUtil;
import kcc.ve.cmm.VeConstants; import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAcmdtAplctService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAcmdtAplctService;
@ -46,7 +47,6 @@ import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService;
import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiService; import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiService;
import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiVO; import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiVO;
import kcc.ve.oprtn.cndtnSspnIdtmt.trgtMng.service.CndtnTrgtMngVO;
@Controller @Controller
@ -110,6 +110,10 @@ public class VEAsgnmController {
@Resource(name="veaLctrExchnOrdGnrService") @Resource(name="veaLctrExchnOrdGnrService")
private EgovIdGnrService veaLctrExchnOrdGnrService; private EgovIdGnrService veaLctrExchnOrdGnrService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
//청소년강사 강의 요청 목록 //청소년강사 강의 요청 목록
@RequestMapping("/web/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmRqstList.do") @RequestMapping("/web/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmRqstList.do")
public String instrAsgnmRqstList( public String instrAsgnmRqstList(
@ -1006,6 +1010,21 @@ public class VEAsgnmController {
vEInstrFeeAcmdtVO.setFrstRegisterId(loginVO.getUniqId()); vEInstrFeeAcmdtVO.setFrstRegisterId(loginVO.getUniqId());
vEAcmdtAplctService.insert(vEInstrFeeAcmdtVO); vEAcmdtAplctService.insert(vEInstrFeeAcmdtVO);
//숙박신청 알림
try {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_110,
vEInstrFeeAcmdtVO.getEduAplctOrd(),
vEInstrFeeAcmdtVO.getEduChasiOrd(),
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
isSuccess = false; isSuccess = false;

View File

@ -225,14 +225,14 @@ public class InstrActvtHstryAdultMngController {
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId()); vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO); vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO(); if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
//강사활동확인서 승인 알림 //강사활동확인서 승인 알림
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO();
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
try { try {
iTNotiUtil.insertNotifyNew( iTNotiUtil.insertNotifyNew(
"20", "20",
@ -248,6 +248,7 @@ public class InstrActvtHstryAdultMngController {
} }
} }
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
return modelAndView; return modelAndView;

View File

@ -180,23 +180,26 @@ public class CommonManageWebController {
System.out.println(vEEduAplctVO.getLctrDivCd()); System.out.println(vEEduAplctVO.getLctrDivCd());
// 알림 insert // 알림 insert
if( if(
"10".equals(vEEduAplctVO.getLctrDivCd()) "20".equals(vEEduAplctVO.getLctrDivCd()) //성인
|| "20".equals(vEEduAplctVO.getLctrDivCd())
|| "30".equals(vEEduAplctVO.getLctrDivCd()) || "30".equals(vEEduAplctVO.getLctrDivCd())
) )
{ {
//old //old
//notifyManageService.insertNotifyAprvlCdForUser(loginVO, vEEduAplctVO.getEduAplctOrd(), vEEduAplctVO.getLctrDivCd(), vEEduAplctVO.getAprvlCd()); //notifyManageService.insertNotifyAprvlCdForUser(loginVO, vEEduAplctVO.getEduAplctOrd(), vEEduAplctVO.getLctrDivCd(), vEEduAplctVO.getAprvlCd());
iTNotiUtil.insertNotifyNew( try {
vEEduAplctVO.getLctrDivCd(), iTNotiUtil.insertNotifyNew(
loginVO.getUniqId(), vEEduAplctVO.getLctrDivCd(),
VeConstants.NOTI_STATUS_11, loginVO.getUniqId(),
vEEduAplctVO.getEduAplctOrd(), VeConstants.NOTI_STATUS_11,
vEEduAplctVO.getEduChasiOrd(), vEEduAplctVO.getEduAplctOrd(),
"1", vEEduAplctVO.getEduChasiOrd(),
"1" "1",
); "1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
/* /*
iTNotiUtil.insertNotifyNew(p_notifyManageService, p_lctrDivCd, p_RegisterId, p_noti_status_cd, p_eduAplctOrd, p_eduChasiOrd, p_move_param_type, p_noti_param_type); iTNotiUtil.insertNotifyNew(p_notifyManageService, p_lctrDivCd, p_RegisterId, p_noti_status_cd, p_eduAplctOrd, p_eduChasiOrd, p_move_param_type, p_noti_param_type);
@ -229,6 +232,42 @@ public class CommonManageWebController {
} }
*/ */
}else if( "10".equals(vEEduAplctVO.getLctrDivCd()) //청소년
)
{
if ("70".equals(vEEduAplctVO.getAprvlCd())) { //교육수정요청
try {
iTNotiUtil.insertNotifyNew(
vEEduAplctVO.getLctrDivCd(),
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_14,
vEEduAplctVO.getEduAplctOrd(),
vEEduAplctVO.getEduChasiOrd(),
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
}else if ("60".equals(vEEduAplctVO.getAprvlCd())) { //교육신청확정
try {
iTNotiUtil.insertNotifyNew(
vEEduAplctVO.getLctrDivCd(),
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_15,
vEEduAplctVO.getEduAplctOrd(),
vEEduAplctVO.getEduChasiOrd(),
"1",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
}
} }
modelAndView.addObject("rsCnt", rs); modelAndView.addObject("rsCnt", rs);

View File

@ -46,10 +46,12 @@ import kcc.let.cop.bbs.service.Board;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO; import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngService; import kcc.ve.adv.tngr.stngInfo.service.VEAStngService;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO; import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO;
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService; import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService;
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO; import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrExcelVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrExcelVO;
@ -194,6 +196,10 @@ public class OprtnInstrAdultPrflContoller {
//강의설정 관리 //강의설정 관리
@Resource(name = "vEAStngService") @Resource(name = "vEAStngService")
private VEAStngService vEAStngService; private VEAStngService vEAStngService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 1.강사등록신청 목록 조회 - * 1.강사등록신청 목록 조회 -
@ -975,6 +981,21 @@ public class OprtnInstrAdultPrflContoller {
vEInstrDetailVO.setUseYn("Y"); vEInstrDetailVO.setUseYn("Y");
//디테일 다른 데이터들 useYn N 업데이트 //디테일 다른 데이터들 useYn N 업데이트
vEInstrMixService.updateUseYnN(vEInstrDetailVO); vEInstrMixService.updateUseYnN(vEInstrDetailVO);
//강사 정보 수정
try {
iTNotiUtil.insertNotifyNew(
"20",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_82,
vEInstrDetailVO.getUserId(),
"",
"0",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
vEInstrDetailService.update(vEInstrDetailVO); vEInstrDetailService.update(vEInstrDetailVO);

View File

@ -46,11 +46,13 @@ import kcc.let.cop.bbs.service.Board;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO; import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngMixService; import kcc.ve.adv.tngr.stngInfo.service.VEAStngMixService;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngService; import kcc.ve.adv.tngr.stngInfo.service.VEAStngService;
import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO; import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO;
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService; import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService;
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO; import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEEduPnltyService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEEduPnltyService;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrAsgnmVO; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrAsgnmVO;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEAutoAsgnmMIXService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEAutoAsgnmMIXService;
@ -230,6 +232,10 @@ public class OprtnInstrTngrPrflContoller {
@Resource(name = "vEAutoAsgnmMIXService") @Resource(name = "vEAutoAsgnmMIXService")
private VEAutoAsgnmMIXService vEAutoAsgnmMIXService; private VEAutoAsgnmMIXService vEAutoAsgnmMIXService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 1.강사등록신청 목록 조회 - * 1.강사등록신청 목록 조회 -
*/ */
@ -1609,6 +1615,21 @@ public class OprtnInstrTngrPrflContoller {
vEInstrDetailVO.setUseYn("Y"); vEInstrDetailVO.setUseYn("Y");
//디테일 다른 데이터들 useYn N 업데이트 //디테일 다른 데이터들 useYn N 업데이트
vEInstrMixService.updateUseYnN(vEInstrDetailVO); vEInstrMixService.updateUseYnN(vEInstrDetailVO);
//강사 정보 수정요청
try {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_82,
vEInstrDetailVO.getUserId(),
"",
"0",
"1"
);
}catch(Exception ex) {
ex.printStackTrace();
}
} }
vEInstrDetailService.update(vEInstrDetailVO); vEInstrDetailService.update(vEInstrDetailVO);

View File

@ -29,6 +29,7 @@ import kcc.com.cmm.util.IpUtil;
import kcc.com.cmm.util.StringUtil; import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.let.utl.fcc.service.VEPagingUtil; import kcc.let.utl.fcc.service.VEPagingUtil;
import kcc.ve.cmm.VeConstants; import kcc.ve.cmm.VeConstants;
import kcc.ve.cmm.VeInstrFeeMng; import kcc.ve.cmm.VeInstrFeeMng;
@ -182,6 +183,10 @@ public class EduAsgnmCnfrmMngTngrController {
@Resource(name = "vEAutoAsgnmMIXService") @Resource(name = "vEAutoAsgnmMIXService")
private VEAutoAsgnmMIXService vEAutoAsgnmMIXService; private VEAutoAsgnmMIXService vEAutoAsgnmMIXService;
//알림
@Resource(name = "iTNotiUtil")
private ITNotiUtil iTNotiUtil;
/** /**
* 교육배정확정관리 목록 화면 * 교육배정확정관리 목록 화면
*/ */
@ -511,6 +516,36 @@ public class EduAsgnmCnfrmMngTngrController {
vEAcmdtAplctService.update(vEInstrFeeAcmdtVO); vEAcmdtAplctService.update(vEInstrFeeAcmdtVO);
//확정/반려 알림
try {
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
if ("10".equals(vEInstrFeeAcmdtVO.getAprvlCd())) {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_111,
vEInstrFeeAcmdtVO.getEduAplctOrd(),
vEInstrFeeAcmdtVO.getEduChasiOrd(),
"2",
"2"
);
}else if ("20".equals(vEInstrFeeAcmdtVO.getAprvlCd())) {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_112,
vEInstrFeeAcmdtVO.getEduAplctOrd(),
vEInstrFeeAcmdtVO.getEduChasiOrd(),
"2",
"2"
);
}
}catch(Exception ex) {
ex.printStackTrace();
}
modelAndView.addObject("result", "success"); modelAndView.addObject("result", "success");
return modelAndView; return modelAndView;
@ -548,6 +583,30 @@ public class EduAsgnmCnfrmMngTngrController {
vEInstrFeeAcmdtVO2.setAprvlCd(vEInstrFeeAcmdtVO.getAprvlCd()); // 승인코드 vEInstrFeeAcmdtVO2.setAprvlCd(vEInstrFeeAcmdtVO.getAprvlCd()); // 승인코드
vEInstrFeeAcmdtVO2.setAprvlCn(vEInstrFeeAcmdtVO.getAprvlCn()); // 승인내용 vEInstrFeeAcmdtVO2.setAprvlCn(vEInstrFeeAcmdtVO.getAprvlCn()); // 승인내용
vEAcmdtAplctService.update(vEInstrFeeAcmdtVO2); vEAcmdtAplctService.update(vEInstrFeeAcmdtVO2);
//확정/반려 알림
try {
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
System.out.println("vEInstrFeeAcmdtVO.getAprvlCd()");
System.out.println(vEInstrFeeAcmdtVO.getAprvlCd());
System.out.println(vEInstrFeeAcmdtVO.getAprvlCd());
if ("20".equals(vEInstrFeeAcmdtVO.getAprvlCd())) {
iTNotiUtil.insertNotifyNew(
"10",
loginVO.getUniqId(),
VeConstants.NOTI_STATUS_112,
vEInstrFeeAcmdtVO.getEduAplctOrd(),
vEInstrFeeAcmdtVO.getEduChasiOrd(),
"2",
"2"
);
}
}catch(Exception ex) {
ex.printStackTrace();
}
} }
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();

View File

@ -1,311 +1,337 @@
package kcc.ve.oprtn.tngrVisitEdu.instrActvtHstryMng; package kcc.ve.oprtn.tngrVisitEdu.instrActvtHstryMng;
import java.util.List; import java.util.List;
import java.util.Properties; import java.util.Properties;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap; import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.LoginVO; import kcc.com.cmm.LoginVO;
import kcc.com.cmm.service.EgovCmmUseService; import kcc.com.cmm.service.EgovCmmUseService;
import kcc.com.cmm.service.EgovFileMngService; import kcc.com.cmm.service.EgovFileMngService;
import kcc.com.cmm.service.EgovFileMngUtil; import kcc.com.cmm.service.EgovFileMngUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.ve.cmm.VeConstants; import kcc.let.utl.fcc.service.ITNotiUtil;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService; import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
/**
* 교육일정관리(관리자-청소년찾아가는저작권교육) /**
* 교육일정관리에 관한 controller 클래스를 정의한다. * 교육일정관리(관리자-청소년찾아가는저작권교육)
* @author 조용준 * 교육일정관리에 관한 controller 클래스를 정의한다.
* @since 2021.12.16 * @author 조용준
* @version 1.0 * @since 2021.12.16
* @see * @version 1.0
* * @see
* <pre> *
* << 개정이력(Modification Information) >> * <pre>
* * << 개정이력(Modification Information) >>
* 수정일 수정자 수정내용 *
* ------- -------- --------------------------- * 수정일 수정자 수정내용
* 2021.12.16 조용준 최초 생성 * ------- -------- ---------------------------
* * 2021.12.16 조용준 최초 생성
* </pre> *
*/ * </pre>
*/
@Controller
public class InstrActvtHstryTngrMngController { @Controller
public class InstrActvtHstryTngrMngController {
private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryTngrMngController.class);
private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryTngrMngController.class);
//로그인 체크 util
@Resource(name = "checkLoginUtil") //로그인 체크 util
private CheckLoginUtil checkLoginUtil; @Resource(name = "checkLoginUtil")
private CheckLoginUtil checkLoginUtil;
// eGov 공통코드
@Resource(name = "EgovCmmUseService") // eGov 공통코드
private EgovCmmUseService cmmUseService; @Resource(name = "EgovCmmUseService")
private EgovCmmUseService cmmUseService;
@Resource(name = "EgovFileMngService")
private EgovFileMngService fileService; @Resource(name = "EgovFileMngService")
private EgovFileMngService fileService;
// global 프로퍼티
@Resource(name="globalSettings") // global 프로퍼티
protected Properties propertiesService; @Resource(name="globalSettings")
protected Properties propertiesService;
//첨부파일 경로, realPath 설정
@Resource(name="EgovFileMngUtil") //첨부파일 경로, realPath 설정
private EgovFileMngUtil fileUtil; @Resource(name="EgovFileMngUtil")
private EgovFileMngUtil fileUtil;
// 첨부파일 정보
@Resource(name="EgovFileMngService") // 첨부파일 정보
private EgovFileMngService fileMngService; @Resource(name="EgovFileMngService")
private EgovFileMngService fileMngService;
// 첨부파일 정보
@Resource(name="vEInstrDetailActvtHstryService") // 첨부파일 정보
private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService; @Resource(name="vEInstrDetailActvtHstryService")
private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService;
//암복호화 유틸
@Resource(name = "egovCryptoUtil") //암복호화 유틸
EgovCryptoUtil egovCryptoUtil; @Resource(name = "egovCryptoUtil")
EgovCryptoUtil egovCryptoUtil;
//알림
/** @Resource(name = "iTNotiUtil")
* @methodName : instrActvtHstryMngList private ITNotiUtil iTNotiUtil;
* @author : 이호영
* @date : 2023.11.16 /**
* @description : 강사활동확인서신청관리 목록 * @methodName : instrActvtHstryMngList
* @param vEInstrDetailActvtHstryVO * @author : 이호영
* @param model * @date : 2023.11.16
* @param request * @description : 강사활동확인서신청관리 목록
* @return * @param vEInstrDetailActvtHstryVO
* @throws Exception * @param model
*/ * @param request
@RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do") * @return
public String instrActvtHstryMngList( * @throws Exception
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO */
, ModelMap model @RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do")
, HttpServletRequest request public String instrActvtHstryMngList(
) throws Exception { @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
, ModelMap model
//로그인 처리==================================== , HttpServletRequest request
//로그인 정보 가져오기 ) throws Exception {
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 //로그인 처리====================================
//로그인 정보 가져오기
// if (loginVO == null || ssoLoginVO == null) { LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
// }
//로그인 처리==================================== // if (loginVO == null || ssoLoginVO == null) {
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년 // return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
// }
//1.pageing step1 //로그인 처리====================================
PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO); vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년
//2. pageing step2
vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo); //1.pageing step1
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword())); PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO);
List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO); //2. pageing step2
vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo);
vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm()))); vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO);
//3.pageing step3
paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo); vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm())));
model.addAttribute("paginationInfo", paginationInfo);
//3.pageing step3
// 검색어 복호화 paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo);
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword())); model.addAttribute("paginationInfo", paginationInfo);
//대상 리스트, 페이징 정보 전달
model.addAttribute("list", vEInstrDetailActvtHstryVOList); // 검색어 복호화
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
//대상 리스트, 페이징 정보 전달
model.addAttribute("list", vEInstrDetailActvtHstryVOList);
return "oprtn/tngrVisitEdu/instrActvtHstryMngList";
}
return "oprtn/tngrVisitEdu/instrActvtHstryMngList";
/** }
* @methodName : instrActvtHstryMngDetail
* @author : 이호영
* @date : 2023.11.16 /**
* @description : 강사활동확인서신청관리 상세 * @methodName : instrActvtHstryMngDetail
* @param vEInstrDetailActvtHstryVO * @author : 이호영
* @param model * @date : 2023.11.16
* @param request * @description : 강사활동확인서신청관리 상세
* @return * @param vEInstrDetailActvtHstryVO
* @throws Exception * @param model
*/ * @param request
@RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.do") * @return
public String instrActvtHstryMngDetail( * @throws Exception
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO */
, ModelMap model @RequestMapping("/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.do")
, HttpServletRequest request public String instrActvtHstryMngDetail(
) throws Exception { @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
, ModelMap model
//로그인 처리==================================== , HttpServletRequest request
//로그인 정보 가져오기 ) throws Exception {
// String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
// if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo; //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리==================================== // String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
//로그인 정보 가져오기 // if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 //로그인 처리====================================
//로그인 정보 가져오기
// if (loginVO == null || ssoLoginVO == null) { LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
// }
// vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //청소년 // if (loginVO == null || ssoLoginVO == null) {
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO); // }
// vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //청소년
vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone())); VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
//대상 리스트, 페이징 정보 전달 vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
model.addAttribute("info", vEInstrActvtHstryVO); vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone()));
//대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrActvtHstryVO);
return "oprtn/tngrVisitEdu/instrActvtHstryMngDetail";
}
/** return "oprtn/tngrVisitEdu/instrActvtHstryMngDetail";
* @methodName : instrCnclPopup }
* @author : 이호영
* @date : 2023.11.16 /**
* @description : 강사활동확인서신청관리 상세 * @methodName : instrCnclPopup
* @param vEInstrDetailActvtHstryVO * @author : 이호영
* @param model * @date : 2023.11.16
* @param request * @description : 강사활동확인서신청관리 상세
* @return * @param vEInstrDetailActvtHstryVO
* @throws Exception * @param model
*/ * @param request
@RequestMapping("/kccadr/oprtn/tngrVisitEdu/popup/instrCnclPopup.do") * @return
public String instrCnclPopup( * @throws Exception
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO */
, ModelMap model @RequestMapping("/kccadr/oprtn/tngrVisitEdu/popup/instrCnclPopup.do")
, HttpServletRequest request public String instrCnclPopup(
) throws Exception { @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
, ModelMap model
//로그인 처리==================================== , HttpServletRequest request
//로그인 정보 가져오기 ) throws Exception {
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 //로그인 처리====================================
//로그인 정보 가져오기
// if (loginVO == null || ssoLoginVO == null) { LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
// }
//대상 리스트, 페이징 정보 전달 // if (loginVO == null || ssoLoginVO == null) {
model.addAttribute("info", vEInstrDetailActvtHstryVO); // return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
// }
//대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrDetailActvtHstryVO);
return "oprtn/tngrVisitEdu/popup/instrCnclPopup";
}
return "oprtn/tngrVisitEdu/popup/instrCnclPopup";
}
@RequestMapping("/kccadr/oprtn/tngrVisitEdu/updateStateCd.do")
public ModelAndView updateStateCd(
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
, ModelMap model @RequestMapping("/kccadr/oprtn/tngrVisitEdu/updateStateCd.do")
//, RedirectAttributes redirectAttributes public ModelAndView updateStateCd(
, HttpServletRequest request @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
) throws Exception { , ModelMap model
//, RedirectAttributes redirectAttributes
ModelAndView modelAndView = new ModelAndView(); , HttpServletRequest request
modelAndView.setViewName("jsonView"); ) throws Exception {
//로그인 처리==================================== ModelAndView modelAndView = new ModelAndView();
//로그인 정보 가져오기 modelAndView.setViewName("jsonView");
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model); //로그인 처리====================================
if (!"".equals(s_oprtnLoginCheckNInfo)) { //로그인 정보 가져오기
modelAndView.addObject("result", "loginFail");
return modelAndView; String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
} if (!"".equals(s_oprtnLoginCheckNInfo)) {
modelAndView.addObject("result", "loginFail");
//로그인 처리==================================== return modelAndView;
}
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 //로그인 처리====================================
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId()); SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
modelAndView.addObject("result", "success"); vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
return modelAndView;
} if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
//강사활동확인서 승인 알림
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO();
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
////////////////////////////////////////////////////////////////////////////////////////////////////////////// vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
//
// try {
// private function iTNotiUtil.insertNotifyNew(
// "10",
// loginVO.getUniqId(),
VeConstants.NOTI_STATUS_72,
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정 vEInstrDetailActvtHstryVOInfo.getUserId(),
private PaginationInfo setPagingStep1( "",
VEInstrDetailActvtHstryVO p_vEEduAplctVO "0",
)throws Exception{ "1"
// pageing step1 );
PaginationInfo paginationInfo = new PaginationInfo(); }catch(Exception ex) {
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex()); ex.printStackTrace();
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit()); }
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize()); }
return paginationInfo;
} modelAndView.addObject("result", "success");
return modelAndView;
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 검색 조건 초기화
private VEInstrDetailActvtHstryVO setPagingStep2( }
VEInstrDetailActvtHstryVO p_vEEduAplctVO
, PaginationInfo p_paginationInfo
)throws Exception{
// pageing step2 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex()); //
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex()); //
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage()); // private function
//
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List //
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
p_vEEduAplctVO.setSearchSortOrd("desc"); //페이징을 위한 처리 step1 - 페이징 기본 정보 설정
} private PaginationInfo setPagingStep1(
VEInstrDetailActvtHstryVO p_vEEduAplctVO
return p_vEEduAplctVO; )throws Exception{
} // pageing step1
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기 paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
private PaginationInfo setPagingStep3( paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList
return paginationInfo;
, PaginationInfo p_paginationInfo }
)throws Exception{
// pageing step3
int totCnt = 0; //페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 검색 조건 초기화
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt(); private VEInstrDetailActvtHstryVO setPagingStep2(
p_paginationInfo.setTotalRecordCount(totCnt); VEInstrDetailActvtHstryVO p_vEEduAplctVO
, PaginationInfo p_paginationInfo
return p_paginationInfo; )throws Exception{
} // pageing step2
} p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
p_vEEduAplctVO.setSearchSortOrd("desc");
}
return p_vEEduAplctVO;
}
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
private PaginationInfo setPagingStep3(
List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList
, PaginationInfo p_paginationInfo
)throws Exception{
// pageing step3
int totCnt = 0;
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
p_paginationInfo.setTotalRecordCount(totCnt);
return p_paginationInfo;
}
}

View File

@ -127,8 +127,34 @@
WHERE a.EDU_APLCT_ORD = #eduAplctOrd# WHERE a.EDU_APLCT_ORD = #eduAplctOrd#
</select> </select>
<select id="VEANotifyDAO.findByUserIdFromLETTNBBS" parameterClass="String" resultClass="String">
/* VEANotifyDAO.findByUserIdFromLETTNBBS */
SELECT FRST_REGISTER_ID AS toUserId
FROM LETTNBBS
WHERE ntt_id=#eduAplctOrd#
</select>
<select id="VEANotifyDAO.findByUserIdFromVE_EDU_DOC_REQ" parameterClass="String" resultClass="notifyManageVO">
/* VEANotifyDAO.findByUserIdFromVE_EDU_DOC_REQ */
SELECT a.edu_aplct_ord AS eduAplctOrd
, b.EDU_CHASI_ORD AS eduChasiOrd
, b.USER_ID AS toUserId
FROM VE_EDU_DOC_REQ a
, ve_edu_chasi_instr_asgnm b
WHERE a.edu_doc_req_ord=#eduAplctOrd#
AND a.EDU_APLCT_ORD =b.EDU_APLCT_ORD
AND a.SBMT_ID =b.USER_ID
ORDER BY b.EDU_CHASI_ORD
LIMIT 1
SELECT FRST_REGISTER_ID AS toUserId
FROM LETTNBBS
WHERE ntt_id=#eduAplctOrd#
</select>
<select id="VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd" parameterClass="String" resultClass="String"> <select id="VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd" parameterClass="String" resultClass="String">
/* VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd */ /* VEANotifyDAO.findByLctrDivCdFromVePrcsAplctPrd */
SELECT SELECT

View File

@ -865,7 +865,9 @@
AND NVL(A.USE_YN, 'Y') <![CDATA[ <> ]]> 'N' AND NVL(A.USE_YN, 'Y') <![CDATA[ <> ]]> 'N'
AND a.LCTR_DIV_CD = '10' AND a.LCTR_DIV_CD = '10'
AND a.aprvl_cd = '60' AND a.aprvl_cd = '60'
/*
AND d.asgnm_aprvl_cd = '30' AND d.asgnm_aprvl_cd = '30'
*/
AND 1 =1 AND 1 =1
GROUP BY d.user_id GROUP BY d.user_id

View File

@ -230,6 +230,7 @@
, "bsnsNm": $('#bsnsNm').val() , "bsnsNm": $('#bsnsNm').val()
, "successMsg" : "신청이 완료되었습니다." , "successMsg" : "신청이 완료되었습니다."
, "lctrDivCd" : "20"
} }
/* /*

View File

@ -258,6 +258,7 @@
, "bsnsNm": $('#bsnsNm').val() , "bsnsNm": $('#bsnsNm').val()
, "successMsg" : "신청이 완료되었습니다." , "successMsg" : "신청이 완료되었습니다."
, "lctrDivCd" : "10"
} }
/* /*
* 공통 : innorixCommon.js * 공통 : innorixCommon.js

View File

@ -683,7 +683,7 @@ function goWebSave(method_parm){ //method_parm :관리자로그 메소드에서
alert(returnData.message); alert(returnData.message);
return; return;
} }
alert("저장 되었습니다."); alert("저장 되었습니다.1");
fn_egov_select_noticeList() fn_egov_select_noticeList()
} else if(status== 'fail'){ } else if(status== 'fail'){
alert("저장에 실패하였습니다. !!"); alert("저장에 실패하였습니다. !!");

View File

@ -683,7 +683,7 @@ function goWebSave(method_parm){ //method_parm :관리자로그 메소드에서
alert(returnData.message); alert(returnData.message);
return; return;
} }
alert("저장 되었습니다."); alert("저장 되었습니다.!!!");
fn_egov_select_noticeList() fn_egov_select_noticeList()
} else if(status== 'fail'){ } else if(status== 'fail'){
alert("저장에 실패하였습니다. !!"); alert("저장에 실패하였습니다. !!");