담당자변경, 정보변경 SMS, 이메일알림 추가
@121cf811c5761235ae56a67e8d832ec2f37ed07f
--- src/main/java/itn/let/uat/uia/web/EgovMypageController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageController.java
... | ... | @@ -848,9 +848,31 @@ |
| 848 | 848 |
|
| 849 | 849 |
mberManageService.insertCmpUsrHst(mberManageVO); |
| 850 | 850 |
|
| 851 |
- //Slack 알림 전송 처리 |
|
| 852 |
- String msg = "[문자온] 기업회원 담당자변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
|
| 853 |
- mjonCommon.sendSimpleSlackMsg(msg); |
|
| 851 |
+ // 법인폰 알람여부 체크 |
|
| 852 |
+ JoinSettingVO joinSettingVO = new JoinSettingVO(); |
|
| 853 |
+ joinSettingVO = egovSiteManagerService.selectAdminNotiDetail(); |
|
| 854 |
+ // 이메일 체크 |
|
| 855 |
+ if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
|
| 856 |
+ String emailTitle = "회원관리 > 기업회원 담당자변경 요청"; |
|
| 857 |
+ |
|
| 858 |
+ // CS관리자 이메일 알림전송 |
|
| 859 |
+ mjonNoticeSendUtil.csAdminEmailNoticeSend(mberManageVO.getMberNm(), mberManageVO.getMberId(), emailTitle); |
|
| 860 |
+ } |
|
| 861 |
+ |
|
| 862 |
+ // SMS 체크 |
|
| 863 |
+ if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
|
| 864 |
+ String smsTitle = "기업회원 담당자변경 요청"; |
|
| 865 |
+ |
|
| 866 |
+ // CS관리자 SMS 알림전송 |
|
| 867 |
+ mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle); |
|
| 868 |
+ } |
|
| 869 |
+ |
|
| 870 |
+ // SLACK 체크 |
|
| 871 |
+ if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
|
| 872 |
+ // Slack 메시지 발송(단순본문) |
|
| 873 |
+ String msg = "[문자온] 기업회원 담당자변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
|
| 874 |
+ mjonCommon.sendSimpleSlackMsg(msg); |
|
| 875 |
+ } |
|
| 854 | 876 |
|
| 855 | 877 |
} |
| 856 | 878 |
|
... | ... | @@ -932,9 +954,31 @@ |
| 932 | 954 |
|
| 933 | 955 |
mberManageService.insertCmpUsrHst(mberManageVO); |
| 934 | 956 |
|
| 935 |
- //Slack 알림 처리 |
|
| 936 |
- String msg = "[문자온] 기업회원 정보변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
|
| 937 |
- mjonCommon.sendSimpleSlackMsg(msg); |
|
| 957 |
+ // 법인폰 알람여부 체크 |
|
| 958 |
+ JoinSettingVO joinSettingVO = new JoinSettingVO(); |
|
| 959 |
+ joinSettingVO = egovSiteManagerService.selectAdminNotiDetail(); |
|
| 960 |
+ // 이메일 체크 |
|
| 961 |
+ if (joinSettingVO != null && joinSettingVO.getEmailNoti().equals("Y")) {
|
|
| 962 |
+ String emailTitle = "회원관리 > 기업회원 정보변경 요청"; |
|
| 963 |
+ |
|
| 964 |
+ // CS관리자 이메일 알림전송 |
|
| 965 |
+ mjonNoticeSendUtil.csAdminEmailNoticeSend(mberManageVO.getMberNm(), mberManageVO.getMberId(), emailTitle); |
|
| 966 |
+ } |
|
| 967 |
+ |
|
| 968 |
+ // SMS 체크 |
|
| 969 |
+ if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
|
| 970 |
+ String smsTitle = "기업회원 정보변경 요청"; |
|
| 971 |
+ |
|
| 972 |
+ // CS관리자 SMS 알림전송 |
|
| 973 |
+ mjonNoticeSendUtil.csAdminSmsNoticeSend(mberManageVO.getMberId(), smsTitle); |
|
| 974 |
+ } |
|
| 975 |
+ |
|
| 976 |
+ // SLACK 체크 |
|
| 977 |
+ if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
|
| 978 |
+ // Slack 메시지 발송(단순본문) |
|
| 979 |
+ String msg = "[문자온] 기업회원 정보변경 요청 - " + mberManageVO.getMberNm() +"("+ mberManageVO.getMberId() + ")";
|
|
| 980 |
+ mjonCommon.sendSimpleSlackMsg(msg); |
|
| 981 |
+ } |
|
| 938 | 982 |
|
| 939 | 983 |
modelAndView.addObject("result", "success");
|
| 940 | 984 |
|
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?