문자전송 컨트롤러에서 MSG_TYPE 다시계산 로직 추가
This commit is contained in:
parent
3383806edb
commit
1f4e865a74
@ -2164,6 +2164,21 @@ public class MjonMsgCampainDataController {
|
|||||||
|
|
||||||
System.out.println("mjonMsgVO.getMsgType2() ::: "+mjonMsgVO.getMsgType());
|
System.out.println("mjonMsgVO.getMsgType2() ::: "+mjonMsgVO.getMsgType());
|
||||||
|
|
||||||
|
// MSG_TYPE 다시계산
|
||||||
|
if(mjonMsgVO.getFileName1() != null) {
|
||||||
|
mjonMsgVO.setMsgType("6");
|
||||||
|
}else {
|
||||||
|
if(FrBytes < 2000) {
|
||||||
|
if(FrBytes > 90) {// 90Byte 초과시 장문
|
||||||
|
mjonMsgVO.setMsgType("6");
|
||||||
|
}else {// 그외 단문
|
||||||
|
mjonMsgVO.setMsgType("4");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
System.out.println("mjonMsgVO.getMsgType3() ::: "+mjonMsgVO.getMsgType());
|
||||||
|
|
||||||
//각 문자 종류별 단가 셋팅해주기
|
//각 문자 종류별 단가 셋팅해주기
|
||||||
float tmpEachPrice = 0;
|
float tmpEachPrice = 0;
|
||||||
if(mjonMsgVO.getMsgType().equals("4")) {
|
if(mjonMsgVO.getMsgType().equals("4")) {
|
||||||
|
|||||||
@ -2316,6 +2316,21 @@ public class MjonMsgDataController {
|
|||||||
|
|
||||||
System.out.println("mjonMsgVO.getMsgType2() ::: "+mjonMsgVO.getMsgType());
|
System.out.println("mjonMsgVO.getMsgType2() ::: "+mjonMsgVO.getMsgType());
|
||||||
|
|
||||||
|
// MSG_TYPE 다시계산
|
||||||
|
if(mjonMsgVO.getFileName1() != null) {
|
||||||
|
mjonMsgVO.setMsgType("6");
|
||||||
|
}else {
|
||||||
|
if(FrBytes < 2000) {
|
||||||
|
if(FrBytes > 90) {// 90Byte 초과시 장문
|
||||||
|
mjonMsgVO.setMsgType("6");
|
||||||
|
}else {// 그외 단문
|
||||||
|
mjonMsgVO.setMsgType("4");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
System.out.println("mjonMsgVO.getMsgType3() ::: "+mjonMsgVO.getMsgType());
|
||||||
|
|
||||||
//각 문자 종류별 단가 셋팅해주기
|
//각 문자 종류별 단가 셋팅해주기
|
||||||
float tmpEachPrice = 0;
|
float tmpEachPrice = 0;
|
||||||
if(mjonMsgVO.getMsgType().equals("4")) {
|
if(mjonMsgVO.getMsgType().equals("4")) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user