package com.ruoyi.warehouseBusiness.mapper;

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

import java.util.List;

/**
 * 凯和箱明细(修改记录)Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-05
 */
public interface TWarehousebillsCntritemsLoggerMapper 
{
    /**
     * 查询凯和箱明细(修改记录)
     * 
     * @param fId 凯和箱明细(修改记录)ID
     * @return 凯和箱明细(修改记录)
     */
    public TWarehousebillsCntritemsLogger selectTWarehousebillsCntritemsLoggerById(Long fId);

    /**
     * 查询凯和箱明细(修改记录)列表
     * 
     * @param tWarehousebillsCntritemsLogger 凯和箱明细(修改记录)
     * @return 凯和箱明细(修改记录)集合
     */
    public List<TWarehousebillsCntritemsLogger> selectTWarehousebillsCntritemsLoggerList(TWarehousebillsCntritemsLogger tWarehousebillsCntritemsLogger);

    /**
     * 新增凯和箱明细(修改记录)
     * 
     * @param tWarehousebillsCntritemsLogger 凯和箱明细(修改记录)
     * @return 结果
     */
    public int insertTWarehousebillsCntritemsLogger(TWarehousebillsCntritemsLogger tWarehousebillsCntritemsLogger);

    /**
     * 修改凯和箱明细(修改记录)
     * 
     * @param tWarehousebillsCntritemsLogger 凯和箱明细(修改记录)
     * @return 结果
     */
    public int updateTWarehousebillsCntritemsLogger(TWarehousebillsCntritemsLogger tWarehousebillsCntritemsLogger);

    /**
     * 删除凯和箱明细(修改记录)
     * 
     * @param fId 凯和箱明细(修改记录)ID
     * @return 结果
     */
    public int deleteTWarehousebillsCntritemsLoggerById(Long fId);

    /**
     * 批量删除凯和箱明细(修改记录)
     * 
     * @param fIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTWarehousebillsCntritemsLoggerByIds(Long[] fIds);

    /**
     * 复制运单变更的运单
     * @param fId
     * @return
     */
    public int copyTwarehousebillsCntritems(@Param("fId") Long fId);
}
