Browse Source

쿼리 수정

SH 10 months ago
parent
commit
a3cdc4be68

+ 2 - 2
src/main/resources/sqlmap/mappers/cw/cw1505/CW15050001UMapper.xml

@@ -17,8 +17,8 @@
 			,	A.NOTE
 			,	A.NOTE
 			,	A.USE_YN
 			,	A.USE_YN
 		FROM ZEHR_CAR_CARD A, ZEHR_CAR_INFO B
 		FROM ZEHR_CAR_CARD A, ZEHR_CAR_INFO B
-		WHERE A.CMPN_CD = B.CMPN_CD
-		  AND A.CAR_ID = B.CAR_ID
+		WHERE A.CMPN_CD = B.CMPN_CD(+)
+		  AND A.CAR_ID = B.CAR_ID(+)
 		  AND A.CMPN_CD = #{cmpnCd}
 		  AND A.CMPN_CD = #{cmpnCd}
 		
 		
 		<if test="cardGbn != '' and cardGbn != null and cardGbn != 'all'">
 		<if test="cardGbn != '' and cardGbn != null and cardGbn != 'all'">