package com.weather.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.weather.entity.WeaRotaInfo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 值班类
 * </p>
 *
 * @author feng
 * @since 2023-09-05
 */
public interface IWeaRotaInfoService extends IService<WeaRotaInfo> {


    /**
     * 查询值班信息
     *
     * @param id 值班ID
     * @return 值班信息
     */
    public WeaRotaInfo selectWeaRotaInfoById(Long id);

    /**
     * 查询值班信息
     *
     * @param startDate,endDate 
     * @return 值班信息
     */

    public List<WeaRotaInfo> selectWeaRotaInfoByDate(Date startDate, Date endDate);

    /**
     * 查询值班列表
     *
     * @param weaRotaInfo 值班信息
     * @return 值班集合
     */
    public List<WeaRotaInfo> selectWeaRotaInfoList(WeaRotaInfo weaRotaInfo);

    /**
     * 新增值班
     *
     * @param weaRotaInfo 值班信息
     * @return 结果
     */
    public int insertWeaRotaInfo(WeaRotaInfo weaRotaInfo);

    /**
     * 修改值班
     *
     * @param weaRotaInfo 值班信息
     * @return 结果
     */
    public int updateWeaRotaInfo(WeaRotaInfo weaRotaInfo);

    /**
     * 删除值班信息
     *
     * @param id 值班ID
     * @return 结果
     */
    public int deleteWeaRotaInfoById(Long id);


}
