|
|
|
@ -185,7 +185,7 @@
|
|
|
|
|
SELECT |
|
|
|
|
ldsa.order_code orderCode, |
|
|
|
|
ldsa.mall_name mallName, |
|
|
|
|
CONCAT(ldsa.customer_name, COALESCE(' (' || ldsa.customer_telephone || ')', '')) customerName, |
|
|
|
|
CONCAT(ldsa.customer_name, '(', ldsa.customer_telephone, ')') customerName, |
|
|
|
|
GROUP_CONCAT(ldpl.material_name SEPARATOR '、') materialName, |
|
|
|
|
GROUP_CONCAT(ldpl.material_code SEPARATOR '、') materialCode, |
|
|
|
|
GROUP_CONCAT(ldpl.third_product SEPARATOR '、') thirdProduct, |
|
|
|
@ -237,9 +237,7 @@
|
|
|
|
|
ldpl.firsts_code firstsCode, |
|
|
|
|
ldpl.second second, |
|
|
|
|
ldsa.mall_name mallName, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CONCAT(ldsa.customer_name, COALESCE(' (' || ldsa.customer_telephone || ')', '')) customerName, |
|
|
|
|
CONCAT(ldsa.customer_name, '(', ldsa.customer_telephone, ')') customerName, |
|
|
|
|
ldpl.second_code secondCode, |
|
|
|
|
ldpl.third_product thirdProduct, |
|
|
|
|
ldpl.third_code thirdCode, |
|
|
|
@ -366,7 +364,7 @@
|
|
|
|
|
SELECT |
|
|
|
|
ldsa.waybill_number waybillNumber, |
|
|
|
|
ldsa.description_goods descriptionGoods, |
|
|
|
|
CONCAT(ldsa.consignee_person, COALESCE(' (' || ldsa.consignee_mobile || ')', '')) consigneePerson, |
|
|
|
|
CONCAT(ldsa.consignee_person, '(', ldsa.consignee_mobile, ')') consigneePerson, |
|
|
|
|
CONCAT(lwug.position_code, '(', SUM(lwug.num), ')') positionInfo, |
|
|
|
|
GROUP_CONCAT( lwtg.tray_code SEPARATOR ',' ) trayCode, |
|
|
|
|
GROUP_CONCAT( lwug.create_user SEPARATOR ',' ) upUser, |
|
|
|
|