From 36ce0af7d535f3a201cf23344593a8bc8af8446c Mon Sep 17 00:00:00 2001 From: rosewiper Date: Tue, 9 Jan 2024 14:20:15 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9B=84=EB=B6=88=EC=A0=9C=20=EC=9A=94?= =?UTF-8?q?=EA=B8=88=EC=82=AC=EC=9A=A9=20=EB=82=B4=EC=97=AD=20=EC=9D=B8?= =?UTF-8?q?=EC=87=84=ED=95=98=EA=B8=B0=20=ED=8C=9D=EC=97=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=20-=20=EA=B8=B0=EC=A1=B4=20=EC=9A=94=EA=B8=88?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=EB=82=B4=EC=97=AD=EC=97=90=20=EB=8C=80?= =?UTF-8?q?=ED=95=9C=20=ED=99=94=EB=A9=B4=EC=9D=B4=20=EB=82=98=EC=99=80?= =?UTF-8?q?=EC=84=9C=20=EB=B3=80=EA=B2=BD=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../let/mjo/pay/web/MjonPayController.java | 35 +++ .../WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp | 2 +- .../jsp/web/pay/PrintPayUserSWListPopUp.jsp | 227 ++++++++++++++++++ 3 files changed, 263 insertions(+), 1 deletion(-) create mode 100644 src/main/webapp/WEB-INF/jsp/web/pay/PrintPayUserSWListPopUp.jsp 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 03676157..382c3826 100644 --- a/src/main/java/itn/let/mjo/pay/web/MjonPayController.java +++ b/src/main/java/itn/let/mjo/pay/web/MjonPayController.java @@ -3003,6 +3003,41 @@ public class MjonPayController { try { wb.close(); } catch(Exception ignore) {} } } + + + @RequestMapping(value= {"/web/member/pay/PrintPayUserSWListAjax.do"}) + public String printPayUserSWListAjax( + @ModelAttribute("searchVO") MjonMsgVO mjonMsgVO + , RedirectAttributes redirectAttributes + , ModelMap model) throws Exception { + //로그인 권한정보 불러오기 + LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; + String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId()); + String userNm = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getName()); + + mjonMsgVO.setUserId(userId); + model.addAttribute("userNm", userNm); + + + mjonMsgVO.setFirstIndex(0); + mjonMsgVO.setRecordCountPerPage(10000); + + //결제 리스트 정보 불러오기 + List payUserList = mjonMsgDataService.selectPayUserSWList(mjonMsgVO); + model.addAttribute("payUserList", payUserList); + + Calendar cal = Calendar.getInstance(); + + int year = cal.get(Calendar.YEAR); + int month = cal.get(Calendar.MONTH) + 1; + int day = cal.get(Calendar.DAY_OF_MONTH); + + model.addAttribute("year", year); + model.addAttribute("month", month); + model.addAttribute("day", day); + + return "web/pay/PrintPayUserSWListPopUp"; + } diff --git a/src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp b/src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp index e05e7046..8f8f73cd 100644 --- a/src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWListAjax.jsp @@ -160,7 +160,7 @@ function fnPayUserPrintPopup(){ $("#listForm").attr("target","msgSentPrint"); window.open('', 'msgSentPrint', 'width='+ popup_wid +', height='+ popup_ht +', left=' + popup_left + ', top='+ popup_top ); - $("#listForm").attr({"action":"/web/member/pay/PrintPayUserListAjax.do", "method":"post"}).submit(); + $("#listForm").attr({"action":"/web/member/pay/PrintPayUserSWListAjax.do", "method":"post"}).submit(); } //환불요청 내역 프린트 출력 팝업 diff --git a/src/main/webapp/WEB-INF/jsp/web/pay/PrintPayUserSWListPopUp.jsp b/src/main/webapp/WEB-INF/jsp/web/pay/PrintPayUserSWListPopUp.jsp new file mode 100644 index 00000000..eff94814 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/pay/PrintPayUserSWListPopUp.jsp @@ -0,0 +1,227 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ page import="itn.com.cmm.LoginVO" %> + + + + + + 요금 사용내역 + + + + + + + + + + +
+
+
+ 문자온 CI +
+

(12248) 경기도 남양주시 다산순환로 20, A동 735호(다산동, 현대프리미어캠퍼스)

+

TEL 010-8432-9333

+
+
+
+

요금 사용내역

+
+
+ + + + + + + + + + + + +
발신자 정보
+  님의 사용내역을 아래와 같이 확인합니다. +
+
+
+
+
+ + + + + + + + + <%-- + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + + --%> + + + + + + + + + + +
사용날짜, 문자유형, 문자내용, 충전 충전금, 충전 포인트, 사용 충전금, 사용 포인트, 잔액 충전금, 잔액 포인트를 제공하는 표
+ 날짜 + + 문자유형 + + 발송건수 + 사용
충전금포인트
+ + +

+ + + 장문 + + + 그림 + + + 알림톡 + + + 친구톡 + + + 펙스 + + + 단문 + + +

+
+ + + () + + +

+ + +

+
+

+ 0 +

+
+

+ + +

+
+

+ 0 +

+
+

+ + +

+
+

+ +

+
+ 사용내역이 없습니다. +
+
+
+
+ + + + + + + + + + + + + + + + +
공급가액, 부가세, 총 결제금액에 대한 표
대표번호010-8432-9333
이메일help@iten.co.kr
+
+
+

년   월  

+
+ 주식회사 아이티앤 대표이사 + 유 인 식 + +
+
+
+
+ +
+
+
+ + +