package com.ibeetl.admin.core.dao;

import com.ibeetl.admin.core.entity.CoreMenu;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

@SqlResource("core.coreMenu")
public interface CoreMenuDao extends BaseMapper<CoreMenu> {

    void queryByCondtion(PageQuery query);

    void clearMenuFunction(List<Long> functionIds);


    List<CoreMenu> allMenuWithURL();

}
