package com.zehong.system.service;

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

/**
 * 隐患审核记录Service接口
 * 
 * @author zehong
 * @date 2026-07-17
 */
public interface ITDangerApprovalRecordService 
{
    /**
     * 查询隐患审核记录
     * 
     * @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 approvalIds 需要删除的隐患审核记录ID
     * @return 结果
     */
    public int deleteTDangerApprovalRecordByIds(Long[] approvalIds);

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