<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.erp.logistics.mapper.WaybillStatusMapper">

    <resultMap id="BaseResultMap" type="com.erp.logistics.entity.WaybillStatus">
        <id column="id" property="id"/>
        <result column="waybill_no" property="waybillNo"/>
        <result column="carrier" property="carrier"/>
        <result column="status" property="status"/>
        <result column="status_label" property="statusLabel"/>
        <result column="location" property="location"/>
        <result column="description" property="description"/>
        <result column="signed_time" property="signedTime"/>
        <result column="last_trace_time" property="lastTraceTime"/>
        <result column="need_sync" property="needSync"/>
        <result column="sync_status" property="syncStatus"/>
        <result column="sync_fail_reason" property="syncFailReason"/>
        <result column="sync_retry_count" property="syncRetryCount"/>
        <result column="order_id" property="orderId"/>
        <result column="order_no" property="orderNo"/>
        <result column="receiver_name" property="receiverName"/>
        <result column="receiver_phone" property="receiverPhone"/>
        <result column="receiver_address" property="receiverAddress"/>
        <result column="deleted" property="deleted"/>
        <result column="created_at" property="createdAt"/>
        <result column="updated_at" property="updatedAt"/>
    </resultMap>

</mapper>
