package com.sckw.usual.mapper;

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

import java.util.List;

@Mapper
public interface KwWaybillOrderAddressMapper extends BaseMapper<KwWaybillOrderAddress> {

    KwWaybillOrderAddress findByAddress(@Param("tOrderId") Long tOrderId, @Param("addressType") Integer addressType);

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