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

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

/**
 * 厨房后场设备传感器记录Mapper接口
 * 
 * @author xsheng
 * @date 2025-06-16
 */
public interface KitchenDeviceSensorRecordMapper {
    /**
     * 查询厨房后场设备传感器记录
     * 
     * @param recordId 厨房后场设备传感器记录主键
     * @return 厨房后场设备传感器记录
     */
    public KitchenDeviceSensorRecord selectKitchenDeviceSensorRecordByRecordId(Long recordId);

    /**
     * 查询厨房后场设备传感器记录列表
     * 
     * @param kitchenDeviceSensorRecord 厨房后场设备传感器记录
     * @return 厨房后场设备传感器记录集合
     */
    public List<KitchenDeviceSensorRecord> selectKitchenDeviceSensorRecordList(KitchenDeviceSensorRecord kitchenDeviceSensorRecord);

    /**
     * 新增厨房后场设备传感器记录
     * 
     * @param kitchenDeviceSensorRecord 厨房后场设备传感器记录
     * @return 结果
     */
    public int insertKitchenDeviceSensorRecord(KitchenDeviceSensorRecord kitchenDeviceSensorRecord);

    /**
     * 修改厨房后场设备传感器记录
     * 
     * @param kitchenDeviceSensorRecord 厨房后场设备传感器记录
     * @return 结果
     */
    public int updateKitchenDeviceSensorRecord(KitchenDeviceSensorRecord kitchenDeviceSensorRecord);

    /**
     * 删除厨房后场设备传感器记录
     * 
     * @param recordId 厨房后场设备传感器记录主键
     * @return 结果
     */
    public int deleteKitchenDeviceSensorRecordByRecordId(Long recordId);

    /**
     * 批量删除厨房后场设备传感器记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteKitchenDeviceSensorRecordByRecordIds(Long[] recordIds);
}
