package com.zc.business.service;

import java.util.HashMap;
import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.zc.business.domain.DcShifts;
import com.zc.business.domain.DcShiftsRecord;
import org.springframework.web.multipart.MultipartFile;

/**
 * 值班Service接口
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public interface IDcShiftsService 
{
    /**
     * 查询值班
     * 
     * @param id 值班主键
     * @return 值班
     */
    public DcShifts selectDcShiftsById(Long id);
    /**
     * 查询值班
     *
     * @param dcShifts 值班主键
     * @return 值班
     */
    public List<DcShifts> selectDcShiftsByStationId(DcShifts dcShifts);
    /**
     * 查询值班列表
     * 
     * @param dcShifts 值班
     * @return 值班集合
     */
    List<DcShifts> selectDcShiftsList(DcShifts dcShifts);

    List<DcShifts> selectDcShiftsListExcel(DcShifts dcShifts);

    /**
     * 新增值班
     * 
     * @param dcShifts 值班
     * @return 结果
     */
    int insertDcShifts(DcShifts dcShifts) throws Exception;

    /**
     * 修改值班
     * 
     * @param dcShifts 值班
     * @return 结果
     */
    int updateDcShifts(DcShifts dcShifts) throws Exception;

    /**
     * 批量删除值班
     * 
     * @param ids 需要删除的值班主键集合
     * @return 结果
     */
    int deleteDcShiftsByIds(Long[] ids)throws Exception;
    int deleteDcShiftsListId(DcShifts dcShifts)throws Exception;
    /**
     * 删除值班信息
     * 
     * @param id 值班主键
     * @return 结果
     */
    int deleteDcShiftsById(Long id) throws Exception;

    //导入文档数据
    public AjaxResult importEquipment(MultipartFile file) throws Exception;
    //查询操作记录表
    public List<DcShiftsRecord> selectDcShiftsRecord(DcShifts dcShifts);
}