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

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.kitchen.domain.KitchenDeviceInfo;
import com.bonus.canteen.core.kitchen.dto.KitchenDeviceListDTO;
import com.bonus.canteen.core.kitchen.vo.KitchenDeviceListVO;

/**
 * 厨房设备基础信息Mapper接口
 *
 * @author xsheng
 * @date 2025-06-16
 */
public interface KitchenDeviceInfoMapper extends BaseMapper<KitchenDeviceInfo> {
    /**
     * 查询厨房设备基础信息
     *
     * @param deviceId 厨房设备基础信息主键
     * @return 厨房设备基础信息
     */
    public KitchenDeviceListVO selectKitchenDeviceInfoByDeviceId(Long deviceId);


    public KitchenDeviceInfo selectKitchenDeviceInfoByDeviceIdk(Long deviceId);
    /**
     * 查询厨房设备基础信息列表
     *
     * @param kitchenDeviceInfo 厨房设备基础信息
     * @return 厨房设备基础信息集合
     */
    public List<KitchenDeviceListVO> selectKitchenDeviceInfoList(KitchenDeviceListDTO kitchenDeviceInfo);

    /**
     * 新增厨房设备基础信息
     *
     * @param kitchenDeviceInfo 厨房设备基础信息
     * @return 结果
     */
    public int insertKitchenDeviceInfo(KitchenDeviceInfo kitchenDeviceInfo);

    /**
     * 修改厨房设备基础信息
     *
     * @param kitchenDeviceInfo 厨房设备基础信息
     * @return 结果
     */
    public int updateKitchenDeviceInfo(KitchenDeviceInfo kitchenDeviceInfo);

    /**
     * 删除厨房设备基础信息
     *
     * @param deviceId 厨房设备基础信息主键
     * @return 结果
     */
    public int deleteKitchenDeviceInfoByDeviceId(Long deviceId);

    /**
     * 批量删除厨房设备基础信息
     *
     * @param deviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteKitchenDeviceInfoByDeviceIds(List<Long> deviceIds);
}
