|
|
|
@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="destPostcode" column="dest_postcode" />
|
|
|
|
|
<result property="warehouseCode" column="warehouse_code" />
|
|
|
|
|
<result property="orderTime" column="order_time" />
|
|
|
|
|
<result property="pickupDate" column="pickup_date" />
|
|
|
|
|
<result property="orderRemark" column="order_remark" />
|
|
|
|
|
<result property="productCode" column="product_code" />
|
|
|
|
|
<result property="productName" column="product_name" />
|
|
|
|
@@ -81,7 +82,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap type="PrcOrderBill" id="PrcOrderBillArSourceResult" extends="PrcOrderBillResult">
|
|
|
|
|
<result property="pickupDate" column="pickup_date"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectPrcOrderBillVo">
|
|
|
|
@@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
belong_saler, belong_saler_code, settlement_man, settlement_man_code, service_man, service_man_code,
|
|
|
|
|
customer_id, customer_code, customer_name,
|
|
|
|
|
pieces, actual_weight, receive_weight, volume, volume_weight, pkg_length, pkg_width, pkg_height,
|
|
|
|
|
shipper_name, consignee_name, dest_postcode, warehouse_code, order_time, order_remark,
|
|
|
|
|
shipper_name, consignee_name, dest_postcode, warehouse_code, order_time, pickup_date, order_remark,
|
|
|
|
|
product_code, product_name, country_code, country_name, weight, biz_date, tms_id,
|
|
|
|
|
match_source, match_message, price_set_id, price_set_code, price_set_name,
|
|
|
|
|
set_type, bind_priority, customer_priceset_id, psv_id, psd_id, product_country_id,
|
|
|
|
@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
p.belong_saler, p.belong_saler_code, p.settlement_man, p.settlement_man_code, p.service_man, p.service_man_code,
|
|
|
|
|
p.customer_id, p.customer_code, p.customer_name,
|
|
|
|
|
p.pieces, p.actual_weight, p.receive_weight, p.volume, p.volume_weight, p.pkg_length, p.pkg_width, p.pkg_height,
|
|
|
|
|
p.shipper_name, p.consignee_name, p.dest_postcode, p.warehouse_code, p.order_time, o.pickup_date, p.order_remark,
|
|
|
|
|
p.shipper_name, p.consignee_name, p.dest_postcode, p.warehouse_code, p.order_time, p.pickup_date, p.order_remark,
|
|
|
|
|
p.product_code, p.product_name, p.country_code, p.country_name, p.weight, p.biz_date, p.tms_id,
|
|
|
|
|
p.match_source, p.match_message, p.price_set_id, p.price_set_code, p.price_set_name,
|
|
|
|
|
p.set_type, p.bind_priority, p.customer_priceset_id, p.psv_id, p.psd_id, p.product_country_id,
|
|
|
|
@@ -122,7 +122,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
p.customer_active_status, p.credit_arrears_status, p.refund_status, p.billing_fail_status, p.round_mode,
|
|
|
|
|
p.created_by, p.create_time, p.updated_by, p.update_time
|
|
|
|
|
from prc_order_bill p
|
|
|
|
|
left join prc_order o on o.order_id = p.order_id
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectPrcOrderBillByOrderNo" parameterType="String" resultMap="PrcOrderBillResult">
|
|
|
|
@@ -545,7 +544,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
belong_saler, belong_saler_code, settlement_man, settlement_man_code, service_man, service_man_code,
|
|
|
|
|
customer_id, customer_code, customer_name,
|
|
|
|
|
pieces, actual_weight, receive_weight, volume, volume_weight, pkg_length, pkg_width, pkg_height,
|
|
|
|
|
shipper_name, consignee_name, dest_postcode, warehouse_code, order_time, order_remark,
|
|
|
|
|
shipper_name, consignee_name, dest_postcode, warehouse_code, order_time, pickup_date, order_remark,
|
|
|
|
|
product_code, product_name, country_code, country_name, weight, biz_date, tms_id,
|
|
|
|
|
match_source, match_message, price_set_id, price_set_code, price_set_name,
|
|
|
|
|
set_type, bind_priority, customer_priceset_id, psv_id, psd_id, product_country_id,
|
|
|
|
@@ -559,7 +558,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
#{belongSaler}, #{belongSalerCode}, #{settlementMan}, #{settlementManCode}, #{serviceMan}, #{serviceManCode},
|
|
|
|
|
#{customerId}, #{customerCode}, #{customerName},
|
|
|
|
|
#{pieces}, #{actualWeight}, #{receiveWeight}, #{volume}, #{volumeWeight}, #{pkgLength}, #{pkgWidth}, #{pkgHeight},
|
|
|
|
|
#{shipperName}, #{consigneeName}, #{destPostcode}, #{warehouseCode}, #{orderTime}, #{orderRemark},
|
|
|
|
|
#{shipperName}, #{consigneeName}, #{destPostcode}, #{warehouseCode}, #{orderTime}, #{pickupDate}, #{orderRemark},
|
|
|
|
|
#{productCode}, #{productName}, #{countryCode}, #{countryName}, #{weight}, #{bizDate}, #{tmsId},
|
|
|
|
|
#{matchSource}, #{matchMessage}, #{priceSetId}, #{priceSetCode}, #{priceSetName},
|
|
|
|
|
#{setType}, #{bindPriority}, #{customerPricesetId}, #{psvId}, #{psdId}, #{productCountryId},
|
|
|
|
@@ -599,6 +598,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
dest_postcode = #{destPostcode},
|
|
|
|
|
warehouse_code = #{warehouseCode},
|
|
|
|
|
order_time = #{orderTime},
|
|
|
|
|
pickup_date = #{pickupDate},
|
|
|
|
|
order_remark = #{orderRemark},
|
|
|
|
|
product_code = #{productCode},
|
|
|
|
|
product_name = #{productName},
|
|
|
|
|