package com.sckw.transport.dao;

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

@Mapper
public interface KwtLogisticsOrderAddressMapper extends BaseMapper<KwtLogisticsOrderAddress> {
//    int deleteByPrimaryKey(Long id);
//
//    int insert(KwtLogisticsOrderAddress record);
//
//    int insertSelective(KwtLogisticsOrderAddress record);
//
//    KwtLogisticsOrderAddress selectByPrimaryKey(Long id);
//
//    int updateByPrimaryKeySelective(KwtLogisticsOrderAddress record);
//
//    int updateByPrimaryKey(KwtLogisticsOrderAddress record);

    /**
     * @param lOrderId 物流订单id
     * @param addressType 地址类型（1装货地址、2卸货地址）
     * @desc 查询物流运单装卸货地址信息
     * @author zk
     * @date 2023/7/20
     **/
    KwtLogisticsOrderAddress findByAddress(@Param("lOrderId") Long lOrderId, @Param("addressType") Integer addressType);
}