package com.zd.system.service;

import java.util.List;

import com.zd.system.domain.SysPermitMenuDept;

/**
 * 权限菜单和部门关联Service接口
 *
 * @author liubo
 * @date 2022-03-21
 */
public interface ISysPermitMenuDeptService {
    /**
     * 查询权限菜单和部门关联
     *
     * @param permitMenuId 权限菜单和部门关联主键
     * @return 权限菜单和部门关联
     */
    public SysPermitMenuDept selectSysPermitMenuDeptByPermitMenuId(Long permitMenuId);

    /**
     * 查询权限菜单和部门关联列表
     *
     * @param sysPermitMenuDept 权限菜单和部门关联
     * @return 权限菜单和部门关联集合
     */
    public List<SysPermitMenuDept> selectSysPermitMenuDeptList(SysPermitMenuDept sysPermitMenuDept);

    /**
     * 新增权限菜单和部门关联
     *
     * @param sysPermitMenuDept 权限菜单和部门关联
     * @return 结果
     */
    public int insertSysPermitMenuDept(SysPermitMenuDept sysPermitMenuDept);

    /**
     * 修改权限菜单和部门关联
     *
     * @param sysPermitMenuDept 权限菜单和部门关联
     * @return 结果
     */
    public int updateSysPermitMenuDept(SysPermitMenuDept sysPermitMenuDept);

    /**
     * 批量删除权限菜单和部门关联
     *
     * @param permitMenuIds 需要删除的权限菜单和部门关联主键集合
     * @return 结果
     */
    public int deleteSysPermitMenuDeptByPermitMenuIds(Long[] permitMenuIds);

    /**
     * 删除权限菜单和部门关联信息
     *
     * @param permitMenuId 权限菜单和部门关联主键
     * @return 结果
     */
    public int deleteSysPermitMenuDeptByPermitMenuId(Long permitMenuId);
}
