package com.moral.api.service; import com.moral.api.entity.ManageMenu; import com.baomidou.mybatisplus.extension.service.IService; import com.moral.api.entity.ManageRole; import org.springframework.transaction.annotation.Transactional; import java.util.List; import java.util.Map; /** *

* 后台菜单 服务类 *

* * @author moral * @since 2021-03-09 */ @Transactional public interface ManageMenuService extends IService { @Transactional Map insertManageMenu(ManageMenu manageMenu); @Transactional Map updateManageMenu(Map map); @Transactional Map deleteManageMenu(Map map); List> getAllWithPagingQuery(Map map); List getAllMenus(); List getManageMenuByRoleId(int roleId); List getManageChildMenuByRoleId(int roleId); List> getManageMenuByNameFuzzy(Map map); Map getManageMenuByCondition(Map map); Map getManageParentMenu(Map map); List> getManageMenuByParentId(Map map); List getParentChildrenMenusByRoles(List roles); }