Browse Source

adminmenu

huwhois 5 years ago
parent
commit
fe65ed584a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/io/renren/modules/admin/dao/AdminMenuDao.java

+ 1 - 1
src/main/java/io/renren/modules/admin/dao/AdminMenuDao.java

@ -18,6 +18,6 @@ public interface AdminMenuDao extends BaseMapper<AdminMenuEntity> {
18 18
	 * 根据父菜单,查询子菜单
19 19
	 * @param parentId 父菜单ID
20 20
	 */
21
	@Select("select * from admin_menu where parent_id = #{parentId} order by order_num asc")
21
	@Select("select * from admin_menu where parent_id = #{parentId} and type!=2 order by order_num asc")
22 22
	List<AdminMenuEntity> queryListParentId(Long parentId);
23 23
}