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 java.util.List;

/**
 * @author admin
 * @Title: ITaUserAuthButtonService
 * @Description: TODO
 * @date 2019/9/23
 */
public interface ITaUserAuthButtonService extends IService<SysButtonInMenu> {

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

    ResponseBean getAllButton(Integer pageNum, Integer pageSize);

    ResponseBean updateUserAuthButton(Integer userId, List<SysButtonInMenu> sysButtonInMenus);
}
