package com.zehong.system.mapper;

import java.util.List;
import com.zehong.system.domain.TSupervisionInspection;

/**
 * 监督检查记录Mapper接口
 *
 * @author zehong
 * @date 2026-03-16
 */
public interface TSupervisionInspectionMapper
{
    /**
     * 查询监督检查记录
     *
     * @param id 监督检查记录ID
     * @return 监督检查记录
     */
    public TSupervisionInspection selectTSupervisionInspectionById(Long id);

    /**
     * 查询监督检查记录列表
     *
     * @param tSupervisionInspection 监督检查记录
     * @return 监督检查记录集合
     */
    public List<TSupervisionInspection> selectTSupervisionInspectionList(TSupervisionInspection tSupervisionInspection);

    /**
     * 新增监督检查记录
     *
     * @param tSupervisionInspection 监督检查记录
     * @return 结果
     */
    public int insertTSupervisionInspection(TSupervisionInspection tSupervisionInspection);

    /**
     * 修改监督检查记录
     *
     * @param tSupervisionInspection 监督检查记录
     * @return 结果
     */
    public int updateTSupervisionInspection(TSupervisionInspection tSupervisionInspection);

    /**
     * 删除监督检查记录
     *
     * @param id 监督检查记录ID
     * @return 结果
     */
    public int deleteTSupervisionInspectionById(Long id);

    /**
     * 批量删除监督检查记录
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTSupervisionInspectionByIds(Long[] ids);
}