|
@@ -31,8 +31,8 @@
|
|
|
LEFT JOIN SM_COM_COMMCD_D B ON A.COMM_CD_ID = B.COMM_CD_ID
|
|
|
WHERE A.CMPN_CD = #{cmpnCd}
|
|
|
AND A.COMM_CD = 'CS004'
|
|
|
-
|
|
|
) B1 ON A1.JOB_GB_CD = B1.SPEC_CD
|
|
|
+ WHERE A1.CRPD_YN = 'Y'
|
|
|
GROUP BY A1.CMPN_CD, A1.COVEND_ID
|
|
|
) B ON A.CMPN_CD = B.CMPN_CD AND A.COVEND_ID = B.COVEND_ID
|
|
|
LEFT JOIN (
|