From c8214eaaea4a3f2daec275f3eb3c7950b4d23d2c Mon Sep 17 00:00:00 2001 From: JIWOO Date: Thu, 2 Jan 2025 12:03:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20-=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=EC=9E=90=20>=20=EB=B2=95=EB=A5=A0=EC=83=81=EB=8B=B4?= =?UTF-8?q?=EC=98=88=EC=95=BD=20>=20=EC=A1=B0=ED=9A=8C=20=EC=BF=BC?= =?UTF-8?q?=EB=A6=AC=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/user/mypage/WebMyPageController.java | 9 +++- .../config/mappers/counsel/counsel_sql.xml | 20 ++++++-- .../_extra/web/user/myPage/myLawCounsel.jsp | 38 +++++++++++++- .../web/user/myPage/myMediationList.jsp | 51 ++++++++++++++++++- 4 files changed, 109 insertions(+), 9 deletions(-) diff --git a/src/main/java/seed/com/user/mypage/WebMyPageController.java b/src/main/java/seed/com/user/mypage/WebMyPageController.java index 569e527a..3c55c691 100644 --- a/src/main/java/seed/com/user/mypage/WebMyPageController.java +++ b/src/main/java/seed/com/user/mypage/WebMyPageController.java @@ -1084,8 +1084,15 @@ private Logger log = Logger.getLogger(this.getClass()); paramMap.put("pageStart", cri.getPageStart()); paramMap.put("perPageNum", cri.getPerPageNum()); paramMap.put("civilType", "law"); - paramMap.put("hpDi", session.getAttribute("hpDi")); + paramMap.put("certDi", session.getAttribute("certDi")); + try { + CertVO certVO = certService.selectCert(FairnetUtils.getCertSession(req)); + paramMap.put("certId", certVO.getCertId()); + }catch(Exception ex) { + ex.printStackTrace(); + } + List> data = service2.counselList(paramMap); PageMaker pageMaker = new PageMaker(); diff --git a/src/main/resources/egovframework/sqlmap/config/mappers/counsel/counsel_sql.xml b/src/main/resources/egovframework/sqlmap/config/mappers/counsel/counsel_sql.xml index e781706f..b1abb4c6 100644 --- a/src/main/resources/egovframework/sqlmap/config/mappers/counsel/counsel_sql.xml +++ b/src/main/resources/egovframework/sqlmap/config/mappers/counsel/counsel_sql.xml @@ -129,8 +129,14 @@ FROM C_ONLINE_COUNSEL COC WHERE CIVIL_TYPE = #{civilType} AND DEL_YN = 'N' - - AND APPLCNT_DI = #{hpDi} + + AND (APPLCNT_DI = #{certId} OR APPLCNT_DI = #{certDi}) + + + AND APPLCNT_DI = #{certId} + + + AND APPLCNT_DI = #{certDi} AND TO_CHAR(COUNSEL_REGDATE,'YYYYMMDD') >= TO_CHAR(TO_DATE(replace(#{searchDate1},'-',''),'YYYYMMDD'), 'YYYYMMDD') @@ -183,8 +189,14 @@ FROM C_ONLINE_COUNSEL WHERE CIVIL_TYPE = #{civilType} AND DEL_YN = 'N' - - AND APPLCNT_DI = #{hpDi} + + AND (APPLCNT_DI = #{certId} OR APPLCNT_DI = #{certDi}) + + + AND APPLCNT_DI = #{certId} + + + AND APPLCNT_DI = #{certDi} AND TO_CHAR(COUNSEL_REGDATE,'YYYYMMDD') >= TO_CHAR(TO_DATE(replace(#{searchDate1},'-',''),'YYYYMMDD'), 'YYYYMMDD') diff --git a/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myLawCounsel.jsp b/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myLawCounsel.jsp index c15f2c90..ce37d64d 100644 --- a/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myLawCounsel.jsp +++ b/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myLawCounsel.jsp @@ -104,7 +104,7 @@ $("#counselSeq").remove(); $("#fileFuncType").remove(); $("#page").val(param); - $("#frm").attr("action","/web/user/mypage/case/03/242/myLawCounsel.do"); + $("#frm").attr("action","/web/user/mypage/case/03/242/myLawCounselList.do"); $("#frm").submit(); } } @@ -181,7 +181,7 @@
-

전체 3,581건(10/400 페이지)

+

전체 건(${pageMaker.cri.page}/${pageMaker.endPage} 페이지)

@@ -246,6 +246,40 @@
+ +
    + +
  • + + +
  • +
    + +
  • +
    +
    + + + + +
  • ${idx}
  • +
    + +
  • ${idx}
  • +
    +
    +
    + + + +
  • +
    + +
  • +
    +
    +
  • +
diff --git a/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myMediationList.jsp b/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myMediationList.jsp index c7d30045..cd617614 100644 --- a/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myMediationList.jsp +++ b/src/main/webapp/WEB-INF/jsp/_extra/web/user/myPage/myMediationList.jsp @@ -39,6 +39,20 @@ function mediationPop(){ window.open('/web/user/mypage/case/01/169/mediationPop.do', 'mediationPop', 'width=710, height=350') } + + function goPage(type, param){ + if(type == 'view'){ + $("#counselSeq").val(param); + $("#frm").attr("action","/web/user/mypage/case/01/169/myLawCounselDetail.do"); + $("#frm").submit(); + }else if(type == 'paging'){ + $("#counselSeq").remove(); + $("#fileFuncType").remove(); + $("#page").val(param); + $("#frm").attr("action","/web/user/mypage/case/01/169/myMediationList.do"); + $("#frm").submit(); + } + }
@@ -58,14 +72,14 @@
  • --> -
  • +
  • -

    전체 건 (1/1페이지)

    +

    전체 건(${pageMaker.cri.page}/${pageMaker.endPage} 페이지)

    @@ -129,6 +143,39 @@

    ※ 사건접수 완료 후 진행상황은 홈페이지 메뉴 분쟁조정 사건조회에서 조회가 가능합니다.

    +
      + +
    • + + +
    • +
      + +
    • +
      +
      + + + + +
    • ${idx}
    • +
      + +
    • ${idx}
    • +
      +
      +
      + + + +
    • +
      + +
    • +
      +
      +
    • +