|
@@ -10,9 +10,13 @@
|
|
|
, B.EMP_NM
|
|
|
, '20' AS MAIL_GBN
|
|
|
, '00' AS STATUS_CD
|
|
|
- FROM ZEHR_CE_EVAL A, ZEHR_PHM_INFO_R B
|
|
|
+ FROM ZEHR_CE_EVAL A, ZEHR_PHM_INFO_R B, ZEHR_CE_EVAL_DTL C
|
|
|
WHERE A.CMPN_CD = B.CMPN_CD
|
|
|
+ AND A.CMPN_CD = C.CMPN_CD
|
|
|
AND A.EVAL_EMP_NO = B.EMP_NO
|
|
|
+ AND A.YEAR_YY = C.YEAR_YY
|
|
|
+ AND A.EMP_NO = C.EMP_NO
|
|
|
+ AND A.EVAL_EMP_NO = C.EVAL_EMP_NO
|
|
|
AND A.CMPN_CD = #{cmpnCd}
|
|
|
AND A.YEAR_YY = #{yy}
|
|
|
AND A.CONF = '10'
|