package com.huiju.estateagents.center.taUser.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huiju.estateagents.base.ResponseBean;
import com.huiju.estateagents.entity.SysButtonInMenu;
import com.huiju.estateagents.entity.SysMenu;
import com.huiju.estateagents.entity.TaRole;

import java.util.List;

/**
 * @author admin
 * @Title: ITaUserAuthMenuService
 * @Description: TODO
 * @date 2019/9/21
 */
public interface ITaUserAuthMenuService extends IService<SysMenu> {

    ResponseBean getMenuByUserId(Integer pageNum, Integer pageSize, String userId, Integer orgId);

    ResponseBean getAllMenu(Integer pageNum, Integer pageSize, Integer orgId, List<TaRole> roles);

    ResponseBean updateUserAuthMenu(Integer userId, List<SysMenu> sysMenuList,String name,Integer orgid,List<SysButtonInMenu> sysButtonInMenuList);
}
