Browse Source

只能看到授权的BU的报关单

master
han\hanst 2 months ago
parent
commit
6319a9f3af
  1. 5
      src/main/resources/mapper/ecss/CoDelMapper.xml

5
src/main/resources/mapper/ecss/CoDelMapper.xml

@ -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.hsCodeDesc,a.contractFlag,a.hsCodeDescType,a.goodsLabel,a.boxChange,noHeader.customer_name as customName,
noHeader.destination
from ecss_declaration_header a
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>
and D.site is not null
<if test="query.delNo != null and query.delNo != ''">
AND a.delNo like #{query.delNo}
</if>

Loading…
Cancel
Save