This commit is contained in:
2026-09-14 15:53:49 +08:00
parent f9fa859391
commit 99f2c730e0
6 changed files with 11 additions and 11 deletions
@@ -207,8 +207,8 @@ public interface DropshipPalletizationMapper {
@Select("""
SELECT c.tenant_id,c.inbound_id,o.inbound_code,
CASE REPLACE(UPPER(COALESCE(o.destination_code,'')),'.','')
WHEN 'NJDF' THEN '纽约 NJDF'
WHEN 'CADF' THEN '洛杉矶 CADF'
WHEN 'NJDF' THEN 'NJDF'
WHEN 'CADF' THEN 'CADF'
ELSE REPLACE(COALESCE(NULLIF(o.destination_name,''),NULLIF(o.destination_code,''),'—'),'.','')
END destination_warehouse,
COUNT(DISTINCT c.id) carton_count,
@@ -222,8 +222,8 @@ public interface DropshipPalletizationMapper {
UNION ALL
SELECT p.tenant_id,p.inbound_id,o.inbound_code,
CASE REPLACE(UPPER(COALESCE(o.destination_code,'')),'.','')
WHEN 'NJDF' THEN '纽约 NJDF'
WHEN 'CADF' THEN '洛杉矶 CADF'
WHEN 'NJDF' THEN 'NJDF'
WHEN 'CADF' THEN 'CADF'
ELSE REPLACE(COALESCE(NULLIF(o.destination_name,''),NULLIF(o.destination_code,''),'—'),'.','')
END destination_warehouse,
0 carton_count,0 item_quantity