package com.bonus.material.warehouse.mapper;

import java.util.List;
import com.bonus.material.warehouse.domain.WhDirectApplyDetails;

/**
 * 工地直转详情Mapper接口
 * 
 * @author xsheng
 * @date 2024-09-27
 */
public interface WhDirectApplyDetailsMapper 
{
    /**
     * 查询工地直转详情
     * 
     * @param id 工地直转详情主键
     * @return 工地直转详情
     */
    public WhDirectApplyDetails selectWhDirectApplyDetailsById(Long id);

    /**
     * 查询工地直转详情列表
     * 
     * @param whDirectApplyDetails 工地直转详情
     * @return 工地直转详情集合
     */
    public List<WhDirectApplyDetails> selectWhDirectApplyDetailsList(WhDirectApplyDetails whDirectApplyDetails);

    /**
     * 新增工地直转详情
     * 
     * @param whDirectApplyDetails 工地直转详情
     * @return 结果
     */
    public int insertWhDirectApplyDetails(WhDirectApplyDetails whDirectApplyDetails);

    /**
     * 修改工地直转详情
     * 
     * @param whDirectApplyDetails 工地直转详情
     * @return 结果
     */
    public int updateWhDirectApplyDetails(WhDirectApplyDetails whDirectApplyDetails);

    /**
     * 删除工地直转详情
     * 
     * @param id 工地直转详情主键
     * @return 结果
     */
    public int deleteWhDirectApplyDetailsById(Long id);

    /**
     * 批量删除工地直转详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWhDirectApplyDetailsByIds(Long[] ids);
}
