AmazonOrderMapper.xml 5.0 KB
<?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.aukey.example.mapper.fbaStock.AmazonOrderMapper">
  <resultMap id="BaseResultMap" type="com.aukey.example.entity.fbaStock.AmazonOrder">
    <!--
      WARNING - @mbg.generated
    -->
    <id column="aid" jdbcType="INTEGER" property="aid" />
    <result column="amazon_order_id" jdbcType="VARCHAR" property="amazonOrderId" />
    <result column="seller_order_id" jdbcType="VARCHAR" property="sellerOrderId" />
    <result column="purchase_date" jdbcType="TIMESTAMP" property="purchaseDate" />
    <result column="payments_date" jdbcType="TIMESTAMP" property="paymentsDate" />
    <result column="last_update_date" jdbcType="TIMESTAMP" property="lastUpdateDate" />
    <result column="order_status" jdbcType="VARCHAR" property="orderStatus" />
    <result column="fulfillment_channel" jdbcType="VARCHAR" property="fulfillmentChannel" />
    <result column="sales_channel" jdbcType="VARCHAR" property="salesChannel" />
    <result column="ship_service_level" jdbcType="VARCHAR" property="shipServiceLevel" />
    <result column="shipping_address_city" jdbcType="VARCHAR" property="shippingAddressCity" />
    <result column="shipping_address_county" jdbcType="VARCHAR" property="shippingAddressCounty" />
    <result column="shipping_address_district" jdbcType="VARCHAR" property="shippingAddressDistrict" />
    <result column="shipping_address_stateOrRegion" jdbcType="VARCHAR" property="shippingAddressStateorregion" />
    <result column="shipping_address_postalCode" jdbcType="VARCHAR" property="shippingAddressPostalcode" />
    <result column="shipping_address_countryCode" jdbcType="VARCHAR" property="shippingAddressCountrycode" />
    <result column="shipping_address_phone" jdbcType="VARCHAR" property="shippingAddressPhone" />
    <result column="order_total_currency_code" jdbcType="VARCHAR" property="orderTotalCurrencyCode" />
    <result column="order_total_amount" jdbcType="DOUBLE" property="orderTotalAmount" />
    <result column="postage_total" jdbcType="DOUBLE" property="postageTotal" />
    <result column="discount_total" jdbcType="DOUBLE" property="discountTotal" />
    <result column="number_of_items_shipped" jdbcType="INTEGER" property="numberOfItemsShipped" />
    <result column="number_of_items_unshipped" jdbcType="INTEGER" property="numberOfItemsUnshipped" />
    <result column="payment_method" jdbcType="VARCHAR" property="paymentMethod" />
    <result column="marketplace_id" jdbcType="VARCHAR" property="marketplaceId" />
    <result column="buyer_email" jdbcType="VARCHAR" property="buyerEmail" />
    <result column="buyer_name" jdbcType="VARCHAR" property="buyerName" />
    <result column="shipment_service_level_category" jdbcType="VARCHAR" property="shipmentServiceLevelCategory" />
    <result column="shipped_by_amazon_tfm" jdbcType="CHAR" property="shippedByAmazonTfm" />
    <result column="tfm_shipment_status" jdbcType="VARCHAR" property="tfmShipmentStatus" />
    <result column="cba_displayable_shipping_label" jdbcType="VARCHAR" property="cbaDisplayableShippingLabel" />
    <result column="order_type" jdbcType="VARCHAR" property="orderType" />
    <result column="earliest_ship_date" jdbcType="TIMESTAMP" property="earliestShipDate" />
    <result column="latest_ship_date" jdbcType="TIMESTAMP" property="latestShipDate" />
    <result column="earliest_delivery_date" jdbcType="TIMESTAMP" property="earliestDeliveryDate" />
    <result column="latest_delivery_date" jdbcType="TIMESTAMP" property="latestDeliveryDate" />
    <result column="is_business_order" jdbcType="CHAR" property="isBusinessOrder" />
    <result column="purchase_order_number" jdbcType="VARCHAR" property="purchaseOrderNumber" />
    <result column="is_prime" jdbcType="CHAR" property="isPrime" />
    <result column="is_premium_order" jdbcType="CHAR" property="isPremiumOrder" />
    <result column="is_import_ed" jdbcType="CHAR" property="isImportEd" />
    <result column="import_ed_date" jdbcType="TIMESTAMP" property="importEdDate" />
    <result column="import_sys_date" jdbcType="TIMESTAMP" property="importSysDate" />
    <result column="account_id" jdbcType="INTEGER" property="accountId" />
    <result column="account_code" jdbcType="VARCHAR" property="accountCode" />
    <result column="area_id" jdbcType="INTEGER" property="areaId" />
    <result column="area" jdbcType="VARCHAR" property="area" />
    <result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
    <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" />
    <result column="order_item_status" jdbcType="VARCHAR" property="orderItemStatus" />
    <result column="shipping_address_name" jdbcType="BLOB" property="shippingAddressName" />
    <result column="shipping_address_line1" jdbcType="BLOB" property="shippingAddressLine1" />
    <result column="shipping_address_line2" jdbcType="BLOB" property="shippingAddressLine2" />
    <result column="shipping_address_line3" jdbcType="BLOB" property="shippingAddressLine3" />
  </resultMap>
</mapper>