package com.siwei.rsmonitoring.mapper;

import java.util.List;

import com.siwei.rsmonitoring.domain.TDkAuditflowRecord;
import org.apache.ibatis.annotations.Param;

/**
 * 地块核查流程Mapper接口
 *
 * @author siwei
 * @date 2025-01-21
 */
public interface TDkAuditflowRecordMapper {
    /**
     * 查询地块核查流程
     *
     * @param id 地块核查流程主键
     * @return 地块核查流程
     */
    public TDkAuditflowRecord selectTDkAuditflowRecordById(String id);

    /**
     * 查询地块核查流程列表
     *
     * @param tDkAuditflowRecord 地块核查流程
     * @return 地块核查流程集合
     */
    public List<TDkAuditflowRecord> selectTDkAuditflowRecordList(TDkAuditflowRecord tDkAuditflowRecord);
    public List<TDkAuditflowRecord> selectTDkAuditflowRecordListBusiness(TDkAuditflowRecord tDkAuditflowRecord);

    /**
     * 新增地块核查流程
     *
     * @param tDkAuditflowRecord 地块核查流程
     * @return 结果
     */
    public int insertTDkAuditflowRecord(TDkAuditflowRecord tDkAuditflowRecord);

    /**
     * 修改地块核查流程
     *
     * @param tDkAuditflowRecord 地块核查流程
     * @return 结果
     */
    public int updateTDkAuditflowRecord(TDkAuditflowRecord tDkAuditflowRecord);

    /**
     * 删除地块核查流程
     *
     * @param id 地块核查流程主键
     * @return 结果
     */
    public int deleteTDkAuditflowRecordById(String id);

    /**
     * 批量删除地块核查流程
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTDkAuditflowRecordByIds(String[] ids);
}
