package com.ruoyi.feeagreement.mapper;

import java.util.List;
import com.ruoyi.feeagreement.domain.TWarehouseFeeAgreementType;

/**
 * 费用协议主表Mapper接口
 * 
 * @author dongyongwei
 * @date 2021-08-04
 */
public interface TWarehouseFeeAgreementTypeMapper 
{
    /**
     * 查询费用协议主表
     * 
     * @param fId 费用协议主表ID
     * @return 费用协议主表
     */
    public TWarehouseFeeAgreementType selectTWarehouseFeeAgreementTypeById(Long fId);

    /**
     * 查询费用协议主表列表
     * 
     * @param tWarehouseFeeAgreementType 费用协议主表
     * @return 费用协议主表集合
     */
    public List<TWarehouseFeeAgreementType> selectTWarehouseFeeAgreementTypeList(TWarehouseFeeAgreementType tWarehouseFeeAgreementType);

    /**
     * 新增费用协议主表
     * 
     * @param tWarehouseFeeAgreementType 费用协议主表
     * @return 结果
     */
    public int insertTWarehouseFeeAgreementType(TWarehouseFeeAgreementType tWarehouseFeeAgreementType);

    /**
     * 修改费用协议主表
     * 
     * @param tWarehouseFeeAgreementType 费用协议主表
     * @return 结果
     */
    public int updateTWarehouseFeeAgreementType(TWarehouseFeeAgreementType tWarehouseFeeAgreementType);

    /**
     * 删除费用协议主表
     * 
     * @param fId 费用协议主表ID
     * @return 结果
     */
    public int deleteTWarehouseFeeAgreementTypeById(Long fId);

    /**
     * 批量删除费用协议主表
     * 
     * @param fIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTWarehouseFeeAgreementTypeByIds(Long[] fIds);
}
