package com.ruoyi.warehouseBusiness.mapper;

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

import java.util.List;

/**
 * 凯和订单从(修改记录)Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-05
 */
public interface TWarehousebillsCntrLoggerMapper 
{
    /**
     * 查询凯和订单从(修改记录)
     * 
     * @param fId 凯和订单从(修改记录)ID
     * @return 凯和订单从(修改记录)
     */
    public TWarehousebillsCntrLogger selectTWarehousebillsCntrLoggerById(Long fId);

    /**
     * 查询凯和订单从(修改记录)列表
     * 
     * @param tWarehousebillsCntrLogger 凯和订单从(修改记录)
     * @return 凯和订单从(修改记录)集合
     */
    public List<TWarehousebillsCntrLogger> selectTWarehousebillsCntrLoggerList(TWarehousebillsCntrLogger tWarehousebillsCntrLogger);

    /**
     * 新增凯和订单从(修改记录)
     * 
     * @param tWarehousebillsCntrLogger 凯和订单从(修改记录)
     * @return 结果
     */
    public int insertTWarehousebillsCntrLogger(TWarehousebillsCntrLogger tWarehousebillsCntrLogger);

    /**
     * 修改凯和订单从(修改记录)
     * 
     * @param tWarehousebillsCntrLogger 凯和订单从(修改记录)
     * @return 结果
     */
    public int updateTWarehousebillsCntrLogger(TWarehousebillsCntrLogger tWarehousebillsCntrLogger);

    /**
     * 删除凯和订单从(修改记录)
     * 
     * @param fId 凯和订单从(修改记录)ID
     * @return 结果
     */
    public int deleteTWarehousebillsCntrLoggerById(Long fId);

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

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