|
|
@ -933,7 +933,7 @@ create_by,create_date,update_by,update_date |
|
|
<select id="exportEcssCoDelNotifyDetail" resultType="java.util.Map"> |
|
|
<select id="exportEcssCoDelNotifyDetail" resultType="java.util.Map"> |
|
|
select a.customerPO,a.part_no,a.part_description,LEFT(a.currency, 3) as currency, |
|
|
select a.customerPO,a.part_no,a.part_description,LEFT(a.currency, 3) as currency, |
|
|
CONVERT(DECIMAL(20, 0), a.qty) as qty,CONVERT(DECIMAL(20, 6), a.tp) as unitPrice,b.hsCode, |
|
|
CONVERT(DECIMAL(20, 0), a.qty) as qty,CONVERT(DECIMAL(20, 6), a.tp) as unitPrice,b.hsCode, |
|
|
a.upc,a.so,a.ttl_amount,a.pn,b.hsCodeDesc,h.hsCodeDescEn,a.salesOrder,b.umid as unit,b.brand |
|
|
|
|
|
|
|
|
a.upc,a.so,a.ttl_amount,a.pn,b.hsCodeDesc,h.hsCodeDescEn,a.salesOrder,b.umid as unit,b.brand,h.unit as hsUnit |
|
|
from ecss_CoDelNotifydetail a |
|
|
from ecss_CoDelNotifydetail a |
|
|
left join part b on a.site=b.site and a.part_no=b.part_no |
|
|
left join part b on a.site=b.site and a.part_no=b.part_no |
|
|
left join ecss_hsCode h on b.hsCode=h.HsCode and a.site=h.site and b.hsCodeDesc=h.hsCodeDesc |
|
|
left join ecss_hsCode h on b.hsCode=h.HsCode and a.site=h.site and b.hsCodeDesc=h.hsCodeDesc |
|
|
|