Browse Source

模版导出

java8
han\hanst 5 months ago
parent
commit
607e415873
  1. 9
      src/main/resources/mapper/ecss/EcssCommonMapper.xml

9
src/main/resources/mapper/ecss/EcssCommonMapper.xml

@ -42,12 +42,11 @@
</select> </select>
<select id="searchCoDelPalletData" resultType="java.util.Map"> <select id="searchCoDelPalletData" resultType="java.util.Map">
select a.site,a.bu_no,a.delNo,a.seq_no,a.pallet_no,a.pallet_qty,a.[length],a.width,a.height,a.volume,
a.pallet_remark,a.create_by,a.create_date,a.update_by,a.update_date,b.item_no,b.po_no as customerPO,b.part_no,b.qty,
b.box_qty as boxQty,b.rolls,b.pn,a.gross_weight as grossWeight,a.net_weight as netWeight,
select b.po_no as customerPO,b.part_no,b.qty,
a.box_qty as boxQty,b.rolls,b.pn,a.gross_weight as grossWeight,a.net_weight as netWeight,
#{cmcInvoice} as cmcInvoice,#{shippingMode} as shippingMode,#{destination} as destination #{cmcInvoice} as cmcInvoice,#{shippingMode} as shippingMode,#{destination} as destination
from ecss_CoDelPalletHeader a
left join ecss_CoDelPalletDetail b on a.site=b.site and a.bu_no=b.bu_no and a.delNo=b.delNo and a.seq_no=b.seq_no
from ecss_CoDelBoxList a
left join ecss_CoDelPalletDetail b on a.site=b.site and a.bu_no=b.bu_no and a.delNo=b.delNo and a.item_no=b.seq_no
where a.site=#{site} and a.bu_no=#{buNo} and a.delNo=#{delNo} and b.site is not null where a.site=#{site} and a.bu_no=#{buNo} and a.delNo=#{delNo} and b.site is not null
</select> </select>

Loading…
Cancel
Save