알림톡 목록 알림톡스미싱의심 기능 추가
@362e580c601ea84891815c8f8223b1af6a85aa75
--- src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
+++ src/main/java/itn/let/mjo/msg/web/MjonMsgController.java
... | ... | @@ -275,6 +275,29 @@ |
| 275 | 275 |
return redirectUrlMaker.getRedirectUrl(); |
| 276 | 276 |
} |
| 277 | 277 |
|
| 278 |
+ /** |
|
| 279 |
+ * 알림톡 리스트 스미싱 on off 처리 |
|
| 280 |
+ * @param searchVO |
|
| 281 |
+ * @param model |
|
| 282 |
+ * @return "/uss/ion/msg/SendMsgTestList.do" |
|
| 283 |
+ * @throws Exception |
|
| 284 |
+ */ |
|
| 285 |
+ @RequestMapping("/uss/ion/msg/MsgUsersAtSmishingUpdate.do")
|
|
| 286 |
+ public String msgUsersAtSmishingUpdate(@RequestParam("checkedIdForDel") String checkedIdForUpt, @ModelAttribute("userManageVO") UserManageVO userManageVO, RedirectAttributes redirectAttributes, Model model) throws Exception {
|
|
| 287 |
+ |
|
| 288 |
+ // 미인증 사용자에 대한 보안처리 |
|
| 289 |
+ Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); |
|
| 290 |
+ if(!isAuthenticated) {
|
|
| 291 |
+ model.addAttribute("message", egovMessageSource.getMessage("fail.common.login"));
|
|
| 292 |
+ return "uat/uia/EgovLoginUsr"; |
|
| 293 |
+ } |
|
| 294 |
+ |
|
| 295 |
+ userManageService.updateUserAtSmishingYn(userManageVO, checkedIdForUpt); |
|
| 296 |
+ |
|
| 297 |
+ //redirectAttributes.addFlashAttribute("message", "알림톡 스미싱의심 여부가 정상적으로 수정되었습니다.");
|
|
| 298 |
+ RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/kakaoat/SendKakaoATList.do?pageIndex="+userManageVO.getPageIndex());
|
|
| 299 |
+ return redirectUrlMaker.getRedirectUrl(); |
|
| 300 |
+ } |
|
| 278 | 301 |
|
| 279 | 302 |
/** |
| 280 | 303 |
* 문자전송 테스트 리스트 |
--- src/main/resources/egovframework/sqlmap/let/kakao/MjonKakaoATData_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/kakao/MjonKakaoATData_SQL_mysql.xml
... | ... | @@ -347,6 +347,7 @@ |
| 347 | 347 |
M2.msgNoticetalkTmpKey , |
| 348 | 348 |
M2.yellowId , |
| 349 | 349 |
M2.userNm , |
| 350 |
+ M2.atSmishingYn , |
|
| 350 | 351 |
( SELECT COUNT(0) |
| 351 | 352 |
FROM MJ_MSG_DATA C |
| 352 | 353 |
WHERE C.DEL_FLAG = 'N' |
... | ... | @@ -450,6 +451,7 @@ |
| 450 | 451 |
MSG_NOTICETALK_TMP_KEY AS msgNoticetalkTmpKey , |
| 451 | 452 |
MKPI.YELLOW_ID AS yellowId , |
| 452 | 453 |
LTM.MBER_NM AS userNm , |
| 454 |
+ LTM.AT_SMISHING_YN AS atSmishingYn, |
|
| 453 | 455 |
BIZ_UMID AS bizUmid, |
| 454 | 456 |
BL.CALL_STATUS AS callStatus, |
| 455 | 457 |
M.BIZ_KAKAO_RESEND_YN AS bizKakaoResendYn |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp
... | ... | @@ -2574,6 +2574,7 @@ |
| 2574 | 2574 |
</select> |
| 2575 | 2575 |
</td> |
| 2576 | 2576 |
</tr> |
| 2577 |
+ <%-- |
|
| 2577 | 2578 |
<tr> |
| 2578 | 2579 |
<th>스미싱 의심(카톡)</th> |
| 2579 | 2580 |
<td> |
... | ... | @@ -2585,7 +2586,8 @@ |
| 2585 | 2586 |
<th></th> |
| 2586 | 2587 |
<td> |
| 2587 | 2588 |
</td> |
| 2588 |
- </tr> |
|
| 2589 |
+ </tr> |
|
| 2590 |
+ --%> |
|
| 2589 | 2591 |
<tr> |
| 2590 | 2592 |
<th>전용 전송사</th> |
| 2591 | 2593 |
<td> |
... | ... | @@ -3020,6 +3022,7 @@ |
| 3020 | 3022 |
</select> |
| 3021 | 3023 |
</td> |
| 3022 | 3024 |
</tr> |
| 3025 |
+ <%-- |
|
| 3023 | 3026 |
<tr> |
| 3024 | 3027 |
<th>스미싱 의심(카톡)</th> |
| 3025 | 3028 |
<td> |
... | ... | @@ -3031,7 +3034,8 @@ |
| 3031 | 3034 |
<th></th> |
| 3032 | 3035 |
<td> |
| 3033 | 3036 |
</td> |
| 3034 |
- </tr> |
|
| 3037 |
+ </tr> |
|
| 3038 |
+ --%> |
|
| 3035 | 3039 |
<tr> |
| 3036 | 3040 |
<th>전용 전송사</th> |
| 3037 | 3041 |
<td> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/kakaoat/SendKakaoATList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/kakaoat/SendKakaoATList.jsp
... | ... | @@ -295,8 +295,8 @@ |
| 295 | 295 |
|
| 296 | 296 |
} |
| 297 | 297 |
|
| 298 |
-//스미싱의심 온/오프 |
|
| 299 |
-function fnSmishingUpdate(flag) {
|
|
| 298 |
+//알림톡 스미싱의심 온/오프 |
|
| 299 |
+function fnAtSmishingUpdate(flag) {
|
|
| 300 | 300 |
if($("input:checkbox[name='checkField']").is(":checked")==false){
|
| 301 | 301 |
alert("선택된 항목이 없습니다.");
|
| 302 | 302 |
return; |
... | ... | @@ -322,15 +322,15 @@ |
| 322 | 322 |
if(checkedIds.length > 0) {
|
| 323 | 323 |
var msg = ""; |
| 324 | 324 |
if(flag == 'on') {
|
| 325 |
- document.listForm.smishingYn.value='Y'; |
|
| 326 |
- msg = "선택하신 사용자의 스미싱의심을 On 하시겠습니까?"; |
|
| 325 |
+ document.listForm.atSmishingYn.value='Y'; |
|
| 326 |
+ msg = "선택하신 사용자의 알림톡 스미싱의심을 On 하시겠습니까?"; |
|
| 327 | 327 |
} else {
|
| 328 |
- document.listForm.smishingYn.value='N'; |
|
| 329 |
- msg = "선택하신 사용자의 스미싱의심을 Off 하시겠습니까?"; |
|
| 328 |
+ document.listForm.atSmishingYn.value='N'; |
|
| 329 |
+ msg = "선택하신 사용자의 알림톡 스미싱의심을 Off 하시겠습니까?"; |
|
| 330 | 330 |
} |
| 331 | 331 |
if(confirm(msg)){
|
| 332 | 332 |
document.listForm.checkedIdForDel.value=checkedIds; |
| 333 |
- document.listForm.action = "<c:url value='/uss/ion/msg/MsgUsersSmishingUpdate.do'/>"; |
|
| 333 |
+ document.listForm.action = "<c:url value='/uss/ion/msg/MsgUsersAtSmishingUpdate.do'/>"; |
|
| 334 | 334 |
document.listForm.submit(); |
| 335 | 335 |
} |
| 336 | 336 |
} |
... | ... | @@ -369,7 +369,7 @@ |
| 369 | 369 |
<input type="hidden" name="ntceEndde" id="ntceEndde" value=""> |
| 370 | 370 |
<input type="hidden" name="adminSmsNoticeYn" value=""/> |
| 371 | 371 |
<input name="checkedIdForDel" type="hidden" /> |
| 372 |
- <input type="hidden" name="smishingYn" value=""/> |
|
| 372 |
+ <input type="hidden" name="atSmishingYn" value=""/> |
|
| 373 | 373 |
|
| 374 | 374 |
<div class="contWrap"> |
| 375 | 375 |
<div class="pageTitle"> |
... | ... | @@ -506,7 +506,7 @@ |
| 506 | 506 |
<c:out value="${result.yellowId}"/>
|
| 507 | 507 |
</td> |
| 508 | 508 |
|
| 509 |
- <%-- <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>>
|
|
| 509 |
+ <%-- <td onclick="fn_detail_list('${result.msgGroupId}'); return false;" <c:if test="${result.atSmishingYn eq 'Y'}">class="atSmishingYn" style="cursor:pointer;"</c:if><c:if test="${result.atSmishingYn eq 'N'}">style="cursor:pointer;"</c:if>>
|
|
| 510 | 510 |
<c:out value="${result.callFrom}"/>
|
| 511 | 511 |
</td> --%> |
| 512 | 512 |
|
... | ... | @@ -552,7 +552,7 @@ |
| 552 | 552 |
<c:out value="${result.msgTypeName}"/>
|
| 553 | 553 |
</td> |
| 554 | 554 |
<%-- <td><c:out value="${result.conectMthdTxt}"/></td> --%>
|
| 555 |
- <%-- <td <c:if test="${result.smishingYn eq 'Y'}">class="smishing"</c:if>>
|
|
| 555 |
+ <%-- <td <c:if test="${result.atSmishingYn eq 'Y'}">class="atSmishingYn"</c:if>>
|
|
| 556 | 556 |
<c:out value="${result.agentCodeTxt}"/>
|
| 557 | 557 |
</td> --%> |
| 558 | 558 |
<%-- <td><c:out value="${result.rsltNet}"/></td> --%>
|
... | ... | @@ -565,10 +565,10 @@ |
| 565 | 565 |
</table> |
| 566 | 566 |
</div> |
| 567 | 567 |
<div class="btnWrap" style="margin-bottom: 15px;"> |
| 568 |
- <!-- <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnSmsNotiUpdate('on'); return false;" value="법인폰 ON">
|
|
| 569 |
- <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnSmsNotiUpdate('off'); return false;" value="법인폰 OFF">
|
|
| 570 |
- <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnSmishingUpdate('on'); return false;" value="스미싱 ON">
|
|
| 571 |
- <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnSmishingUpdate('off'); return false;" value="스미싱 OFF"> -->
|
|
| 568 |
+ <!-- |
|
| 569 |
+ <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnAtSmishingUpdate('on'); return false;" value="알림톡 스미싱 ON">
|
|
| 570 |
+ <input type="button" class="btnType2" style="padding:5px 10px" onclick="fnAtSmishingUpdate('off'); return false;" value="알림톡 스미싱 OFF">
|
|
| 571 |
+ --> |
|
| 572 | 572 |
</div> |
| 573 | 573 |
|
| 574 | 574 |
<!-- 페이지 네비게이션 시작 --> |
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?