|
@@ -20,7 +20,7 @@
|
|
|
<!-- 查询装箱单-成衣-->
|
|
|
<select id="queryTailoring" resultType="org.jeecg.modules.documents.syShippingOrder.entity.VO.SyPackingList">
|
|
|
select a.id as id ,GROUP_CONCAT(b.id) as itemId,a.document_No as documentNo,a.order_Number as orderNumber,
|
|
|
-a.item_number as itemNumber,a.customer_abbreviation as customerAbbreviation,b.hod as preDeliveryDate,
|
|
|
+a.item_number as itemNumber,a.customer_abbreviation as customerAbbreviation,b.hod as preDeliveryDate,ac_set_no as acSetNo,
|
|
|
b.small_po as smallPo,b.distribution_point as distributionPoint,b.spur_Or_Sub_Order as purOrSubOrder,
|
|
|
a.total as number,a.total_Boxes as planQuantity,round(a.total_Gross_Weight,2) as grossWeight,round(a.total_Net_Weight,2) as netWeight,
|
|
|
a.total_Volume as totalVolume,a.container_code as containerCode,a.container_number as containerNumber,
|
|
@@ -48,7 +48,7 @@ d.terms_of_deliveryvalue as termsOfDeliveryvalue
|
|
|
|
|
|
select c.hs_code as hsCode,c.declaration_name as declarationName,a.id as id ,GROUP_CONCAT(b.id) as itemId,a.document_No as documentNo,a.create_by as createBy,
|
|
|
a.export_invoice_no as exportInvoiceNo,a.container_number as containerNumber,a.garment_Factory as garmentFactory,
|
|
|
- b.supplier as supplier,a.plumbum_No as plumbumNo,a.customer_abbreviation as customerAbbreviation,
|
|
|
+ b.supplier as supplier,a.plumbum_No as plumbumNo,a.customer_abbreviation as customerAbbreviation,account as acSetNo,
|
|
|
case when b.u8_Pid is null then sum(b.actual_declared_quantity) else sum(b.gross_weight) end as Total,concat(sum(b.actual_declared_quantity),'.00') as number,
|
|
|
sum(b.rolls) as planQuantity,
|
|
|
b.item_Number as itemNumber,b.small_Po as smallPo,round(sum(b.gross_weight),2) as grossWeight,
|
|
@@ -209,4 +209,10 @@ group by order_number
|
|
|
</select>
|
|
|
|
|
|
|
|
|
+
|
|
|
+ <select id="queryU8ventory" resultType="org.jeecg.modules.documents.syShippingOrder.entity.SyShippingOrder">
|
|
|
+
|
|
|
+ select cVenCode as cvencode,cvenName as cvenname from Vendor where bVenService = '1'
|
|
|
+ </select>
|
|
|
+
|
|
|
</mapper>
|