Browse Source

협력업체관리-쿼리수정

DESKTOP-P60829B\User 2 years ago
parent
commit
36a7d7c6ad

+ 1 - 1
src/main/resources/sqlmap/mappers/cs/cs0001/CS00010001UMapper.xml

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