|
@@ -61,7 +61,7 @@
|
|
|
<select id="cancelOrderToAmountByOrderId" resultType="com.sckw.transport.model.vo.LogisticsOrderCancelAmountVo">
|
|
<select id="cancelOrderToAmountByOrderId" resultType="com.sckw.transport.model.vo.LogisticsOrderCancelAmountVo">
|
|
|
SELECT
|
|
SELECT
|
|
|
a.l_order_id as lOrderId,
|
|
a.l_order_id as lOrderId,
|
|
|
- a.t_address_id AS tOrderId,
|
|
|
|
|
|
|
+ c.t_order_id AS tOrderId,
|
|
|
a.id AS lAddressId,
|
|
a.id AS lAddressId,
|
|
|
a.t_address_id AS tOrderAddressId,
|
|
a.t_address_id AS tOrderAddressId,
|
|
|
b.id as amountId,
|
|
b.id as amountId,
|
|
@@ -69,6 +69,7 @@
|
|
|
FROM
|
|
FROM
|
|
|
kwt_logistics_order_address a
|
|
kwt_logistics_order_address a
|
|
|
LEFT JOIN kwt_logistics_order_amount b ON a.id = b.l_address_id
|
|
LEFT JOIN kwt_logistics_order_amount b ON a.id = b.l_address_id
|
|
|
|
|
+ left join kwt_logistics_order c on a.l_order_id = c.id
|
|
|
WHERE
|
|
WHERE
|
|
|
a.l_order_id = #{orderId}
|
|
a.l_order_id = #{orderId}
|
|
|
<if test="addressType != null">
|
|
<if test="addressType != null">
|