package cn.iocoder.yudao.module.inspection.service;

import cn.iocoder.yudao.module.inspection.entity.InspectionFile;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * inspectionFileService接口
 *
 * @author zcy
 * @date 2023-10-13
 */
public interface IInspectionFileService  extends IService<InspectionFile>
{
    /**
     * 查询inspectionFile
     *
     * @param id inspectionFile主键
     * @return inspectionFile
     */
    public InspectionFile selectInspectionFileById(Long id);


    /**
     * 新增inspectionFile
     *
     * @param inspectionFile inspectionFile
     * @return 结果
     */
    public int insertInspectionFile(InspectionFile inspectionFile);

    /**
     * 修改inspectionFile
     *
     * @param inspectionFile inspectionFile
     * @return 结果
     */
    public int updateInspectionFile(InspectionFile inspectionFile);

    /**
     * 批量删除inspectionFile
     *
     * @param ids 需要删除的inspectionFile主键集合
     * @return 结果
     */
    public int deleteInspectionFileByIds(Long[] ids);

    /**
     * 删除inspectionFile信息
     *
     * @param id inspectionFile主键
     * @return 结果
     */
    public int deleteInspectionFileById(Long id);


    /**
     * 分页查询 InspectionFile 列表
     *
     * @param page 分页对象
     * @param inspectionFile 查询条件
     * @return 分页结果
     */
    IPage<InspectionFile> selectInspectionFileList(Page<InspectionFile> page, InspectionFile inspectionFile);
}
