첫결제 스미싱의심 지정시 얼럿 한번만 처리
This commit is contained in:
parent
1cea012c68
commit
cee6094218
@ -946,7 +946,7 @@ public class MjonPayV2Controller {
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO.setSmishingYn("Y");
|
||||
userManageVO.setMberId(Userid);
|
||||
userManageService.updateOneUserSmishingYn(userManageVO);
|
||||
userManageService.updateOneUserSmishingYnNotAlert(userManageVO);
|
||||
}
|
||||
else {
|
||||
// 대상 : 휴대폰결제, 즉시이체, 전용계좌
|
||||
@ -977,7 +977,7 @@ public class MjonPayV2Controller {
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO.setSmishingYn("Y");
|
||||
userManageVO.setMberId(Userid);
|
||||
userManageService.updateOneUserSmishingYn(userManageVO);
|
||||
userManageService.updateOneUserSmishingYnNotAlert(userManageVO);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1376,7 +1376,7 @@ public class MjonPayV2Controller {
|
||||
UserManageVO userManageVO = new UserManageVO();
|
||||
userManageVO.setSmishingYn("Y");
|
||||
userManageVO.setMberId(Userid);
|
||||
userManageService.updateOneUserSmishingYn(userManageVO);
|
||||
userManageService.updateOneUserSmishingYnNotAlert(userManageVO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -185,6 +185,9 @@ public interface EgovUserManageService {
|
||||
// 스미싱의심 온/오프 - 상세에서 단일로
|
||||
public void updateOneUserSmishingYn(UserManageVO userManageVO) throws Exception;
|
||||
|
||||
// 스미싱의심 온/오프 - 상세에서 단일로 => 슬랙, 문자 알림 No
|
||||
public void updateOneUserSmishingYnNotAlert(UserManageVO userManageVO) throws Exception;
|
||||
|
||||
// 알림톡 스미싱의심 온/오프
|
||||
public void updateUserAtSmishingYn(UserManageVO userManageVO, String checkedIdForUpt) throws Exception;
|
||||
|
||||
|
||||
@ -539,32 +539,37 @@ public class EgovUserManageServiceImpl extends EgovAbstractServiceImpl implement
|
||||
|
||||
// 스미싱의심 온/오프 단일
|
||||
public void updateOneUserSmishingYn(UserManageVO userManageVO) throws Exception {
|
||||
// 업데이트
|
||||
userManageDAO.updateUserSmishingYn(userManageVO);
|
||||
|
||||
// 법인폰 알림문자 발송
|
||||
UserManageVO rtnVO = new UserManageVO();
|
||||
rtnVO = selectSmishingYnUserInfo(userManageVO);
|
||||
if (rtnVO.getSmishingYn().equals("Y")) {
|
||||
// 법인폰 알람여부 체크
|
||||
JoinSettingVO joinSettingVO = new JoinSettingVO();
|
||||
joinSettingVO = egovSiteManagerService.selectAdminNotiDetail();
|
||||
// SMS 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
||||
// 스미싱의심 SMS 알림전송
|
||||
mjonNoticeSendUtil.smishingSmsNoticeSend("스미싱 의심!", rtnVO.getMberId(), rtnVO.getMberNm());
|
||||
}
|
||||
|
||||
// SLACK 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
||||
// Slack 메시지 발송(단순본문)
|
||||
String msg = "[문자온] 스미싱 의심! - " + rtnVO.getMberNm() +"("+ rtnVO.getMberId() + ")";
|
||||
mjonCommon.sendSimpleSlackMsg(msg);
|
||||
}
|
||||
}
|
||||
// 업데이트
|
||||
userManageDAO.updateUserSmishingYn(userManageVO);
|
||||
|
||||
// 법인폰 알림문자 발송
|
||||
UserManageVO rtnVO = new UserManageVO();
|
||||
rtnVO = selectSmishingYnUserInfo(userManageVO);
|
||||
if (rtnVO.getSmishingYn().equals("Y")) {
|
||||
// 법인폰 알람여부 체크
|
||||
JoinSettingVO joinSettingVO = new JoinSettingVO();
|
||||
joinSettingVO = egovSiteManagerService.selectAdminNotiDetail();
|
||||
// SMS 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSmsNoti().equals("Y")) {
|
||||
// 스미싱의심 SMS 알림전송
|
||||
mjonNoticeSendUtil.smishingSmsNoticeSend("스미싱 의심!", rtnVO.getMberId(), rtnVO.getMberNm());
|
||||
}
|
||||
|
||||
// SLACK 체크
|
||||
if (joinSettingVO != null && joinSettingVO.getSlackNoti().equals("Y")) {
|
||||
// Slack 메시지 발송(단순본문)
|
||||
String msg = "[문자온] 스미싱 의심! - " + rtnVO.getMberNm() +"("+ rtnVO.getMberId() + ")";
|
||||
mjonCommon.sendSimpleSlackMsg(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 스미싱의심 온/오프 단일 => 슬랙, 문자 알림 No
|
||||
public void updateOneUserSmishingYnNotAlert(UserManageVO userManageVO) throws Exception {
|
||||
// 업데이트
|
||||
userManageDAO.updateUserSmishingYn(userManageVO);
|
||||
}
|
||||
|
||||
// 알림톡 스미싱의심 온/오프
|
||||
public void updateUserAtSmishingYn(UserManageVO userManageVO, String checkedIdForUpt) throws Exception {
|
||||
if(!"".equals(checkedIdForUpt)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user