260803_04_ENH: 문자, 이메일 발송시 타이틀 치환문자 포함하도록 수정
This commit is contained in:
@@ -36,6 +36,7 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.apache.commons.collections4.SetUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@@ -253,7 +254,10 @@ public class MessageService {
|
||||
}
|
||||
|
||||
NotiHubTemplateDto template = notiHubApiClient.getTemplate(tmplatIdx);
|
||||
Set<String> templateParams = extractTemplateParams(template.getTmplatBody());
|
||||
Set<String> titleParams = extractTemplateParams(template.getTmplatTitle());
|
||||
Set<String> bodyParams = extractTemplateParams(template.getTmplatBody());
|
||||
Set<String> templateParams = SetUtils.union(titleParams, bodyParams);
|
||||
|
||||
Map<Integer, ListHeaderDto> headerById = listHeaderService.getHeader(prjctIdx).stream()
|
||||
.collect(Collectors.toMap(
|
||||
ListHeaderDto::getListHderId,
|
||||
|
||||
Reference in New Issue
Block a user