|
@@ -6,9 +6,9 @@
|
|
|
<select id="querySyPreAssembledPackingList" resultType="org.jeecg.modules.documents.letterDeposit.entity.VO.SyPreAssembledPackingListVo">
|
|
|
|
|
|
select a.document_No as documentNo,a.id as id,GROUP_CONCAT(b.id) as itemId,a.item_number as itemNumber,b.hod as preDeliveryDate ,b.inventory_name as inventoryName,b.po_no as poNo,b.distribution_point as distributionPoint,
|
|
|
-a.memo,a.customer,b.colour,sum(b.box_number) as boxNumber,b.ac_set_no as acSetNo,sum(b.total) as total,a.customer_abbreviation as customerAbbreviation,
|
|
|
-sum(b.total_net_weight) as totalNetWeight,a.order_type as orderType,b.plan_Quantity as totalQuantity,b.small_po as smallPo,b.unit_price as unitPrice,
|
|
|
-sum(b.total_gross_weight) as totalGrossWeight,sum(b.total_volume) as totalVolume,sum(b.total_price) as totalPrice,b.factory_unit_price as factoryUnitPrice,
|
|
|
+a.memo,a.customer,b.colour,a.total_Boxes as boxNumber,b.ac_set_no as acSetNo,a.total as total,a.customer_abbreviation as customerAbbreviation,
|
|
|
+a.total_Net_Weight as totalNetWeight,a.order_type as orderType,b.plan_Quantity as totalQuantity,b.small_po as smallPo,b.unit_price as unitPrice,
|
|
|
+a.total_Gross_Weight as totalGrossWeight,a.total_Volume as totalVolume,a.total_Price as totalPrice,b.factory_unit_price as factoryUnitPrice,
|
|
|
a.depositary_receipt_no as depositaryReceiptNo,a.spur_Or_Sub_Order as spurOrSubOrder,sum(b.pieces_box) as piecesBox,b.size,a.order_number as orderNumber,
|
|
|
b.starting_box_number as startingBoxNumber,b.end_case_number as endCaseNumber,b.outer_box_length as outerBoxLength,b.outer_box_width as outerBoxWidth,b.outer_box_height as outerBoxHeight,
|
|
|
b.garment_factory as garmentFactory,b.hod as hod,b.style_no as styleNo,b.prepack_sku as prepackSku,b.supplier as supplier,
|