package com.sckw.transport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.transport.model.KwtLogisticsOrderLineFreightRate;
import com.sckw.transport.model.vo.LineFreightRateVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zk
 * @desc 物流订单-线路运价信息
 * @date 2024/3/1 0001
 */
@Mapper
public interface KwtLogisticsOrderLineFreightRateMapper extends BaseMapper<KwtLogisticsOrderLineFreightRate> {
    /**
     * 订单id 获取线路信息
     * @param orderId
     * @return
     */
    List<LineFreightRateVo> selectListByOrderId(@Param("orderId") Long orderId);

    /**
     * 订单id 获取线路信息
     * @return
     */
    List<KwtLogisticsOrderLineFreightRate> selectListByOrderIdList(@Param("list") List<Long> orderIdList);
}
