diff --git a/src/main/java/itn/let/mjo/pay/web/MjonPayController.java b/src/main/java/itn/let/mjo/pay/web/MjonPayController.java index 99232112..03676157 100644 --- a/src/main/java/itn/let/mjo/pay/web/MjonPayController.java +++ b/src/main/java/itn/let/mjo/pay/web/MjonPayController.java @@ -4787,7 +4787,10 @@ public class MjonPayController { if(!"".equals(startDate)) { startDate = startDate.replaceAll("/", "-"); }else { - startDate = transFormat.format(minRegDate); + + if(minRegDate != null) { + startDate = transFormat.format(minRegDate); + } } model.addAttribute("startDate", startDate); @@ -4795,7 +4798,9 @@ public class MjonPayController { if(!"".equals(endDate)) { endDate = endDate.replaceAll("/", "-"); }else { - endDate = transFormat.format(maxRegDate); + if(maxRegDate != null) { + endDate = transFormat.format(maxRegDate); + } } model.addAttribute("endDate", endDate); @@ -5023,7 +5028,9 @@ public class MjonPayController { if(!"".equals(startDate)) { startDate = startDate.replaceAll("/", "-"); }else { - startDate = transFormat.format(minRegDate); + if(minRegDate != null) { + startDate = transFormat.format(minRegDate); + } } model.addAttribute("startDate", startDate); @@ -5031,7 +5038,9 @@ public class MjonPayController { if(!"".equals(endDate)) { endDate = endDate.replaceAll("/", "-"); }else { - endDate = transFormat.format(maxRegDate); + if(maxRegDate != null) { + endDate = transFormat.format(maxRegDate); + } } model.addAttribute("endDate", endDate); diff --git a/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp b/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp index 168bd867..ac45b2d0 100644 --- a/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp @@ -194,7 +194,7 @@ function f_print(){ - + 거래내역이 없습니다. diff --git a/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp b/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp index e6e00c3d..881e7c10 100644 --- a/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp @@ -165,7 +165,7 @@ function f_print(){ - + 사용내역이 없습니다.