package com.ruoyi.warehouseBusiness.mapper;


import com.ruoyi.warehouseBusiness.domain.TWarehousebillsModify;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓库费用变更主表Mapper接口
 *
 * @author ruoyi
 * @date 2021-10-27
 */
public interface TWarehousebillsModifyMapper {
    /**
     * 查询仓库主(出入库)
     *
     * @param fId 仓库主(出入库)ID
     * @return 仓库主(出入库)
     */
    public TWarehousebillsModify selectTWarehousebillsModifyById(Long fId);

    /**
     * 查询仓库主(出入库)列表
     *
     * @param tWarehousebillsModify 仓库主(出入库)
     * @return 仓库主(出入库)集合
     */
    public List<TWarehousebillsModify> selectTWarehousebillsModifyList(TWarehousebillsModify tWarehousebillsModify);

    /**
     * 新增仓库主(出入库)
     *
     * @param tWarehousebillsModify 仓库主(出入库)
     * @return 结果
     */
    public int insertTWarehousebillsModify(TWarehousebillsModify tWarehousebillsModify);

    /**
     * 修改仓库主(出入库)
     *
     * @param tWarehousebillsModify 仓库主(出入库)
     * @return 结果
     */
    public int updateTWarehousebillsModify(TWarehousebillsModify tWarehousebillsModify);

    /**
     * 删除仓库主(出入库)
     *
     * @param fId 仓库主(出入库)ID
     * @return 结果
     */
    public int deleteTWarehousebillsModifyById(Long fId);

    /**
     * 批量删除仓库主(出入库)
     *
     * @param fIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTWarehousebillsModifyByIds(List<Long> fIds);

    /**
     * 根据id集合查询对应数据编号
     *
     * @param ids id集合
     * @return
     */
    List<String> selectBillNoByIds(@Param("ids") List<Long> ids);
}
