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 @@
- +