Browse Source

Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal

RainMan 2 years ago
parent
commit
2186e3f9ee
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/main/resources/sqlmap/mappers/com/ComAuthPrgMngMapper.xml

+ 7 - 0
src/main/resources/sqlmap/mappers/com/ComAuthPrgMngMapper.xml

@@ -10,6 +10,13 @@
 		  FROM SM_COM_AUTHGRP
 		  FROM SM_COM_AUTHGRP
 		 WHERE CMPN_CD = #{cmpnCd}
 		 WHERE CMPN_CD = #{cmpnCd}
 		   AND AUTH_GRP_NM LIKE '%' || #{authGrpNm} || '%'
 		   AND AUTH_GRP_NM LIKE '%' || #{authGrpNm} || '%'
+		   AND AUTH_SITE_YN IN (SELECT S2.SPEC_CD 
+	                            FROM SM_COM_COMMCD        S1
+	                                 JOIN SM_COM_COMMCD_D S2 ON S1.COMM_CD_ID = S2.COMM_CD_ID 
+	                           WHERE S1.CMPN_CD = 'S0001'     /* 고정 */
+	                             AND S1.COMM_CD = 'SM002'     /* 고정 */
+	                             AND S2.ESBS_CD1 = 'WEB'       /* 고정 */
+	                          ) 
     </select>
     </select>
 
 
     <select id="selectComAuthPrgMenuMng" parameterType="map" resultType="easyHashMap">
     <select id="selectComAuthPrgMenuMng" parameterType="map" resultType="easyHashMap">