Browse Source

自提单列表查询这展示运单收货人、收货电话修复

pull/8/head
汤建军 10 months ago
parent
commit
90a4f7e0ee
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml

@ -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;

Loading…
Cancel
Save