|
|
@ -698,12 +698,11 @@ create_by,create_date,update_by,update_date |
|
|
a.upc,a.so,a.origin,a.pallet_weight,a.material,a.hs_code,a.packaging,a.kgs,a.shipping_mark, |
|
|
a.upc,a.so,a.origin,a.pallet_weight,a.material,a.hs_code,a.packaging,a.kgs,a.shipping_mark, |
|
|
a.hsCodeDesc,a.contractFlag,a.hsCodeDescType,a.goodsLabel,a.boxChange,noHeader.customer_name as customName, |
|
|
a.hsCodeDesc,a.contractFlag,a.hsCodeDescType,a.goodsLabel,a.boxChange,noHeader.customer_name as customName, |
|
|
noHeader.destination |
|
|
noHeader.destination |
|
|
|
|
|
|
|
|
from ecss_declaration_header a |
|
|
from ecss_declaration_header a |
|
|
left join ecss_CoDelNotifyHeader noHeader on a.site=noHeader.site and a.delNo=noHeader.delNo |
|
|
|
|
|
|
|
|
left join ecss_CoDelNotifyHeader noHeader on a.site=noHeader.site and a.delNo=noHeader.delNo |
|
|
|
|
|
left join accessBu D on noHeader.site=D.site and noHeader.bu_no=d.bu_no and D.username=#{query.username} |
|
|
<where> |
|
|
<where> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and D.site is not null |
|
|
<if test="query.delNo != null and query.delNo != ''"> |
|
|
<if test="query.delNo != null and query.delNo != ''"> |
|
|
AND a.delNo like #{query.delNo} |
|
|
AND a.delNo like #{query.delNo} |
|
|
</if> |
|
|
</if> |
|
|
|