package com.sckw.usual.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.usual.entity.KwOrderCarWaybillDisAddress;
import com.sckw.usual.entity.KwWaybillOrderAddress;
import com.sckw.usual.entity.req.waybill.SendCarEntrustDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface KwOrderCarWaybillDisAddressMapper extends BaseMapper<KwOrderCarWaybillDisAddress> {

    List<KwOrderCarWaybillDisAddress> findByAddressByOrderId(Long waybillId);

    List<KwOrderCarWaybillDisAddress> findByAddressByWaybillIds(List<Long> waybillIds);

}
