사용요금내역 거래명세서 및 사용내역서 팝업 오류 수정

- 발송 내역에서 성공 내역이 하나도 없는 경우 팝업 오류 발생하여 예외 처리
This commit is contained in:
rosewiper 2024-01-02 16:52:45 +09:00
parent 2ba3dd567d
commit 81ecb26487
3 changed files with 15 additions and 6 deletions

View File

@ -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);

View File

@ -194,7 +194,7 @@ function f_print(){
<c:otherwise>
<tr>
<td colspan="5">
<spring:message code="common.nodata.msg" />
거래내역이 없습니다.
</td>
</tr>
</c:otherwise>

View File

@ -165,7 +165,7 @@ function f_print(){
<c:otherwise>
<tr>
<td colspan="5">
<spring:message code="common.nodata.msg" />
사용내역이 없습니다.
</td>
</tr>
</c:otherwise>