diff --git a/src/main/java/itn/let/mjo/pay/service/MjonPrePayService.java b/src/main/java/itn/let/mjo/pay/service/MjonPrePayService.java new file mode 100644 index 00000000..69138f0c --- /dev/null +++ b/src/main/java/itn/let/mjo/pay/service/MjonPrePayService.java @@ -0,0 +1,18 @@ +package itn.let.mjo.pay.service; + +import java.util.List; + +public interface MjonPrePayService { + + public int selectBLineMberCnt(String mberId) throws Exception; + + public int insertPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception; + + public List selectPrePayList(MjonPrePayVO mjonPrePayVO) throws Exception; + + public int deletePrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception; + + public MjonPrePayVO selectPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception; + + public int updatePrePayModify(MjonPrePayVO mjonPrePayVO) throws Exception; +} diff --git a/src/main/java/itn/let/mjo/pay/service/MjonPrePayVO.java b/src/main/java/itn/let/mjo/pay/service/MjonPrePayVO.java new file mode 100644 index 00000000..80b6b334 --- /dev/null +++ b/src/main/java/itn/let/mjo/pay/service/MjonPrePayVO.java @@ -0,0 +1,108 @@ +package itn.let.mjo.pay.service; + +import itn.com.cmm.ComDefaultVO; + +public class MjonPrePayVO extends ComDefaultVO{ + + /** + * + */ + private static final long serialVersionUID = 1L; + + private String prePayId; + private String mberId; + private String agentCode; + private String prePayDate; + private String prePayTime; + private String amt; + + private String frstRegisterId; + private String frstRegistPnttm; + private String lastUpdusrId; + private String lastUpdtPnttm; + + private String agentCodeNm; + private String agentCodeDc; + + private String totSum; + + public String getPrePayId() { + return prePayId; + } + public void setPrePayId(String prePayId) { + this.prePayId = prePayId; + } + public String getMberId() { + return mberId; + } + public void setMberId(String mberId) { + this.mberId = mberId; + } + public String getAgentCode() { + return agentCode; + } + public void setAgentCode(String agentCode) { + this.agentCode = agentCode; + } + public String getPrePayDate() { + return prePayDate; + } + public void setPrePayDate(String prePayDate) { + this.prePayDate = prePayDate; + } + public String getPrePayTime() { + return prePayTime; + } + public void setPrePayTime(String prePayTime) { + this.prePayTime = prePayTime; + } + public String getAmt() { + return amt; + } + public void setAmt(String amt) { + this.amt = amt; + } + public String getFrstRegisterId() { + return frstRegisterId; + } + public void setFrstRegisterId(String frstRegisterId) { + this.frstRegisterId = frstRegisterId; + } + public String getFrstRegistPnttm() { + return frstRegistPnttm; + } + public void setFrstRegistPnttm(String frstRegistPnttm) { + this.frstRegistPnttm = frstRegistPnttm; + } + public String getLastUpdusrId() { + return lastUpdusrId; + } + public void setLastUpdusrId(String lastUpdusrId) { + this.lastUpdusrId = lastUpdusrId; + } + public String getLastUpdtPnttm() { + return lastUpdtPnttm; + } + public void setLastUpdtPnttm(String lastUpdtPnttm) { + this.lastUpdtPnttm = lastUpdtPnttm; + } + public String getAgentCodeNm() { + return agentCodeNm; + } + public void setAgentCodeNm(String agentCodeNm) { + this.agentCodeNm = agentCodeNm; + } + public String getAgentCodeDc() { + return agentCodeDc; + } + public void setAgentCodeDc(String agentCodeDc) { + this.agentCodeDc = agentCodeDc; + } + public String getTotSum() { + return totSum; + } + public void setTotSum(String totSum) { + this.totSum = totSum; + } + +} diff --git a/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayDAO.java b/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayDAO.java new file mode 100644 index 00000000..2dd1af10 --- /dev/null +++ b/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayDAO.java @@ -0,0 +1,109 @@ +package itn.let.mjo.pay.service.impl; + +import java.util.ArrayList; +import java.util.List; + +import org.springframework.stereotype.Repository; + +import egovframework.rte.psl.dataaccess.EgovAbstractDAO; +import itn.let.mjo.pay.service.MjonPrePayVO; + +@Repository("mjonPrePayDAO") +public class MjonPrePayDAO extends EgovAbstractDAO { + + public int selectBLineMberCnt(String mberId) throws Exception{ + + int result = 0; + + try { + + result = (int) select("mjonPrePayDAO.selectBLineMberCnt", mberId); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectBLineMberCnt Service DAO Error !!! " + e); + } + + return result; + } + + public int insertPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int resultCnt = 0; + + try { + + resultCnt = update("mjonPrePayDAO.insertPrePayInfo", mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ insertPrePayInfo Service DAO Error !!! " + e); + } + + return resultCnt; + } + + + @SuppressWarnings("unchecked") + public List selectPrePayList(MjonPrePayVO mjonPrePayVO) throws Exception{ + + List resultList = new ArrayList(); + + try { + + resultList = (List) list("mjonPrePayDAO.selectPrePayList", mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayList Service DAO Error !!! " + e); + } + + + return resultList; + } + + public int deletePrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int result = 0; + + try { + + result = update("mjonPrePayDAO.deletePrePayInfo", mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ deletePrePayInfo Service DAO Error !!! " + e); + } + + return result; + + } + + public MjonPrePayVO selectPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + MjonPrePayVO result = new MjonPrePayVO(); + + try { + + result = (MjonPrePayVO) select("mjonPrePayDAO.selectPrePayInfo", mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayInfo Service DAO Error !!! " + e); + } + + return result; + + } + + public int updatePrePayModify(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int resultCnt = 0; + + try { + + resultCnt = update("mjonPrePayDAO.updatePrePayModify", mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayInfo Service DAO Error !!! " + e); + } + + return resultCnt; + } + +} diff --git a/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayServiceImpl.java b/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayServiceImpl.java new file mode 100644 index 00000000..914bc1f2 --- /dev/null +++ b/src/main/java/itn/let/mjo/pay/service/impl/MjonPrePayServiceImpl.java @@ -0,0 +1,120 @@ +package itn.let.mjo.pay.service.impl; + +import java.util.ArrayList; +import java.util.List; + +import javax.annotation.Resource; + +import org.springframework.stereotype.Service; + +import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; +import itn.let.mjo.pay.service.MjonPrePayService; +import itn.let.mjo.pay.service.MjonPrePayVO; + +@Service("mjonPrePayService") +public class MjonPrePayServiceImpl extends EgovAbstractServiceImpl implements MjonPrePayService { + + @Resource(name="mjonPrePayDAO") + private MjonPrePayDAO mjonPrePayDAO; + + //B선 회원 정보 조회 + @Override + public int selectBLineMberCnt(String mberId) throws Exception{ + + int result = 0; + + try { + + result = mjonPrePayDAO.selectBLineMberCnt(mberId); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectBLineMberCnt Service Impl Error !!! " + e); + } + + return result; + } + + @Override + public int insertPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int resultCnt = 0; + + try { + + resultCnt = mjonPrePayDAO.insertPrePayInfo(mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ insertPrePayInfo Service Impl Error !!! " + e); + } + + return resultCnt; + } + + + @Override + public List selectPrePayList(MjonPrePayVO mjonPrePayVO) throws Exception{ + + List resultList = new ArrayList(); + + try { + + resultList = mjonPrePayDAO.selectPrePayList(mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayList Service Impl Error !!! " + e); + } + + return resultList; + } + + @Override + public int deletePrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int result = 0; + + try { + + result = mjonPrePayDAO.deletePrePayInfo(mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ deletePrePayInfo Service Impl Error !!! " + e); + } + + return result; + + } + + @Override + public MjonPrePayVO selectPrePayInfo(MjonPrePayVO mjonPrePayVO) throws Exception{ + + MjonPrePayVO result = new MjonPrePayVO(); + + try { + + result = mjonPrePayDAO.selectPrePayInfo(mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayInfo Service Impl Error !!! " + e); + } + + return result; + + } + + @Override + public int updatePrePayModify(MjonPrePayVO mjonPrePayVO) throws Exception{ + + int resultCnt = 0; + + try { + + resultCnt = mjonPrePayDAO.updatePrePayModify(mjonPrePayVO); + + } catch (Exception e) { + System.out.println("+++++++++++++ selectPrePayInfo Service Impl Error !!! " + e); + } + + return resultCnt; + } + +} diff --git a/src/main/java/itn/let/mjo/pay/web/MjonPrePayController.java b/src/main/java/itn/let/mjo/pay/web/MjonPrePayController.java new file mode 100644 index 00000000..7adba4a3 --- /dev/null +++ b/src/main/java/itn/let/mjo/pay/web/MjonPrePayController.java @@ -0,0 +1,567 @@ +package itn.let.mjo.pay.web; + +import java.io.OutputStream; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.List; +import java.util.Locale; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.poi.ss.usermodel.Cell; +import org.apache.poi.ss.usermodel.CellStyle; +import org.apache.poi.ss.usermodel.Font; +import org.apache.poi.ss.usermodel.Row; +import org.apache.poi.ss.usermodel.Sheet; +import org.apache.poi.xssf.streaming.SXSSFWorkbook; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.ModelAttribute; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.servlet.HandlerMapping; +import org.springframework.web.servlet.ModelAndView; +import org.springframework.web.servlet.mvc.support.RedirectAttributes; + +import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper; +import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; +import itn.com.cmm.EgovMessageSource; +import itn.com.cmm.LoginVO; +import itn.com.cmm.util.RedirectUrlMaker; +import itn.com.utl.fcc.service.EgovStringUtil; +import itn.let.mjo.pay.service.MjonPayService; +import itn.let.mjo.pay.service.MjonPrePayService; +import itn.let.mjo.pay.service.MjonPrePayVO; +import itn.let.uss.umt.service.EgovUserManageService; + +@Controller +public class MjonPrePayController { + + private static final Logger LOGGER = LoggerFactory.getLogger(MjonPrePayController.class); + + @Resource(name = "mjonPayService") + private MjonPayService mjonPayService; + + @Resource(name = "mjonPrePayService") + private MjonPrePayService mjonPrePayService; + + /** EgovMessageSource */ + @Resource(name="egovMessageSource") + EgovMessageSource egovMessageSource; + + /** userManageService */ + @Resource(name = "userManageService") + private EgovUserManageService userManageService; + + //배열 정의{"컬럼순차번호, 컬럼이름, 컬럼내용, 컬럼이름에 붙여야할 내용(엑셀코드양식다운로드시 필요)"} + private String[][] sendPrePayExcelValue ={ + {"0" ,"번호" , "1" , "" }, + {"1", "아이디" , "아이디" , ""}, + {"2", "전송사" , "개인전용계좌", ""}, + {"3", "선결제일시" , "2021-06-08 11:05:38", ""}, + {"4", "결제금액" , "1000", ""}, + {"5", "등록일자" , "2021-06-08 11:05:38", ""}, + } ; + + /** + * 결제 리스트 + * @param searchVO + * @param model + * @return "/uss/ion/msg/SendNumberList" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayList.do"}) + public String selectPrePayList(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + ModelMap model) throws Exception{ + + String pattern = (String) request.getAttribute(HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE) ; + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + /** pageing */ + PaginationInfo paginationInfo = new PaginationInfo(); + paginationInfo.setCurrentPageNo(mjonPrePayVO.getPageIndex()); + paginationInfo.setRecordCountPerPage(mjonPrePayVO.getPageUnit()); + paginationInfo.setPageSize(mjonPrePayVO.getPageSize()); + + mjonPrePayVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); + mjonPrePayVO.setLastIndex(paginationInfo.getLastRecordIndex()); + mjonPrePayVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); + + if("".equals(mjonPrePayVO.getSearchSortCnd())){ //최초조회시 최신것 조회List + mjonPrePayVO.setSearchSortCnd("prePayDate"); + mjonPrePayVO.setSearchSortOrd("desc"); + } + + List resultList = mjonPrePayService.selectPrePayList(mjonPrePayVO); + + model.addAttribute("resultList", resultList); + model.addAttribute("totSumPrice", resultList.size() > 0 ? ((MjonPrePayVO)resultList.get(0)).getTotSum() : 0); + paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjonPrePayVO)resultList.get(0)).getTotCnt() : 0); + model.addAttribute("paginationInfo", paginationInfo); + + return "/uss/ion/pay/prePay/PrePayList"; + } + + + /** + * 선결제 등록화면 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayRegist.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayRegist.do"}) + public String PrePayRegist(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + ModelMap model) throws Exception{ + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + + return "/uss/ion/pay/prePay/PrePayRegist"; + } + + + /** + * 선결제 등록 처리 + * @param searchVO + * @param model + * @return "uss/ion/pay/insertPrePayRegistAjax" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/insertPrePayRegistAjax.do"}) + public ModelAndView insertPrePayRegistAjax(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + ModelMap model) throws Exception{ + + ModelAndView modelAndView = new ModelAndView(); + modelAndView.setViewName("jsonView"); + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + modelAndView.addObject("result", "loginFail"); + modelAndView.addObject("message", "로그인이 필요합니다."); + return modelAndView; + } + + try { + + LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; + String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId()); + + String mberId = mjonPrePayVO.getMberId(); + mjonPrePayVO.setFrstRegisterId(userId); + mjonPrePayVO.setLastUpdusrId(userId); + + if(mjonPrePayVO.getAmt().length() == 0 + || mjonPrePayVO.getMberId().length() == 0 + || mjonPrePayVO.getPrePayDate().length() == 0) { + + modelAndView.addObject("result", "dataFail"); + modelAndView.addObject("message", "필수 입력값을 확인해 주세요."); + + return modelAndView; + + } + + int mberCnt = mjonPrePayService.selectBLineMberCnt(mberId); + + if(mberCnt > 0) { + + int resultCnt = mjonPrePayService.insertPrePayInfo(mjonPrePayVO); + + if(resultCnt > 0) { + + modelAndView.addObject("result", "success"); + modelAndView.addObject("message", "등록이 완료되었습니다."); + + }else { + + modelAndView.addObject("result", "insertFail"); + modelAndView.addObject("message", "선결제 정보 등록 중 오류가 발생하였습니다."); + + return modelAndView; + } + + }else { + + modelAndView.addObject("result", "mberFail"); + modelAndView.addObject("message", mberId + "의 회원정보를 찾을 수 없습니다."); + + return modelAndView; + } + + + } catch (Exception e) { + + System.out.println("++++++++++++++ insertPrePayRegistAjax Controller Error !!! " + e); + modelAndView.addObject("result", "Error"); + modelAndView.addObject("message", "등록 중 오류가 발생하였습니다."); + + return modelAndView; + } + + return modelAndView; + } + + + /** + * 선결제 삭제 처리 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayDelete.do" + * @throws Exception + */ + @RequestMapping(value = {"/uss/ion/pay/PrePayDelete.do"}) + public String deleteCash( + @RequestParam("chkEach") String[] chkEach, + @ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request , RedirectAttributes redirectAttributes, + Model model) throws Exception { + try { + LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser(); + String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId()); + + if(userId == "") { + + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("info.user.login")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uat/uia/EgovLoginUsr.do"); + return redirectUrlMaker.getRedirectUrl(); + + } + + for(String id: chkEach) { + mjonPrePayVO.setPrePayId(id); + mjonPrePayService.deletePrePayInfo(mjonPrePayVO); + } + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("success.common.delete")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayList.do"); + return redirectUrlMaker.getRedirectUrl(); + }catch(Exception e) { + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.delete")); + } + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("success.common.delete")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayList.do"); + return redirectUrlMaker.getRedirectUrl(); + } + + /** + * 선결제 수정화면 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayModify.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayModify.do"}) + public String PrePayModify(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, RedirectAttributes redirectAttributes, + ModelMap model) throws Exception{ + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + try { + + MjonPrePayVO resultVO = mjonPrePayService.selectPrePayInfo(mjonPrePayVO); + + model.addAttribute("resultVO", resultVO); + + } catch (Exception e) { + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.msg")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayList.do"); + return redirectUrlMaker.getRedirectUrl(); + } + + return "/uss/ion/pay/prePay/PrePayModify"; + } + + + /** + * 선결제 수정화면 + * @param searchVO + * @param model + * @return "/uss/ion/pay/updatePrePayModify.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/updatePrePayModify.do"}) + public String updatePrePayModify(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, RedirectAttributes redirectAttributes, + ModelMap model) throws Exception{ + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + try { + + String mberId = mjonPrePayVO.getMberId(); + + int mberCnt = mjonPrePayService.selectBLineMberCnt(mberId); + + if(mberCnt > 0) { + + LoginVO loginVO = EgovUserDetailsHelper.isAuthenticated()? (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser():null; + String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId()); + + mjonPrePayVO.setLastUpdusrId(userId); + mjonPrePayVO.setAmt(mjonPrePayVO.getAmt().replace(",", "")); + int resultCnt = mjonPrePayService.updatePrePayModify(mjonPrePayVO); + + }else { + + redirectAttributes.addFlashAttribute("message", mberId + "의 회원정보를 찾을 수 없습니다."); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayList.do"); + return redirectUrlMaker.getRedirectUrl(); + + } + + + + } catch (Exception e) { + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.msg")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayList.do"); + return redirectUrlMaker.getRedirectUrl(); + } + + return "redirect:/uss/ion/pay/PrePayList.do"; + } + + + /** + * 결제 리스트 팝업 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayPopupListAjax.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayPopupListAjax.do"}) + public String selectPrePayPopupListAjax(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + ModelMap model) throws Exception{ + + String pattern = (String) request.getAttribute(HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE) ; + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + /** pageing */ + PaginationInfo paginationInfo = new PaginationInfo(); + paginationInfo.setCurrentPageNo(mjonPrePayVO.getPageIndex()); + paginationInfo.setRecordCountPerPage(mjonPrePayVO.getPageUnit()); + paginationInfo.setPageSize(mjonPrePayVO.getPageSize()); + + mjonPrePayVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); + mjonPrePayVO.setLastIndex(paginationInfo.getLastRecordIndex()); + mjonPrePayVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); + + if("".equals(mjonPrePayVO.getSearchSortCnd())){ //최초조회시 최신것 조회List + mjonPrePayVO.setSearchSortCnd("prePayDate"); + mjonPrePayVO.setSearchSortOrd("desc"); + } + + //특정 회원 정보리스트만 조회 되도록 검색값 셋팅 + String mberId = mjonPrePayVO.getMberId(); + List resultList = mjonPrePayService.selectPrePayList(mjonPrePayVO); + + model.addAttribute("resultList", resultList); + model.addAttribute("totSumPrice", resultList.size() > 0 ? ((MjonPrePayVO)resultList.get(0)).getTotSum() : 0); + paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjonPrePayVO)resultList.get(0)).getTotCnt() : 0); + model.addAttribute("paginationInfo", paginationInfo); + + model.addAttribute("mberId", mberId); + + return "/uss/ion/pay/prePay/popup/PrePayPopupList"; + } + + + + /** + * 선결제 등록화면 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayPopupRegistAjax.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayPopupRegistAjax.do"}) + public String selectPrePayPopupRegistAjax(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + ModelMap model) throws Exception{ + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + System.out.println(mjonPrePayVO.getMberId()); + String mberId = mjonPrePayVO.getMberId(); + + model.addAttribute("mberId", mberId); + + return "/uss/ion/pay/prePay/popup/PrePayPopupRegist"; + } + + /** + * 선결제 수정화면 + * @param searchVO + * @param model + * @return "/uss/ion/pay/PrePayModify.do" + * @throws Exception + */ + @RequestMapping(value= {"/uss/ion/pay/PrePayPopupModifyAjax.do"}) + public String selectPrePayPopupModifyAjax(@ModelAttribute("searchVO") MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, RedirectAttributes redirectAttributes, + ModelMap model) throws Exception{ + + // 미인증 사용자에 대한 보안처리 + Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + if(!isAuthenticated) { + model.addAttribute("message", egovMessageSource.getMessage("fail.common.login")); + return "uat/uia/EgovLoginUsr"; + } + + try { + + MjonPrePayVO resultVO = mjonPrePayService.selectPrePayInfo(mjonPrePayVO); + + model.addAttribute("resultVO", resultVO); + + } catch (Exception e) { + redirectAttributes.addFlashAttribute("message", egovMessageSource.getMessage("fail.common.msg")); + RedirectUrlMaker redirectUrlMaker = new RedirectUrlMaker("/uss/ion/pay/PrePayPopupListAjax.do"); + return redirectUrlMaker.getRedirectUrl(); + } + + return "/uss/ion/pay/prePay/popup/PrePayPopupModify"; + } + + + //관리자 결제 엑셀 다운로드 + @RequestMapping(value= {"/uss/ion/pay/SendPrePayExcelDownload.do"}) + public void SendPrePayExcelDownload( MjonPrePayVO mjonPrePayVO, + HttpServletRequest request, + HttpServletResponse response , + ModelMap model) throws Exception { + + mjonPrePayVO.setRecordCountPerPage(5000); + mjonPrePayVO.setFirstIndex(0); + LoginVO loginVO = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser(); + + // 메모리에 100개의 행을 유지합니다. 행의 수가 넘으면 디스크에 적습니다. + SXSSFWorkbook wb = new SXSSFWorkbook(100); + CellStyle style = wb.createCellStyle(); + style.setBorderBottom(CellStyle.BORDER_THIN); //테두리 두껍게 + style.setBorderLeft(CellStyle.BORDER_THIN); + style.setBorderRight(CellStyle.BORDER_THIN); + style.setBorderTop(CellStyle.BORDER_THIN); + Font font = wb.createFont(); + font.setBoldweight(Font.BOLDWEIGHT_BOLD); //글씨 bold + + Cell cell = null; + Row row = null; + + String fileName ="B선 회원 선결제내역"; + + String sheetTitle = ""; + try{ + if("".equals(mjonPrePayVO.getSearchSortCnd())){ //최초조회시 최신것 조회List + mjonPrePayVO.setSearchSortCnd("prePayDate"); + mjonPrePayVO.setSearchSortOrd("desc"); + } + + List resultList = mjonPrePayService.selectPrePayList(mjonPrePayVO); + + { //화면 리스트 + sheetTitle = "선결제내역" ; //제목 + Sheet sheet = wb.createSheet(sheetTitle); + sheet.setColumnWidth(0, 2500); + sheet.setColumnWidth(1, 3500); + sheet.setColumnWidth(2, 3500); + sheet.setColumnWidth(3, 4000); + sheet.setColumnWidth(4, 3500); + sheet.setColumnWidth(5, 5000); + row = sheet.createRow(0); + for(int i=0 ; i < sendPrePayExcelValue.length ; i++) { + cell = row.createCell(i); + cell.setCellStyle(style); + cell.setCellValue(sendPrePayExcelValue[i][1]); + } + + for(int i=0; i < resultList.size(); i++){ + row = sheet.createRow(i+1); + for(int j=0 ; j < sendPrePayExcelValue.length ; j++) { + // 번호, 회원 아이디, 전용 전송사, 선결제 일자, 결제 금액, 등록일자 + cell = row.createCell(j); + cell.setCellStyle(style); + if(j==0) cell.setCellValue(i+1); //번호 + if(j==1) cell.setCellValue(((MjonPrePayVO)resultList.get(i)).getMberId()); //회원 아이디 + if(j==2) cell.setCellValue(((MjonPrePayVO)resultList.get(i)).getAgentCodeDc()); //전용 전송사 + if(j==3) cell.setCellValue(((MjonPrePayVO)resultList.get(i)).getPrePayDate() + " " + ((MjonPrePayVO)resultList.get(i)).getPrePayTime()); //선결제 일자 + if(j==4) cell.setCellValue(((MjonPrePayVO)resultList.get(i)).getAmt()); //결제금액 + if(j==5) cell.setCellValue(((MjonPrePayVO)resultList.get(i)).getLastUpdtPnttm()); //등록일자/수정일자 + } + } + + } + response.setHeader("Set-Cookie", "fileDownload=true; path=/"); + SimpleDateFormat mSimpleDateFormat = new SimpleDateFormat ( "yyyy_MM_dd_HH_mm_ss", Locale.KOREA ); + Date currentTime = new Date (); + String mTime = mSimpleDateFormat.format ( currentTime ); + fileName = fileName+"("+mTime+")"; + + response.setHeader("Content-Disposition", String.format("attachment; filename=\""+new String((fileName).getBytes("KSC5601"),"8859_1")+".xlsx")); + wb.write(response.getOutputStream()); + + }catch(Exception e) { + response.setHeader("Set-Cookie", "fileDownload=false; path=/"); + response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); + response.setHeader("Content-Type","text/html; charset=utf-8"); + OutputStream out = null; + try { + out = response.getOutputStream(); + byte[] data = new String("fail..").getBytes(); + out.write(data, 0, data.length); + } catch(Exception ignore) { + ignore.printStackTrace(); + } finally { + if(out != null) try { out.close(); } catch(Exception ignore) {} + } + }finally { + // 디스크 적었던 임시파일을 제거합니다. + wb.dispose(); + try { wb.close(); } catch(Exception ignore) {} + } + } + + +} diff --git a/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-msg.xml b/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-msg.xml index c520b4d2..b906e870 100644 --- a/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-msg.xml +++ b/src/main/resources/egovframework/sqlmap/config/mysql/sql-map-config-mysql-msg.xml @@ -23,4 +23,5 @@ + diff --git a/src/main/resources/egovframework/sqlmap/let/pay/MjonPrePay_SQL_mysql.xml b/src/main/resources/egovframework/sqlmap/let/pay/MjonPrePay_SQL_mysql.xml new file mode 100644 index 00000000..f48f3949 --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/let/pay/MjonPrePay_SQL_mysql.xml @@ -0,0 +1,153 @@ + + + + + + + + + + INSERT + INTO MJ_PREPAY_INFO + ( + MBER_ID, + AGENT_CODE, + PREPAY_DATE, + PREPAY_TIME, + AMT, + FRST_REGISTER_ID, + FRST_REGIST_PNTTM, + LAST_UPDUSR_ID, + LAST_UPDT_PNTTM + ) + VALUES + ( #mberId# + , #agentCode# + , #prePayDate# + , #prePayTime# + , #amt# + , #frstRegisterId# + , NOW() + , #lastUpdusrId# + , NOW() + ) + + + + + + + + + DELETE FROM MJ_PREPAY_INFO WHERE PREPAY_ID = #prePayId# + + + + + + + + UPDATE MJ_PREPAY_INFO + SET MBER_ID = #mberId#, + AGENT_CODE = #agentCode#, + PREPAY_DATE = #prePayDate#, + PREPAY_TIME = #prePayTime#, + AMT = #amt#, + LAST_UPDUSR_ID = #lastUpdusrId#, + LAST_UPDT_PNTTM = NOW() + WHERE PREPAY_ID = #prePayId# + + + + + \ No newline at end of file diff --git a/src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml index 18749ebe..109dca18 100644 --- a/src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Mysql.xml @@ -760,7 +760,8 @@ A.HOTLINE_AGENT_CODE AS hotlineAgentCode, A.AT_SMISHING_YN atSmishingYn, A.SPAM_YN spamYn, - A.USER_POINT AS userPoint + A.USER_POINT AS userPoint, + A.BLINE_CODE AS blineCode FROM LETTNGNRLMBER A LEFT JOIN MJ_CANDIDATE_INFO MCI ON A.MBER_ID = MCI.MBER_ID diff --git a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp index fbb5de3b..d6b11a97 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectUpdt.jsp @@ -1926,6 +1926,16 @@ function fnUserCashDataListPopup(mberId){ document.modiForm.submit(); } +//B선회원 선결제 팝업 +function fnUserPrePayDataListPopup(mberId){ + + document.modiForm.mberId.value = mberId; + window.open("_blank", 'popupSelectPrePayDataList', 'width=1300, height=800, top=50, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no'); + document.modiForm.action = ""; + document.modiForm.target = "popupSelectPrePayDataList"; + document.modiForm.submit(); +} + // 이벤트 종료하기 function fnEventEnd(){ @@ -3282,6 +3292,11 @@ function kakaoATDelayCancel(msgGroupId){ 보유 캐시 잔액 + + <%-- B선 회원 선결제 버튼 처리 --%> + + +
@@ -3665,6 +3680,11 @@ function kakaoATDelayCancel(msgGroupId){ 보유 캐시 잔액 + + <%-- B선 회원 선결제 버튼 처리 --%> + + +
diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayList.jsp new file mode 100644 index 00000000..10b29c50 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayList.jsp @@ -0,0 +1,266 @@ +<%-- + Class Name : PrePayList.jsp + Description : B선 회원 선결제 리스트 페이지 + Modification Information + + 수정일 수정자 수정내용 + ------- -------- --------------------------- + 2023.10.26 우영두 최초 생성 + + Copyright (C) 2009 by ITN All right reserved. +--%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> +<% + response.setHeader("Cache-Control","no-store"); + response.setHeader("Pragma","no-cache"); + response.setDateHeader("Expires",0); + if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); +%> + + + +선결제 리스트 + + + + + + + + + +
+ + + " /> + " /> + +
+
+
+

선결제 현황

+

B선 사용자 선결제 현황을 파악할 수 있습니다.

+
+ +
+
+
+ + +
+ + +
+ ~ +
+ + +
+
+ + + + +
+
+

건(총 원)

+
+ + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 번호아이디전송사선결제일시결제금액등록일자
+ + + + + + + + + + '); return false;"> + + + + '); return false;"> + + + + '); return false;"> + + + + + + +
+
+
+ + +
+ + +
+
    + +
+
+
+ +
+
+
+
+ + + + +
+
+ + diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayModify.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayModify.jsp new file mode 100644 index 00000000..7d41fac2 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayModify.jsp @@ -0,0 +1,201 @@ +<% + /** + * @Class Name : PrePayModify.jsp + * @Description : B선 회원 선결제 상세 화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2009.02.01 박정규 최초 생성 + * 2016.06.13 김연호 표준프레임워크 v3.6 개선 + * + * @author 공통서비스팀 + * @since 2009.02.01 + * @version 1.0 + * @see + * + */ +%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> + + + +팝업창관리 관리 + + + + + + + + +
+ +
+
+
+

선결제 정보 수정

+

선결제정보 수정 할 수 있습니다.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
아이디 + " title="아이디" style="width:120px;" maxlength="20" /> +
전송사 + +
결제일시 + + + + + + +
결제금액 + + 원 +
+
+ + + + +
+
+
+
+
+ +
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayRegist.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayRegist.jsp new file mode 100644 index 00000000..012db605 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/PrePayRegist.jsp @@ -0,0 +1,265 @@ +<% + /** + * @Class Name : PrePayRegist.jsp + * @Description : B선 회원 선결제 등록 화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2009.02.01 박정규 최초 생성 + * 2016.06.13 김연호 표준프레임워크 v3.6 개선 + * + * @author 공통서비스팀 + * @since 2009.02.01 + * @version 1.0 + * @see + * + */ +%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> + + + +전송사 선결제 관리 + + + + + + + + +
+ +
+
+
+
Loading
+
+
+ +
+
+
+

전송사 선결제 현황

+

B선 회원의 선결제 현황을 파악할 수 있습니다.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
아이디 + +
전송사 + +
결제일시 + + + + + + +
결제금액 + + 원 +
+
+ + +
+
+
+
+ + diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupList.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupList.jsp new file mode 100644 index 00000000..67fdaac1 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupList.jsp @@ -0,0 +1,315 @@ +<%-- + Class Name : PrePayList.jsp + Description : B선 회원 선결제 리스트 페이지 + Modification Information + + 수정일 수정자 수정내용 + ------- -------- --------------------------- + 2023.10.26 우영두 최초 생성 + + Copyright (C) 2009 by ITN All right reserved. +--%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> +<% + response.setHeader("Cache-Control","no-store"); + response.setHeader("Pragma","no-cache"); + response.setDateHeader("Expires",0); + if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); +%> + + + +선결제 리스트 + + + + + + + + + + + + + + + + + + + + +
+ + + " /> + " /> + +
+
+
+

선결제 현황

+

B선 사용자 선결제 현황을 파악할 수 있습니다.

+
+ +
+
+
+ + +
+ + +
+ ~ +
+ + +
+
+ + + + +
+
+

건(총 원)

+
+ + + +
+
+
+ + + <%-- --%> + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + + + + + + + + + +
번호아이디전송사선결제일시결제금액등록일자
+ + + + + + + + + + <%-- '); return false;"> --%> + + + + '); return false;"> + + + + '); return false;"> + + + + + + +
+
+
+ + +
+ + +
+
    + +
+
+
+ +
+
+
+
+ + + + + +
+
+ + diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupModify.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupModify.jsp new file mode 100644 index 00000000..564a3b53 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupModify.jsp @@ -0,0 +1,209 @@ +<% + /** + * @Class Name : PrePayModify.jsp + * @Description : B선 회원 선결제 상세 화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2009.02.01 박정규 최초 생성 + * 2016.06.13 김연호 표준프레임워크 v3.6 개선 + * + * @author 공통서비스팀 + * @since 2009.02.01 + * @version 1.0 + * @see + * + */ +%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> + + + +팝업창관리 관리 + + + + + + + + + + + + + + + + +
+ +
+
+
+

선결제 정보 수정

+

선결제정보 수정 할 수 있습니다.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
아이디 + " title="아이디" style="width:120px;" maxlength="20" /> +
전송사 + +
결제일시 + + + + + + +
결제금액 + + 원 +
+
+ + + + +
+
+
+
+
+ +
+ + + diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupRegist.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupRegist.jsp new file mode 100644 index 00000000..d4f8b31a --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/pay/prePay/popup/PrePayPopupRegist.jsp @@ -0,0 +1,272 @@ +<% + /** + * @Class Name : PrePayRegist.jsp + * @Description : B선 회원 선결제 등록 화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ------- -------- --------------------------- + * @ 2009.02.01 박정규 최초 생성 + * 2016.06.13 김연호 표준프레임워크 v3.6 개선 + * + * @author 공통서비스팀 + * @since 2009.02.01 + * @version 1.0 + * @see + * + */ +%> +<%@ page contentType="text/html; charset=utf-8"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> + + + +전송사 선결제 관리 + + + + + + + + + + + + + + + + +
+ +
+
+
+
Loading
+
+
+ +
+
+
+

전송사 선결제 현황

+

B선 회원의 선결제 현황을 파악할 수 있습니다.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
아이디 + +
전송사 + +
결제일시 + + + + + + +
결제금액 + + 원 +
+
+ +
+
+
+
+ + diff --git a/src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/at/KakaoAlimtalkMsgDataView.jsp b/src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/at/KakaoAlimtalkMsgDataView.jsp index cc0c8401..d8565ea7 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/at/KakaoAlimtalkMsgDataView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/at/KakaoAlimtalkMsgDataView.jsp @@ -1072,21 +1072,21 @@ function checkNumber(event) {
- - + diff --git a/src/main/webapp/WEB-INF/jsp/web/kakao/stepinfo/KakaoStepInfo.jsp b/src/main/webapp/WEB-INF/jsp/web/kakao/stepinfo/KakaoStepInfo.jsp index d1dfacee..c25bd459 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kakao/stepinfo/KakaoStepInfo.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kakao/stepinfo/KakaoStepInfo.jsp @@ -56,21 +56,21 @@ function fnGoFriends(){
- - +
diff --git a/src/main/webapp/publish/css/content.css b/src/main/webapp/publish/css/content.css index f9c135f0..8e6e4847 100644 --- a/src/main/webapp/publish/css/content.css +++ b/src/main/webapp/publish/css/content.css @@ -885,11 +885,11 @@ button.check_validity:hover {border: 1px solid #a3a3a3;box-shadow: 0px 0px 5px .qna_cont .search_wrap .btn_left {float: right;} .qna {width: 100%; border-top: 2px solid #000; margin: 23px 0 50px 0;} /* 질문 */ -.qna li .question_text {font-family: 'GmarketSansMedium'; color: #002c9a; font-size: 22px; padding-right: 20px;} -.qna li button {position: relative; width: 100%; height: 74px; padding: 0 30px; text-align: left; border-bottom: 1px solid #d5d5d5; box-sizing: border-box;} +.qna li .question_text {width: 20px;font-family: 'GmarketSansMedium'; color: #002c9a; font-size: 22px; padding-right: 20px; vertical-align: top;margin: 4px 0 0 0;} +.qna li button {position: relative; width: 100%; min-height: 74px; padding: 0 30px; text-align: left; border-bottom: 1px solid #d5d5d5; box-sizing: border-box;} .qna li.open button::after {background-image: url(/publish/images/content/qna_close.png);width: 22px; height: 2px;} .qna li button::after {background-image: url(/publish/images/content/qna_open.png); background-repeat: no-repeat; position: absolute; top: 50%; transform: translateY(-50%); content: ""; width: 22px; height: 22px; right: 30px;} -.qna li button p {display: inline-block; font-size: 20px;} +.qna li button p {display: inline-block; font-size: 20px; width: calc(100% - 80px);white-space:normal; word-break:break-all;} /* 답변 */ .qna li .answer_text {font-family: 'GmarketSansMedium'; color: #eea301; font-size: 22px; padding-right: 20px; padding-top: 6px; vertical-align: top;} .qna li .qna_answer {background-color: #f5f5f5; display: none; padding: 36px 30px; border-bottom: 1px solid #d5d5d5; display: none; box-sizing: border-box;}