package com.bonus.canteen.core.kitchen.mapper;

import java.util.List;
import com.bonus.canteen.core.kitchen.domain.KitchenStaffDevicePrivilege;

/**
 * 厨房员工设备权限Mapper接口
 *
 * @author xsheng
 * @date 2025-06-17
 */
public interface KitchenStaffDevicePrivilegeMapper {
    /**
     * 查询厨房员工设备权限
     *
     * @param id 厨房员工设备权限主键
     * @return 厨房员工设备权限
     */
    public KitchenStaffDevicePrivilege selectKitchenStaffDevicePrivilegeById(Long id);

    /**
     * 查询厨房员工设备权限
     *
     * @param staffId 厨房员工
     * @return 厨房员工设备权限
     */
    public List<KitchenStaffDevicePrivilege> selectKitchenStaffDevicePrivilegeByStaffId(Long staffId);

    /**
     * 查询厨房员工设备权限列表
     *
     * @param kitchenStaffDevicePrivilege 厨房员工设备权限
     * @return 厨房员工设备权限集合
     */
    public List<KitchenStaffDevicePrivilege> selectKitchenStaffDevicePrivilegeList(KitchenStaffDevicePrivilege kitchenStaffDevicePrivilege);

    /**
     * 新增厨房员工设备权限
     *
     * @param kitchenStaffDevicePrivilege 厨房员工设备权限
     * @return 结果
     */
    public int insertKitchenStaffDevicePrivilege(KitchenStaffDevicePrivilege kitchenStaffDevicePrivilege);

    /**
     * 修改厨房员工设备权限
     *
     * @param kitchenStaffDevicePrivilege 厨房员工设备权限
     * @return 结果
     */
    public int updateKitchenStaffDevicePrivilege(KitchenStaffDevicePrivilege kitchenStaffDevicePrivilege);

    /**
     * 删除厨房员工设备权限
     *
     * @param id 厨房员工设备权限主键
     * @return 结果
     */
    public int deleteKitchenStaffDevicePrivilegeById(Long id);

    /**
     * 批量删除厨房员工设备权限
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteKitchenStaffDevicePrivilegeByIds(Long[] ids);

    public int deleteKitchenStaffDevicePrivilegeByStaffId(Long staffId);

    public int deleteKitchenStaffDevicePrivilegeByStaffIds(Long[] staffIds);
}
