문자전송내역 법인폰 온처리 버튼 추가후 주석처리
This commit is contained in:
parent
f143170704
commit
83f8f681f6
@ -3382,6 +3382,37 @@ public class EgovUserManageController {
|
|||||||
return redirectUrlMaker.getRedirectUrl();
|
return redirectUrlMaker.getRedirectUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 법인폰알림 업데이트
|
||||||
|
@RequestMapping(value = "/uss/umt/user/smsNoticeUpdateAjax.do")
|
||||||
|
public ModelAndView smsNoticeUpdateAjax(
|
||||||
|
@ModelAttribute("userManageVO") UserManageVO userManageVO) throws Exception {
|
||||||
|
|
||||||
|
ModelAndView modelAndView = new ModelAndView();
|
||||||
|
modelAndView.setViewName("jsonView");
|
||||||
|
|
||||||
|
boolean isSuccess = true;
|
||||||
|
String msg = "";
|
||||||
|
|
||||||
|
// 로그인VO에서 사용자 정보 가져오기
|
||||||
|
LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
|
||||||
|
String frstRegisterId = loginVO == null ? "" : loginVO.getId();
|
||||||
|
|
||||||
|
try{
|
||||||
|
|
||||||
|
// 법인폰알림 업데이트
|
||||||
|
userManageService.updateUserAdminSmsNoticeYn(userManageVO, "");
|
||||||
|
}
|
||||||
|
catch(Exception e) {
|
||||||
|
isSuccess = false;
|
||||||
|
msg = e.getMessage();
|
||||||
|
}
|
||||||
|
|
||||||
|
modelAndView.addObject("isSuccess", isSuccess);
|
||||||
|
modelAndView.addObject("msg", msg);
|
||||||
|
|
||||||
|
return modelAndView;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 사용자의 스미싱의심 여부를 수정한 후 목록조회 화면으로 이동한다.
|
* 사용자의 스미싱의심 여부를 수정한 후 목록조회 화면으로 이동한다.
|
||||||
* @param checkedIdForDel update 아이디 정보
|
* @param checkedIdForDel update 아이디 정보
|
||||||
|
|||||||
@ -190,6 +190,30 @@ function fnSmsNotiUpdate(flag) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 법인폰알림 업데이트
|
||||||
|
function setSmsNoticeUpdate(mberId, adminSmsNoticeYn) {
|
||||||
|
if(confirm("법인폰 알림을 Off 하시겠습니까?")) {
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: "/uss/umt/user/smsNoticeUpdateAjax.do",
|
||||||
|
data: {"mberId" : mberId, "adminSmsNoticeYn" : adminSmsNoticeYn},
|
||||||
|
dataType:'json',
|
||||||
|
async: false,
|
||||||
|
success: function (data) {
|
||||||
|
if (data.isSuccess) {
|
||||||
|
linkPage(document.listForm.pageIndex.value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
alert("Msg : " + data.msg);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function (e) {
|
||||||
|
alert("ERROR : " + JSON.stringify(e));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 안내 문자 발송
|
// 안내 문자 발송
|
||||||
function fn_sendMsgData(msgGroupId, callTo, userId) {
|
function fn_sendMsgData(msgGroupId, callTo, userId) {
|
||||||
$('#callTo').val(callTo);
|
$('#callTo').val(callTo);
|
||||||
@ -510,11 +534,13 @@ function fnSmishingUpdate(flag) {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
<%--
|
||||||
|
<td <c:if test="${result.smishingYn eq 'Y'}">class="smishing"</c:if><c:if test="${result.smishingYn eq 'N'}"></c:if>>
|
||||||
|
--%>
|
||||||
<td onclick="fn_detail_list('${result.msgGroupId}'); return false;" <c:if test="${result.smishingYn eq 'Y'}">class="smishing" style="cursor:pointer;"</c:if><c:if test="${result.smishingYn eq 'N'}">style="cursor:pointer;"</c:if>>
|
<td onclick="fn_detail_list('${result.msgGroupId}'); return false;" <c:if test="${result.smishingYn eq 'Y'}">class="smishing" style="cursor:pointer;"</c:if><c:if test="${result.smishingYn eq 'N'}">style="cursor:pointer;"</c:if>>
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${result.adminSmsNoticeYn eq 'Y'}">
|
<c:when test="${result.adminSmsNoticeYn eq 'Y'}">
|
||||||
온
|
온<%--<button class="btnType btnType20" onclick="setSmsNoticeUpdate('<c:out value="${result.userId}"/>', 'N'); return false;">온</button>--%>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${result.adminSmsNoticeYn eq 'N'}">
|
<c:when test="${result.adminSmsNoticeYn eq 'N'}">
|
||||||
오프
|
오프
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user