Merge branch 'rosewiper'

This commit is contained in:
rosewiper 2023-10-19 11:12:41 +09:00
commit 97bf13b45d

View File

@ -3760,6 +3760,22 @@ public class MjonMsgDataController {
}else {// 그외 단문 }else {// 그외 단문
mjonMsgVO.setMsgType("4"); mjonMsgVO.setMsgType("4");
} }
if(bytes < 1) {//단문, 장문의 경우 문자 내용이 없는 경우 발송 안되도록 처리
System.out.println("===================================fncSendMsg======================================");
System.out.println("+++++++++++++++++++++++++++++++++++++++++++ 입력 문자 내용이 없습니다. ::: ");
System.out.println("===================================fncSendMsg======================================");
modelAndView.addObject("message", "입력 문자 내용을 확인할 수 없습니다. 문자 내용을 입력해 주세요.");
modelAndView.addObject("result", "fail");
modelAndView.addObject("resultSts", "0");
modelAndView.addObject("resultBlockSts", "0");
return modelAndView;
}
}else { //최대 문자길이 초과시 }else { //최대 문자길이 초과시
modelAndView.addObject("message", "문자 치환 후 전송 문자 길이를 초과하였습니다."); modelAndView.addObject("message", "문자 치환 후 전송 문자 길이를 초과하였습니다.");