package com.zehong.system.mapper;

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

/**
 * 隐患审核记录Mapper接口
 * 
 * @author zehong
 * @date 2026-07-17
 */
public interface TDangerApprovalRecordMapper 
{
    /**
     * 查询隐患审核记录
     * 
     * @param approvalId 隐患审核记录ID
     * @return 隐患审核记录
     */
    public TDangerApprovalRecord selectTDangerApprovalRecordById(Long approvalId);

    /**
     * 查询隐患审核记录列表
     * 
     * @param tDangerApprovalRecord 隐患审核记录
     * @return 隐患审核记录集合
     */
    public List<TDangerApprovalRecord> selectTDangerApprovalRecordList(TDangerApprovalRecord tDangerApprovalRecord);

    /**
     * 新增隐患审核记录
     * 
     * @param tDangerApprovalRecord 隐患审核记录
     * @return 结果
     */
    public int insertTDangerApprovalRecord(TDangerApprovalRecord tDangerApprovalRecord);

    /**
     * 修改隐患审核记录
     * 
     * @param tDangerApprovalRecord 隐患审核记录
     * @return 结果
     */
    public int updateTDangerApprovalRecord(TDangerApprovalRecord tDangerApprovalRecord);

    /**
     * 删除隐患审核记录
     * 
     * @param approvalId 隐患审核记录ID
     * @return 结果
     */
    public int deleteTDangerApprovalRecordById(Long approvalId);

    /**
     * 批量删除隐患审核记录
     * 
     * @param approvalIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTDangerApprovalRecordByIds(Long[] approvalIds);
}
