2024-02-06 16:15 청소년 알림 수정
This commit is contained in:
parent
c31e43ab89
commit
cd940baf3d
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -564,7 +580,6 @@ 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());
|
||||||
@ -582,13 +597,12 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
|||||||
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(),
|
||||||
@ -596,6 +610,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
|||||||
"0",
|
"0",
|
||||||
"0"
|
"0"
|
||||||
);
|
);
|
||||||
|
|
||||||
}catch(Exception ex) {
|
}catch(Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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,6 +68,9 @@ 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("");
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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());
|
||||||
@ -726,6 +838,51 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
|
|||||||
|
|
||||||
}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) ) { //체험
|
||||||
|
|||||||
@ -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"; // 서류제출
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -226,13 +226,13 @@ public class InstrActvtHstryAdultMngController {
|
|||||||
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
||||||
|
|
||||||
|
|
||||||
|
if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
|
||||||
|
//강사활동확인서 승인 알림
|
||||||
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO();
|
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO();
|
||||||
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
|
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
|
||||||
vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
|
vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
|
||||||
|
|
||||||
|
|
||||||
if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
|
|
||||||
//강사활동확인서 승인 알림
|
|
||||||
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;
|
||||||
|
|||||||
@ -180,14 +180,14 @@ 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());
|
||||||
|
|
||||||
|
try {
|
||||||
iTNotiUtil.insertNotifyNew(
|
iTNotiUtil.insertNotifyNew(
|
||||||
vEEduAplctVO.getLctrDivCd(),
|
vEEduAplctVO.getLctrDivCd(),
|
||||||
loginVO.getUniqId(),
|
loginVO.getUniqId(),
|
||||||
@ -197,6 +197,9 @@ public class CommonManageWebController {
|
|||||||
"1",
|
"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);
|
||||||
|
|||||||
@ -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;
|
||||||
@ -195,6 +197,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);
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|||||||
@ -22,6 +22,7 @@ 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.let.utl.fcc.service.ITNotiUtil;
|
||||||
import kcc.ve.cmm.VeConstants;
|
import kcc.ve.cmm.VeConstants;
|
||||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
|
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
|
||||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
|
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
|
||||||
@ -80,7 +81,9 @@ public class InstrActvtHstryTngrMngController {
|
|||||||
@Resource(name = "egovCryptoUtil")
|
@Resource(name = "egovCryptoUtil")
|
||||||
EgovCryptoUtil egovCryptoUtil;
|
EgovCryptoUtil egovCryptoUtil;
|
||||||
|
|
||||||
|
//알림
|
||||||
|
@Resource(name = "iTNotiUtil")
|
||||||
|
private ITNotiUtil iTNotiUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @methodName : instrActvtHstryMngList
|
* @methodName : instrActvtHstryMngList
|
||||||
@ -247,6 +250,29 @@ public class InstrActvtHstryTngrMngController {
|
|||||||
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
||||||
|
|
||||||
|
|
||||||
|
if ("30".equals(vEInstrDetailActvtHstryVO.getStateCd())) {
|
||||||
|
//강사활동확인서 승인 알림
|
||||||
|
VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVOInfo = new VEInstrDetailActvtHstryVO();
|
||||||
|
vEInstrDetailActvtHstryVOInfo.setPrcsAplctPrdOrd(vEInstrDetailActvtHstryVO.getPrcsAplctPrdOrd());
|
||||||
|
vEInstrDetailActvtHstryVOInfo = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
|
||||||
|
|
||||||
|
try {
|
||||||
|
iTNotiUtil.insertNotifyNew(
|
||||||
|
"10",
|
||||||
|
loginVO.getUniqId(),
|
||||||
|
VeConstants.NOTI_STATUS_72,
|
||||||
|
vEInstrDetailActvtHstryVOInfo.getUserId(),
|
||||||
|
"",
|
||||||
|
"0",
|
||||||
|
"1"
|
||||||
|
);
|
||||||
|
}catch(Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
modelAndView.addObject("result", "success");
|
modelAndView.addObject("result", "success");
|
||||||
|
|
||||||
return modelAndView;
|
return modelAndView;
|
||||||
|
|||||||
@ -128,6 +128,32 @@
|
|||||||
|
|
||||||
</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 */
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -230,6 +230,7 @@
|
|||||||
, "bsnsNm": $('#bsnsNm').val()
|
, "bsnsNm": $('#bsnsNm').val()
|
||||||
|
|
||||||
, "successMsg" : "신청이 완료되었습니다."
|
, "successMsg" : "신청이 완료되었습니다."
|
||||||
|
, "lctrDivCd" : "20"
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -258,6 +258,7 @@
|
|||||||
, "bsnsNm": $('#bsnsNm').val()
|
, "bsnsNm": $('#bsnsNm').val()
|
||||||
|
|
||||||
, "successMsg" : "신청이 완료되었습니다."
|
, "successMsg" : "신청이 완료되었습니다."
|
||||||
|
, "lctrDivCd" : "10"
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* 공통 : innorixCommon.js
|
* 공통 : innorixCommon.js
|
||||||
|
|||||||
@ -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("저장에 실패하였습니다. !!");
|
||||||
|
|||||||
@ -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("저장에 실패하였습니다. !!");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user