package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.OperatingHours;

import java.util.List;

/**
 * OperatingHoursMapper接口
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
public interface OperatingHoursMapper  extends BaseMapper<OperatingHours>
{
    /**
     * 查询OperatingHours
     * 
     * @param id OperatingHours主键
     * @return OperatingHours
     */
    public OperatingHours selectOperatingHoursById(Long id);

    /**
     * 查询OperatingHours列表
     * 
     * @param operatingHours OperatingHours
     * @return OperatingHours集合
     */
    public List<OperatingHours> selectOperatingHoursList(OperatingHours operatingHours);

    /**
     * 新增OperatingHours
     * 
     * @param operatingHours OperatingHours
     * @return 结果
     */
    public int insertOperatingHours(OperatingHours operatingHours);

    /**
     * 修改OperatingHours
     * 
     * @param operatingHours OperatingHours
     * @return 结果
     */
    public int updateOperatingHours(OperatingHours operatingHours);

    /**
     * 删除OperatingHours
     * 
     * @param id OperatingHours主键
     * @return 结果
     */
    public int deleteOperatingHoursById(Long id);

    /**
     * 批量删除OperatingHours
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOperatingHoursByIds(Long[] ids);
}
