|
|
|
|
@ -156,13 +156,15 @@ public class MessageInterfaceController extends AbstractController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//RCS브랜드아이디 찾기
|
|
|
|
|
//RCS브랜드아이디 및 RCS브랜드키 찾기
|
|
|
|
|
String rcsBrandId = "";
|
|
|
|
|
String rcsBrandKey = "";
|
|
|
|
|
String rcsTemplate = "";
|
|
|
|
|
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("03").setMsgPrps(msgPrps)
|
|
|
|
|
.setTaskSeCd(taskSeCd).setSvcType("RCS");
|
|
|
|
|
stng = messageMapper.selectStng(messageQuery);
|
|
|
|
|
if(stng != null && !stng.isEmpty()) {
|
|
|
|
|
rcsBrandId = stng.string("SVC_USER_PREV_ID");
|
|
|
|
|
rcsBrandKey = stng.string("SVC_USER_ID");
|
|
|
|
|
if(!EgovStringUtil.null2void(rcsBrandKey).equals("")) {
|
|
|
|
|
//RCS템플릿찾기
|
|
|
|
|
@ -399,6 +401,7 @@ public class MessageInterfaceController extends AbstractController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(able_rcs) {
|
|
|
|
|
messageEntity.setRcsBrandId(rcsBrandId);
|
|
|
|
|
messageEntity.setRcsBrandKey(rcsBrandKey);
|
|
|
|
|
messageEntity.setRcsMessageBaseId(rcsBaseId);
|
|
|
|
|
messageEntity.setRcsJson(rcsJsonComplete);
|
|
|
|
|
|