package com.sckw.car.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.car.entity.KwCarWaybillOrder;
import com.sckw.car.entity.res.KwOrderWaybillDetailRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@TableName("kw_waybill_order")
public interface KwCarWaybillOrderMapper extends BaseMapper<KwCarWaybillOrder> {

    KwOrderWaybillDetailRes selectWaybillDetailById(String orderId);

    void insertBatch(@Param(value = "list") List<KwCarWaybillOrder> list);
}
