|
|
@ -433,7 +433,7 @@ |
|
|
|
GROUP_CONCAT(DISTINCT ANY_VALUE(ldsa.consignee_person)) AS customerName, |
|
|
|
GROUP_CONCAT(DISTINCT ANY_VALUE(ldsa.consignee_person)) AS customerName, |
|
|
|
GROUP_CONCAT(DISTINCT ANY_VALUE(ldsa.consignee_mobile)) AS customerTelephone |
|
|
|
GROUP_CONCAT(DISTINCT ANY_VALUE(ldsa.consignee_mobile)) AS customerTelephone |
|
|
|
FROM logpm_distrilbution_bill_lading ldbl |
|
|
|
FROM logpm_distrilbution_bill_lading ldbl |
|
|
|
LEFT JOIN logpm_distrilbution_bill_stock ldbs ON ldbl.id = ldbs.bill_lading_id |
|
|
|
LEFT JOIN logpm_distrilbution_bill_stock ldbs ON ldbl.id = ldbs.bill_lading_id AND order_status != '2' |
|
|
|
LEFT JOIN logpm_distribution_stock_article ldsa ON ldbs.stock_article_id = ldsa.id |
|
|
|
LEFT JOIN logpm_distribution_stock_article ldsa ON ldbs.stock_article_id = ldsa.id |
|
|
|
WHERE ldbl.id = #{id} |
|
|
|
WHERE ldbl.id = #{id} |
|
|
|
GROUP BY ldbl.id; |
|
|
|
GROUP BY ldbl.id; |
|
|
|