문자발송 메뉴 주소록에 등록 기능 오류 수정

This commit is contained in:
rosewiper 2023-12-11 15:12:00 +09:00
parent 6c7561c405
commit 9b3c7c555b
2 changed files with 10 additions and 10 deletions

View File

@ -5092,7 +5092,7 @@ public class MjonMsgDataController {
AddrVO tempAddrVO = new AddrVO();
if(addrNm.length > 0 && addrNm[i].length() > 0) {
tempAddrVO.setAddrNm(addrNm[i]);
tempAddrVO.setAddrNm(addrNm[i].replaceAll("§", ","));
}
tempAddrVO.setAddrPhoneNo(addrPhoneNo[i]);
@ -5100,25 +5100,25 @@ public class MjonMsgDataController {
if(addrInfo1[i].equals("-")) {
tempAddrVO.setAddrInfo1(null);
}else {
tempAddrVO.setAddrInfo1(addrInfo1[i]);
tempAddrVO.setAddrInfo1(addrInfo1[i].replaceAll("§", ","));
}
if(addrInfo2[i].equals("-")) {
tempAddrVO.setAddrInfo2(null);
}else {
tempAddrVO.setAddrInfo2(addrInfo2[i]);
tempAddrVO.setAddrInfo2(addrInfo2[i].replaceAll("§", ","));
}
if(addrInfo3[i].equals("-")) {
tempAddrVO.setAddrInfo3(null);
}else {
tempAddrVO.setAddrInfo3(addrInfo3[i]);
tempAddrVO.setAddrInfo3(addrInfo3[i].replaceAll("§", ","));
}
if(addrInfo4[i].equals("-")) {
tempAddrVO.setAddrInfo4(null);
}else {
tempAddrVO.setAddrInfo4(addrInfo4[i]);
tempAddrVO.setAddrInfo4(addrInfo4[i].replaceAll("§", ","));
}
tempAddrVO.setMberId(userId);

View File

@ -2439,31 +2439,31 @@ $('.registAddr').click(function(){
}
nameList[i] = name;
nameList[i] = name.replaceAll(",","§");
phoneNum[i] = phone;
if(rep1 == "" || rep1 == null){
rep1List[i] = "-";
}else{
rep1List[i] = rep1;
rep1List[i] = rep1.replaceAll(",","§");
}
if(rep2 == "" || rep2 == null){
rep2List[i] = "-";
}else{
rep2List[i] = rep2;
rep2List[i] = rep2.replaceAll(",","§");
}
if(rep3 == "" || rep3 == null){
rep3List[i] = "-";
}else{
rep3List[i] = rep3;
rep3List[i] = rep3.replaceAll(",","§");
}
if(rep4 == "" || rep4 == null){
rep4List[i] = "-";
}else{
rep4List[i] = rep4;
rep4List[i] = rep4.replaceAll(",","§");
}
/* if(name == "" || name == null){