rosewiper 2024-01-02
사용요금내역 거래명세서 및 사용내역서 팝업 오류 수정 - 발송 내역에서 성공 내역이 하나도 없는 경우 팝업 오류 발생하여 예외 처리
 - 발송 내역에서 성공 내역이 하나도 없는 경우 팝업 오류 발생하여 예외 처리
@81ecb26487ffc8a61250a50cb06efe220d015d68
src/main/java/itn/let/mjo/pay/web/MjonPayController.java
--- src/main/java/itn/let/mjo/pay/web/MjonPayController.java
+++ src/main/java/itn/let/mjo/pay/web/MjonPayController.java
@@ -4787,7 +4787,10 @@
 		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 @@
     	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 @@
     	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 @@
     	if(!"".equals(endDate)) {
     		endDate = endDate.replaceAll("/", "-");
     	}else {
-    		endDate = transFormat.format(maxRegDate);
+    		if(maxRegDate != null) {
+    			endDate = transFormat.format(maxRegDate);
+    		}
     	}
     	model.addAttribute("endDate", endDate);
     	
src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp
--- src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintStatementPopUp.jsp
@@ -194,7 +194,7 @@
 								<c:otherwise>
 									<tr>
 										<td colspan="5">
-											<spring:message code="common.nodata.msg" />
+											거래내역이 없습니다.
 										</td>
 									</tr>
 								</c:otherwise>
src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp
--- src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/MsgPrintUsageDetailsPopUp.jsp
@@ -165,7 +165,7 @@
 								<c:otherwise>
 									<tr>
 										<td colspan="5">
-											<spring:message code="common.nodata.msg" />
+											사용내역이 없습니다.
 										</td>
 									</tr>
 								</c:otherwise>
Add a comment
List