|
@@ -38,12 +38,15 @@
|
|
|
sw.update_time,
|
|
|
sw.victoriatourist_json,
|
|
|
lis.logistics_company_code,
|
|
|
- lis.`code` AS logisticsCode
|
|
|
+ lis.`code` AS logisticsCode,
|
|
|
+ pb.detailed_address
|
|
|
FROM
|
|
|
stock_wait sw
|
|
|
LEFT JOIN stock_wait_details swd ON swd.stock_wait_id = sw.id
|
|
|
LEFT JOIN bytesailing_item.product_info pi ON swd.product_id = pi.id
|
|
|
LEFT JOIN bytesailing_victoriatourist.logistics_infos lis ON lis.business_id = CAST( json_unquote( sw.victoriatourist_json -> '$.deliverGoodsId' ) AS UNSIGNED )
|
|
|
+ LEFT JOIN bytesailing_victoriatourist.purchase_back pb ON sw.business_id = pb.id
|
|
|
+ AND pb.del_flag = 0
|
|
|
${ew.customSqlSegment}
|
|
|
</select>
|
|
|
<select id="getStockWaitList" resultType="com.fjhx.wms.entity.stock.vo.StockWaitDetailsVo">
|