시군구 파라미터 수정

main
이범준 11 months ago
parent abc1ecc775
commit db29057f63

@ -45,7 +45,7 @@ public class MessageInterfaceController extends AbstractController {
public final static String[] m_b_d = {
"{\"msg\":{\"body\":{\"description\":\"",
"\"},},}"
"\"},\"copyAllowed\":true,\"header\":\"0\"}}"
};
public final static String[] t = {
"{\"text\":\"",
@ -88,11 +88,9 @@ public class MessageInterfaceController extends AbstractController {
taskSeCd = "";
}
String systemSgg = System.getProperty("sgg");
//누리2모듈 관리 아이디 찾기
String nuri2Id = "";
MessageQuery messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("01").setMsgPrps(msgPrps)
MessageQuery messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("01").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd);
DataObject stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
@ -101,7 +99,7 @@ public class MessageInterfaceController extends AbstractController {
//메시지서비스 선순위 정책 찾기
String priorOrderPolicy = "";
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("05").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("05").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd);
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
@ -110,7 +108,7 @@ public class MessageInterfaceController extends AbstractController {
//발신전화번호 찾기
String callbackNo = "";
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("04").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("04").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd);
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
@ -124,7 +122,7 @@ public class MessageInterfaceController extends AbstractController {
//XMS템플릿 찾기
String xmsTemplate = "";
String xmsTitle = "";
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("02").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("02").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd).setSvcType("XMS");
stng = messageMapper.selectStng(messageQuery);
if(stng == null || stng.isEmpty()) {
@ -141,14 +139,14 @@ public class MessageInterfaceController extends AbstractController {
String kkoSenderKey = "";
String kkoTemplateKey = "";
String kkoTemplate = "";
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("03").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("03").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd).setSvcType("ALT");
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
kkoSenderKey = stng.string("SVC_USER_ID");
if(!kkoSenderKey.equals("")) {
//알림톡템플릿찾기
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("02").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("02").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd).setSvcType("ALT");
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
@ -161,14 +159,14 @@ public class MessageInterfaceController extends AbstractController {
//RCS브랜드아이디 찾기
String rcsBrandKey = "";
String rcsTemplate = "";
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("03").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("03").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd).setSvcType("RCS");
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {
rcsBrandKey = stng.string("SVC_USER_ID");
if(!EgovStringUtil.null2void(rcsBrandKey).equals("")) {
//RCS템플릿찾기
messageQuery = new MessageQuery().setSggCd(systemSgg).setStngInfoType("02").setMsgPrps(msgPrps)
messageQuery = new MessageQuery().setSggCd(sggCd).setStngInfoType("02").setMsgPrps(msgPrps)
.setTaskSeCd(taskSeCd).setSvcType("RCS");
stng = messageMapper.selectStng(messageQuery);
if(stng != null && !stng.isEmpty()) {

Loading…
Cancel
Save