oms与bms修改

This commit is contained in:
赵辉
2026-04-17 09:29:27 +08:00
parent 4ca0f10e61
commit 3d4907f49c
12 changed files with 67 additions and 8 deletions
@@ -144,8 +144,14 @@
a.tracking_number,
a.apply_number,
a.company_name as companyName,
b.bill_number as billNumber,
b.bill_manage_id as billManageId,
-- b.bill_number as billNumber,
-- b.bill_manage_id as billManageId,
(SELECT LISTAGG(bill_number, ', ') WITHIN GROUP (ORDER BY bill_number)
FROM BILL_MANAGE b_sub
WHERE b_sub.apply_number = a.apply_number) as billNumber,
(SELECT LISTAGG(bill_manage_id, ', ') WITHIN GROUP (ORDER BY bill_manage_id)
FROM BILL_MANAGE b_sub
WHERE b_sub.apply_number = a.apply_number) as billManageId,
a.SETTLEMENT_CURRENCY as settlementCurrency,
a.organization_id AS organizationId,
a.organization_name AS organizationName,