package org.ta.pddserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.ta.pddserver.entity.LogOrderBuyerDetailEntity;

@Mapper
public interface LogOrderBuyerDetailMapper extends BaseMapper<LogOrderBuyerDetailEntity> {

    @Select("SELECT * FROM `log_order_buyer_detail` WHERE `logisticsOrderCode` = #{logisticsOrderCode};")
    LogOrderBuyerDetailEntity findByOrderCode(String logisticsOrderCode);
}
