Ver código fonte

getLoginMenuList 쿼리문 수정

gagamel 5 anos atrás
pai
commit
23c89be816

+ 1 - 1
src/main/java/com/style24/persistence/mybatis/shop/TsaLogin.xml

@@ -207,9 +207,9 @@
 		                        ),0) > 0 THEN 1
 		            ELSE 0
 		       END        AS LEAF_LVL /*말단레벨*/
+		     , RANK() OVER(ORDER BY DISP_ORD) AS RK
 		FROM   CONNECTBY2 A
 		WHERE  MENU_ID NOT LIKE 'P%' /*팝업메뉴제외*/
-		ORDER  BY DISP_ORD
 	</select>
 
 </mapper>