이용정지회원 주소록 요청시 슬랙알림 기능 추가
@a558f0417ea89f2343ef6a6136bd5b66d43d61a9
--- src/main/java/itn/let/uat/uia/web/EgovLoginController.java
+++ src/main/java/itn/let/uat/uia/web/EgovLoginController.java
... | ... | @@ -5033,6 +5033,33 @@ |
| 5033 | 5033 |
try {
|
| 5034 | 5034 |
mberManageVO.setSendSttus("N"); //주소록 전송 전 상태 'N'
|
| 5035 | 5035 |
mberManageService.updateReqeustAddr(mberManageVO); |
| 5036 |
+ |
|
| 5037 |
+ // 법인폰 알람여부 체크 |
|
| 5038 |
+ JoinSettingVO joinSettingVO = new JoinSettingVO(); |
|
| 5039 |
+ joinSettingVO = egovSiteManagerService.selectAdminNotiDetail(); |
|
| 5040 |
+ // 이메일 체크 |
|
| 5041 |
+ if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
|
| 5042 |
+ String emailTitle = "회원관리 > 이용정지회원 주소록 요청"; |
|
| 5043 |
+ |
|
| 5044 |
+ // CS관리자 이메일 알림전송 |
|
| 5045 |
+ mjonNoticeSendUtil.csAdminEmailNoticeSend("", mberManageVO.getMberId(), emailTitle);
|
|
| 5046 |
+ } |
|
| 5047 |
+ |
|
| 5048 |
+ // SMS 체크 |
|
| 5049 |
+ if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
|
| 5050 |
+ String smsTitle = "이용정지회원 주소록 요청"; |
|
| 5051 |
+ |
|
| 5052 |
+ // CS관리자 SMS 알림전송 |
|
| 5053 |
+ mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle); |
|
| 5054 |
+ } |
|
| 5055 |
+ |
|
| 5056 |
+ // SLACK 체크 |
|
| 5057 |
+ if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
|
| 5058 |
+ // Slack 메시지 발송(단순본문) |
|
| 5059 |
+ String msg = "[문자온] 이용정지회원 주소록 요청 - " + mberManageVO.getMberId(); |
|
| 5060 |
+ mjonCommon.sendSimpleSlackMsg(msg); |
|
| 5061 |
+ } |
|
| 5062 |
+ |
|
| 5036 | 5063 |
}catch(Exception e) {
|
| 5037 | 5064 |
modelAndView.addObject("message", "주소록 요청에 실패했습니다.");
|
| 5038 | 5065 |
modelAndView.addObject("result", "fail");
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?