package com.ruoyi.warehouseBusiness.service;


import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreementitems;
import com.ruoyi.warehouseBusiness.dto.TWarehouseAgreementitem;

import java.util.List;
import java.util.Map;

/**
 * 仓储费明细表Service接口
 *
 * @author ruoyi
 * @date 2020-12-11
 */
public interface ITWarehouseAgreementitemsService {
    /**
     * 查询仓储费明细表
     *
     * @param fId 仓储费明细表ID
     * @return 仓储费明细表
     */
    public TWarehouseAgreementitems selectTWarehouseAgreementitemsById(Long fId);

    /**
     * 查询仓储费明细表列表
     *
     * @param tWarehouseAgreementitems 仓储费明细表
     * @return 仓储费明细表集合
     */
    public List<TWarehouseAgreementitems> selectTWarehouseAgreementitemsList(TWarehouseAgreementitems tWarehouseAgreementitems);
    public List<Map<String, Object>> selectTWarehouseAgreementitemsList1(TWarehouseAgreementitems tWarehouseAgreementitems);
    public List<Map<String, Object>> selectTWarehouseAgreementitemList(TWarehouseAgreementitem tWarehouseAgreementitem);

    /**
     * 新增仓储费明细表
     *
     * @param tWarehouseAgreementitems 仓储费明细表
     * @return 结果
     */
    public int insertTWarehouseAgreementitems(TWarehouseAgreementitems tWarehouseAgreementitems);

    /**
     * 修改仓储费明细表
     *
     * @param tWarehouseAgreementitems 仓储费明细表
     * @return 结果
     */
    public int updateTWarehouseAgreementitems(TWarehouseAgreementitems tWarehouseAgreementitems);

    /**
     * 批量删除仓储费明细表
     *
     * @param fIds 需要删除的仓储费明细表ID
     * @return 结果
     */
    public int deleteTWarehouseAgreementitemsByIds(Long[] fIds);

    /**
     * 删除仓储费明细表信息
     *
     * @param fId 仓储费明细表ID
     * @return 结果
     */
    public int deleteTWarehouseAgreementitemsById(Long fId);
}
