5114 그림문자일때 텍스트없으면 문자에 null 들어가는 오류 수정완료

This commit is contained in:
hehihoho3@gmail.com 2025-04-16 15:30:29 +09:00
parent 65c2fb1783
commit b08aeadb76

View File

@ -3980,6 +3980,7 @@ public class MjonMsgDataServiceImpl extends EgovAbstractServiceImpl implements M
}
String smsTxt = mjonMsgVO.getSmsTxtArea();
smsTxt = StringUtils.isEmpty(smsTxt) ? "" : smsTxt;
// 광고문자면 처리 - 광고 A
if ("A".equals(mjonMsgVO.getMsgKind())) {
smsTxt = "(광고)" + smsTxt + "\n" + "무료거부 0808800858";
@ -3987,7 +3988,7 @@ public class MjonMsgDataServiceImpl extends EgovAbstractServiceImpl implements M
mjonMsgVO.setSmsTxt(smsTxt);
// log.debug(" :: smsTxt :: [{}]", smsTxt);
log.debug(" :: smsTxt :: [{}]", smsTxt);
StatusResponse statusResponse = new StatusResponse();