diff --git a/src/main/java/kcc/kccadr/adjPgrMgr/dlvinfo/web/DlvinfoController.java b/src/main/java/kcc/kccadr/adjPgrMgr/dlvinfo/web/DlvinfoController.java index f38964b5..bd4930c0 100644 --- a/src/main/java/kcc/kccadr/adjPgrMgr/dlvinfo/web/DlvinfoController.java +++ b/src/main/java/kcc/kccadr/adjPgrMgr/dlvinfo/web/DlvinfoController.java @@ -302,10 +302,12 @@ public class DlvinfoController { // 신청인 add for(int i = 0 ; i < appliCantNmList.length; i++) { String[] appliCantNmListInfo = appliCantNmList[i].split("!"); - DlvinfoVO rpplInfo = new DlvinfoVO(); - rpplInfo.setRpplNm(appliCantNmListInfo[0]); - rpplInfo.setRpplTy(appliCantNmListInfo[1]); - rpplList.add(rpplInfo); + if(appliCantNmListInfo.length > 0) { + DlvinfoVO rpplInfo = new DlvinfoVO(); + rpplInfo.setRpplNm(appliCantNmListInfo[0]); + rpplInfo.setRpplTy(appliCantNmListInfo[1]); + rpplList.add(rpplInfo); + } } @@ -314,10 +316,12 @@ public class DlvinfoController { //피신청인 add for(int i = 0 ; i < resPonDentNmList.length; i++) { String[] resPonDentNmInfo = resPonDentNmList[i].split("!"); - DlvinfoVO rpplInfo = new DlvinfoVO(); - rpplInfo.setRpplNm(resPonDentNmInfo[0]); - rpplInfo.setRpplTy(resPonDentNmInfo[1]); - rpplList.add(rpplInfo); + if(resPonDentNmInfo.length > 0) { + DlvinfoVO rpplInfo = new DlvinfoVO(); + rpplInfo.setRpplNm(resPonDentNmInfo[0]); + rpplInfo.setRpplTy(resPonDentNmInfo[1]); + rpplList.add(rpplInfo); + } } String[] appliCantDNmList = new String[5]; @@ -331,10 +335,12 @@ public class DlvinfoController { //신청대리인 add for(int i = 0 ; i < appliCantDNmList.length; i++) { String[] appliCantDNmInfo = appliCantDNmList[i].split("!"); - DlvinfoVO rpplInfo = new DlvinfoVO(); - rpplInfo.setRpplNm(appliCantDNmInfo[0]); - rpplInfo.setRpplTy(appliCantDNmInfo[1]); - rpplList.add(rpplInfo); + if(appliCantDNmInfo.length > 0) { + DlvinfoVO rpplInfo = new DlvinfoVO(); + rpplInfo.setRpplNm(appliCantDNmInfo[0]); + rpplInfo.setRpplTy(appliCantDNmInfo[1]); + rpplList.add(rpplInfo); + } } } String[] resPonDentDNm = new String[5]; @@ -344,10 +350,12 @@ public class DlvinfoController { //피신청대리인 add for(int i = 0 ; i < resPonDentDNm.length; i++) { String[] resPonDentDNmInfo = resPonDentDNm[i].split("!"); - DlvinfoVO rpplInfo = new DlvinfoVO(); - rpplInfo.setRpplNm(resPonDentDNmInfo[0]); - rpplInfo.setRpplTy(resPonDentDNmInfo[1]); - rpplList.add(rpplInfo); + if(resPonDentDNmInfo.length > 0) { + DlvinfoVO rpplInfo = new DlvinfoVO(); + rpplInfo.setRpplNm(resPonDentDNmInfo[0]); + rpplInfo.setRpplTy(resPonDentDNmInfo[1]); + rpplList.add(rpplInfo); + } } }