담당자변경, 정보변경 SMS, 이메일알림 추가
This commit is contained in:
parent
f4faea96f6
commit
121cf811c5
@ -848,9 +848,31 @@ public class EgovMypageController {
|
|||||||
|
|
||||||
mberManageService.insertCmpUsrHst(mberManageVO);
|
mberManageService.insertCmpUsrHst(mberManageVO);
|
||||||
|
|
||||||
//Slack 알림 전송 처리
|
// 법인폰 알람여부 체크
|
||||||
String msg = "[문자온] 기업회원 담당자변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
JoinSettingVO joinSettingVO = new JoinSettingVO();
|
||||||
mjonCommon.sendSimpleSlackMsg(msg);
|
joinSettingVO = egovSiteManagerService.selectAdminNotiDetail();
|
||||||
|
// 이메일 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
||||||
|
String emailTitle = "회원관리 > 기업회원 담당자변경 요청";
|
||||||
|
|
||||||
|
// CS관리자 이메일 알림전송
|
||||||
|
mjonNoticeSendUtil.csAdminEmailNoticeSend(mberManageVO.getMberNm(), mberManageVO.getMberId(), emailTitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SMS 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
||||||
|
String smsTitle = "기업회원 담당자변경 요청";
|
||||||
|
|
||||||
|
// CS관리자 SMS 알림전송
|
||||||
|
mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SLACK 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
||||||
|
// Slack 메시지 발송(단순본문)
|
||||||
|
String msg = "[문자온] 기업회원 담당자변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
||||||
|
mjonCommon.sendSimpleSlackMsg(msg);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -932,9 +954,31 @@ public class EgovMypageController {
|
|||||||
|
|
||||||
mberManageService.insertCmpUsrHst(mberManageVO);
|
mberManageService.insertCmpUsrHst(mberManageVO);
|
||||||
|
|
||||||
//Slack 알림 처리
|
// 법인폰 알람여부 체크
|
||||||
String msg = "[문자온] 기업회원 정보변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
JoinSettingVO joinSettingVO = new JoinSettingVO();
|
||||||
mjonCommon.sendSimpleSlackMsg(msg);
|
joinSettingVO = egovSiteManagerService.selectAdminNotiDetail();
|
||||||
|
// 이메일 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
||||||
|
String emailTitle = "회원관리 > 기업회원 정보변경 요청";
|
||||||
|
|
||||||
|
// CS관리자 이메일 알림전송
|
||||||
|
mjonNoticeSendUtil.csAdminEmailNoticeSend(mberManageVO.getMberNm(), mberManageVO.getMberId(), emailTitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SMS 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
||||||
|
String smsTitle = "기업회원 정보변경 요청";
|
||||||
|
|
||||||
|
// CS관리자 SMS 알림전송
|
||||||
|
mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SLACK 체크
|
||||||
|
if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
||||||
|
// Slack 메시지 발송(단순본문)
|
||||||
|
String msg = "[문자온] 기업회원 정보변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
||||||
|
mjonCommon.sendSimpleSlackMsg(msg);
|
||||||
|
}
|
||||||
|
|
||||||
modelAndView.addObject("result", "success");
|
modelAndView.addObject("result", "success");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user