--- src/main/java/itn/com/cmm/util/MsgSendUtils.java
+++ src/main/java/itn/com/cmm/util/MsgSendUtils.java
... | ... | @@ -267,12 +267,19 @@ |
| 267 | 267 |
for (Map.Entry<String, Function<MjonMsgSendVO, String>> entry : placeholders.entrySet()) {
|
| 268 | 268 |
String placeholder = entry.getKey(); |
| 269 | 269 |
String value = entry.getValue().apply(sendVO); |
| 270 |
- if (smsTxtTemp.contains(placeholder)) {
|
|
| 270 |
+ System.out.println("");
|
|
| 271 |
+// log.info(" + smsTxtTemp [{}]", smsTxtTemp);
|
|
| 272 |
+// log.info(" + placeholder [{}]", placeholder);
|
|
| 273 |
+// log.info(" + value [{}]", value);
|
|
| 274 |
+// log.info(" + smsTxtTemp.contains(placeholder) [{}]", smsTxtTemp.contains(placeholder));
|
|
| 275 |
+ if (smsTxt.contains(placeholder)) {
|
|
| 271 | 276 |
if (StringUtils.isEmpty(value)) {
|
| 272 | 277 |
statusResponseSet(statusResponse, HttpStatus.BAD_REQUEST, "치환 문구중 " + placeholder + " 데이터가 없습니다."); |
| 273 | 278 |
return false; |
| 274 | 279 |
} |
| 275 |
- smsTxt = smsTxtTemp.replace(placeholder, value); |
|
| 280 |
+ smsTxt = smsTxt.replace(placeholder, value); |
|
| 281 |
+// log.info(" + smsTxt [{}]", smsTxt);
|
|
| 282 |
+ |
|
| 276 | 283 |
} |
| 277 | 284 |
} |
| 278 | 285 |
} |
... | ... | @@ -367,21 +374,6 @@ |
| 367 | 374 |
// 예약 여부가 N일 경우에도 기본 예약 시간 설정 |
| 368 | 375 |
sendVO.setReqDate(sdf.format(calendar.getTime())); |
| 369 | 376 |
} |
| 370 |
- |
|
| 371 |
- |
|
| 372 |
- |
|
| 373 |
- |
|
| 374 |
- |
|
| 375 |
- |
|
| 376 |
- |
|
| 377 |
- |
|
| 378 |
- |
|
| 379 |
- |
|
| 380 |
- |
|
| 381 |
- |
|
| 382 |
- |
|
| 383 |
- |
|
| 384 |
- |
|
| 385 | 377 |
|
| 386 | 378 |
// 전송사 코드 셋팅 |
| 387 | 379 |
String agentCode = "00".equals(mjonMsgVO.getAgentCode()) |
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
... | ... | @@ -4063,7 +4063,7 @@ |
| 4063 | 4063 |
placeholder="번호를 입력하세요" |
| 4064 | 4064 |
onfocus="this.placeholder=''" |
| 4065 | 4065 |
onblur="this.placeholder='번호를 입력하세요'" |
| 4066 |
- style="width:340px;">01083584250</textarea> |
|
| 4066 |
+ style="width:340px;"></textarea> |
|
| 4067 | 4067 |
<!-- <button type="button" class="btnType btnType6">번호추가</button> --> |
| 4068 | 4068 |
<div class="btn_popup_wrap"> |
| 4069 | 4069 |
<button type="button" class="btnType btnType6 btn_add_number addCallToF">번호추가<i class="qmMark"></i></button> |
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
... | ... | @@ -1121,7 +1121,6 @@ |
| 1121 | 1121 |
} |
| 1122 | 1122 |
} |
| 1123 | 1123 |
|
| 1124 |
- return false; |
|
| 1125 | 1124 |
console.log(' !!! imgFilePath : ', imgFilePath);
|
| 1126 | 1125 |
|
| 1127 | 1126 |
// img 처리 영역 |
... | ... | @@ -1286,7 +1285,7 @@ |
| 1286 | 1285 |
formData["mjonMsgSendVOList"] = $selectedData; |
| 1287 | 1286 |
|
| 1288 | 1287 |
// JSON 데이터 확인 |
| 1289 |
- console.log("최종 formData:", JSON.stringify(formData));
|
|
| 1288 |
+// console.log("최종 formData:", JSON.stringify(formData));
|
|
| 1290 | 1289 |
|
| 1291 | 1290 |
|
| 1292 | 1291 |
var url = "/web/mjon/msgdata/sendMsgDataAjax_advc.do"; |
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?