(긴급) 2. 스미싱 미처리된 경우, 벌크 문자가 한꺼번에 안나가고 30분에 1개씩 나가는 문제
(긴급) 3. 벌크 예약문자에 대하여 스미싱 승인을 했음에도, 정한 시간부터 30분에 1개씩 나가는 문제 완료
@0decb976c5c09c8a989e4da31a7fe723c8f9ccfc
--- src/main/java/itn/com/cmm/util/MsgSendUtils.java
+++ src/main/java/itn/com/cmm/util/MsgSendUtils.java
... | ... | @@ -244,6 +244,7 @@ |
| 244 | 244 |
|
| 245 | 245 |
boolean hasPerformedSpamCheck = false; // 치환 문자가 없는 경우, 스팸 체크가 한 번만 수행되도록 제어 |
| 246 | 246 |
boolean hasPerformedMsgType = false; // 치환 문자가 없는 경우, 스팸 체크가 한 번만 수행되도록 제어 |
| 247 |
+ boolean hasPerformedDelayYn = false; // 치환 문자가 없는 경우, 스팸 체크가 한 번만 수행되도록 제어 |
|
| 247 | 248 |
|
| 248 | 249 |
String msgKind = mjonMsgVO.getMsgKind(); |
| 249 | 250 |
String smsTxtTemp = mjonMsgVO.getSmsTxt(); |
... | ... | @@ -251,6 +252,7 @@ |
| 251 | 252 |
Boolean replaceYN = getReplaceYN(smsTxtTemp); |
| 252 | 253 |
|
| 253 | 254 |
String msgTypeResult = null; |
| 255 |
+ |
|
| 254 | 256 |
|
| 255 | 257 |
for (MjonMsgSendVO sendVO : mjonMsgSendListVO) {
|
| 256 | 258 |
|
... | ... | @@ -349,16 +351,11 @@ |
| 349 | 351 |
|
| 350 | 352 |
|
| 351 | 353 |
|
| 352 |
- |
|
| 353 |
- |
|
| 354 |
- |
|
| 355 |
- |
|
| 356 |
- |
|
| 357 |
- |
|
| 358 |
- |
|
| 359 | 354 |
// 지연 여부 처리 |
| 360 |
- if ("Y".equalsIgnoreCase(mjonMsgVO.getDelayYn())) {
|
|
| 355 |
+ if ("Y".equalsIgnoreCase(mjonMsgVO.getDelayYn())
|
|
| 356 |
+ && !hasPerformedDelayYn) {
|
|
| 361 | 357 |
calendar.add(Calendar.MINUTE, 30); // 모든 시간을 30분 뒤로 미룸 |
| 358 |
+ hasPerformedDelayYn = true; |
|
| 362 | 359 |
} |
| 363 | 360 |
|
| 364 | 361 |
// 예약 여부 확인 |
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?