From c122d43ca5e0c93ab67c6a8e2244f7eebb34551e Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 27 Jun 2023 13:50:46 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=80=EC=83=89=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=EC=9A=B0=EC=83=81=EB=8B=A8=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/fims/crdn/crdn06-mapper.xml | 13 +- .../WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 119 +++++++++--------- .../WEB-INF/jsp/fims/crdn/crdn06030-main.jsp | 67 +++++----- .../WEB-INF/jsp/fims/crdn/crdn06040-main.jsp | 94 +++++++------- 4 files changed, 139 insertions(+), 154 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml index f68dea46..1c21ba41 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml @@ -192,7 +192,7 @@ SELECT C.CRDN_ID , C.DEL_DT , C.DEL_RSN FROM TB_CRDN C -LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CRDN_ID = CC.CRDN_ID) +LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) WHERE C.DEL_YN = 'N' @@ -235,7 +235,11 @@ SELECT C.CRDN_ID , CONCAT(C.CRDN_YMD,'',C.CRDN_TM) AS CRDN_YMD_TM , C.VHRNO , C.CRDN_STDG_NM - + , IF(CC.CVLCPT_APLCNT_NM != '', CC.CVLCPT_APLCNT_NM, + IF(TI.TEAMER_1 != '', TI.TEAMER_1, + IF(TI.TEAMER_2 != '', TI.TEAMER_2, + IF(TI.TEAMER_3 != '', TI.TEAMER_3, + TI.TEAMER_4)))) AS APLCNT_CRDN_NM , CC.CVLCPT_APLCNT_NM , C.TEAM_ID , C.VLTN_ID @@ -254,7 +258,8 @@ SELECT C.CRDN_ID , C.DEL_DT , C.DEL_RSN FROM TB_CRDN C -LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CRDN_ID = CC.CRDN_ID) +LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) +LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID) WHERE C.DEL_YN = 'N' @@ -305,7 +310,7 @@ SELECT C.CRDN_ID , C.DEL_DT , C.DEL_RSN FROM TB_CRDN C -LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CRDN_ID = CC.CRDN_ID) +LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) WHERE C.DEL_YN = 'N' diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index b65ddc58..1d4f7a11 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -11,74 +11,67 @@
- +